Asana: Time tracking entries schemas
13 Asana schemas with complete fields and constraints.
← Time tracking entries operations · All schemas
Create a time tracking entry — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
duration_minutes | integer | Optional | Time in minutes tracked by the entry. Must be greater than 0 |
entered_on | string | Optional | *Optional*. The day that this entry is logged on. Defaults to today if not specified Format: date |
attributable_to | string | Optional | *Optional*. The gid of the project which the time is attributable to. |
assignee | string | Optional | *Optional*. The gid of the user this entry's logged time is attributed to. Defaults to the current user; can only be set to another user if you're their time reviewer or an admin. Reviewer-submitter relationships require the Timesheets and Budgets add-on. |
billable_status | string | Optional | *Optional*. The current billable status of the entry. This field requires the Timesheets and Budgets add-on; including it without the add-on returns a `402 Payment Required` error. One of: billable, nonBillable, notApplicable |
description | string | Optional | *Optional*. The description of the entry. This field requires the Timesheets and Budgets add-on; including it without the add-on returns a `402 Payment Required` error. |
categories | array | Optional | *Optional*. The gids of time tracking categories to assign to this time tracking entry. Existing categories will be overridden. Currently limited to a maximum of 1 category. This field requires the Timesheets and Budgets add-on; including it without the add-on returns a `402 Payment Required` error. |
categories[] | string | Each item |
Get a time tracking entry — request body — query
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
opt_pretty | boolean | Optional | |
opt_fields | array | Optional | |
opt_fields[] | string | Each item | One of: approval_status, assignee, assignee.name, attributable_to, attributable_to.name, attributable_to.resource_subtype, billable_status, categories, categories.color, categories.name, created_at, created_by, created_by.name, description, duration_minutes, entered_on, task, task.created_by, task.name, task.resource_subtype |
Get a time tracking entry — response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Get a time tracking entry — response body — data data — sdk__Time Tracking Entry Base |
Referenced models: Get a time tracking entry — response body — data data — sdk__Time Tracking Entry Base
Get a time tracking entry — response body — data data assignee
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks.A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. The user this entry's logged time is attributed to. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | *Read-only except when same user as requester*. The user's name. |
Get a time tracking entry — response body — data data attributable to
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *project* represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions.A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *project* represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions. The attributable to project specifies which project's budget a time entry should be counted toward, if the task belongs to more than one project. If it only belongs to one project, it should be that project. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |
resource_subtype | string | Optional | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. Known values: default_project, custom |
Get a time tracking entry — response body — data data categories item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *time tracking category* is a label that can be assigned to time tracking entries. Categories are workspace-scoped and allow users to classify logged time (e.g., 'Development', 'Meetings'). |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | The name of the time tracking category. |
color | string | Optional | The color associated with this category for display purposes. Known values: none, red, orange, yellow-orange, yellow, yellow-green, green, blue-green, aqua, blue, indigo, purple, magenta, hot-pink, pink, cool-gray |
Get a time tracking entry — response body — data data created by
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks.A generic Asana Resource, containing a globally unique identifier.A generic Asana Resource, containing a globally unique identifier. A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. User that created a time tracking entry. Read only: true |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
name | string | Optional | *Read-only except when same user as requester*. The user's name. |
Get a time tracking entry — response body — data data — Time Tracking Entry Base
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (allOf 1) | Model | All variants apply | Expand Get multiple time tracking entries — response body — data, next page data item — Time Tracking Entry Compact |
$ (allOf 2) | object | All variants apply | |
$ (allOf 2).task | Model | Optional | Expand Search tasks in a workspace — response body — data data item Read only: true |
$ (allOf 2).created_at | string | Optional | The time at which this resource was created. Format: date-time Read only: true |
$ (allOf 2).approval_status | string | Optional | *Optional*. The current approval status of the entry. Known values: DRAFT, SUBMITTED, APPROVED, REJECTED Read only: true |
$ (allOf 2).billable_status | string | Optional | *Optional*. The current billable status of the entry. Known values: billable, nonBillable, notApplicable Read only: true |
$ (allOf 2).description | string | Optional | *Optional*. The description of the entry. Read only: true |
Referenced models: Search tasks in a workspace — response body — data data item, Get multiple time tracking entries — response body — data, next page data item — Time Tracking Entry Compact
Get a time tracking entry — response body — data data — sdk__Time Tracking Entry Base
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
duration_minutes | JSON | Optional | |
duration_minutes (anyOf 1) | integer | Alternative | Time in minutes tracked by the entry. |
duration_minutes (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
entered_on | string | Optional | The day that this entry is logged on. Format: date |
attributable_to | Model | Optional | Expand Get a time tracking entry — response body — data data attributable to |
assignee | Model | Optional | Expand Get a time tracking entry — response body — data data assignee |
created_by | Model | Optional | Expand Get a time tracking entry — response body — data data created by |
categories | array | Optional | The categories linked to this time tracking entry. Read only: true |
categories[] | Model | Each item | Expand Get a time tracking entry — response body — data data categories item |
task | Model | Optional | Expand Get a story — response body — data data task |
created_at | string | Optional | The time at which this resource was created. Format: date-time Read only: true |
approval_status | string | Optional | *Optional*. The current approval status of the entry. Known values: DRAFT, SUBMITTED, APPROVED, REJECTED Read only: true |
billable_status | string | Optional | *Optional*. The current billable status of the entry. Known values: billable, nonBillable, notApplicable Read only: true |
description | string | Optional | *Optional*. The description of the entry. Read only: true |
Referenced models: Get a time tracking entry — response body — data data assignee, Get a time tracking entry — response body — data data attributable to, Get a time tracking entry — response body — data data categories item, Get a time tracking entry — response body — data data created by, Get a story — response body — data data task
Get multiple time tracking entries — response body — data, next page
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | array | Required within parent | |
data[] | Model | Each item | Expand Get multiple time tracking entries — response body — data, next page data item — sdk__Time Tracking Entry Compact |
next_page | Model | Optional | Expand Get goals — response body — data, next page next page |
Referenced models: Get goals — response body — data, next page next page, Get multiple time tracking entries — response body — data, next page data item — sdk__Time Tracking Entry Compact
Get multiple time tracking entries — response body — data, next page data item — Time Tracking Entry Compact
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
duration_minutes | JSON | Optional | |
duration_minutes (anyOf 1) | integer | Alternative | Time in minutes tracked by the entry. |
duration_minutes (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
entered_on | string | Optional | The day that this entry is logged on. Format: date |
attributable_to | JSON | Optional | |
attributable_to (allOf 1) | Model | All variants apply | Expand Search projects in a workspace — response body — data data item |
attributable_to (allOf 2) | object | All variants apply | The attributable to project specifies which project's budget a time entry should be counted toward, if the task belongs to more than one project. If it only belongs to one project, it should be that project. |
assignee | JSON | Optional | |
assignee (allOf 1) | Model | All variants apply | Expand Get users in a team — response body — data data item |
assignee (allOf 2) | object | All variants apply | The user this entry's logged time is attributed to. |
created_by | JSON | Optional | |
created_by (allOf 1) | Model | All variants apply | Expand Get users in a team — response body — data data item |
created_by (allOf 2) | object | All variants apply | User that created a time tracking entry. Read only: true |
categories | array | Optional | <p><strong style={{ color: "#4573D2" }}>Full object requires scope: </strong><code>time_tracking_categories:read</code></p> The categories linked to this time tracking entry. Read only: true |
categories[] | Model | Each item | Expand Get time tracking categories for a workspace — response body — data, next page data item |
Referenced models: Search projects in a workspace — response body — data data item, Get time tracking categories for a workspace — response body — data, next page data item, Get users in a team — response body — data data item
Get multiple time tracking entries — response body — data, next page data item — sdk__Time Tracking Entry Compact
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A generic Asana Resource, containing a globally unique identifier. |
gid | string | Optional | Globally unique identifier of the resource, as a string. Read only: true |
resource_type | string | Optional | The base type of this resource. Read only: true |
duration_minutes | JSON | Optional | |
duration_minutes (anyOf 1) | integer | Alternative | Time in minutes tracked by the entry. |
duration_minutes (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
entered_on | string | Optional | The day that this entry is logged on. Format: date |
attributable_to | Model | Optional | Expand Get a time tracking entry — response body — data data attributable to |
assignee | Model | Optional | Expand Get a time tracking entry — response body — data data assignee |
created_by | Model | Optional | Expand Get a time tracking entry — response body — data data created by |
categories | array | Optional | The categories linked to this time tracking entry. Read only: true |
categories[] | Model | Each item | Expand Get a time tracking entry — response body — data data categories item |
Referenced models: Get a time tracking entry — response body — data data assignee, Get a time tracking entry — response body — data data attributable to, Get a time tracking entry — response body — data data categories item, Get a time tracking entry — response body — data data created by
Update a time tracking entry — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
duration_minutes | integer | Optional | *Optional*. Time in minutes tracked by the entry |
entered_on | string | Optional | *Optional*. The day that this entry is logged on. Defaults to today if no day specified Format: date |
attributable_to | string | Optional | *Optional*. The gid of the project which the time is attributable to. |
assignee | string | Optional | *Optional*. The gid of the user which the time is attributed to. |
billable_status | string | Optional | *Optional*. The current billable status of the entry. This field requires the Timesheets and Budgets add-on; including it without the add-on returns a `402 Payment Required` error. One of: billable, nonBillable, notApplicable |
description | string | Optional | *Optional*. The description of the entry. This field requires the Timesheets and Budgets add-on; including it without the add-on returns a `402 Payment Required` error. |
categories | array | Optional | *Optional*. The gids of time tracking categories to assign to this time tracking entry. Existing categories will be overridden. Currently limited to a maximum of 1 category. This field requires the Timesheets and Budgets add-on; including it without the add-on returns a `402 Payment Required` error. |
categories[] | string | Each item |