Skip to main content

Asana full reference

This is the full reference documentation for the Asana agent connector.

Supported entities and actions

The Asana connector supports the following entities and actions.

EntityActions
TasksList, Get, Search
Project TasksList
Workspace Task SearchList
ProjectsList, Get, Search
Task ProjectsList
Team ProjectsList
Workspace ProjectsList
WorkspacesList, Get, Search
UsersList, Get, Search
Workspace UsersList
Team UsersList
TeamsGet, Search
Workspace TeamsList
User TeamsList
AttachmentsList, Get, Download, Search
Workspace TagsList
TagsGet, Search
Project SectionsList
SectionsGet, Search
Task SubtasksList
Task DependenciesList
Task DependentsList

Tasks

Tasks List

Returns a paginated list of tasks. Must include either a project OR a section OR a workspace AND assignee parameter.

Python SDK

await asana.tasks.list()

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tasks",
"action": "list"
}'

Parameters

Parameter NameTypeRequiredDescription
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
projectstringNoThe project to filter tasks on
workspacestringNoThe workspace to filter tasks on
sectionstringNoThe workspace to filter tasks on
assigneestringNoThe assignee to filter tasks on
completed_sincestringNoOnly return tasks that have been completed since this time
modified_sincestringNoOnly return tasks that have been completed since this time
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_byobject

Meta

Field NameTypeDescription
next_pageobject | null

Tasks Get

Get a single task by its ID

Python SDK

await asana.tasks.get(
task_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tasks",
"action": "get",
"params": {
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
task_gidstringYesTask GID
Response Schema

Records

Field NameTypeDescription
gidstring

Search and filter tasks records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.tasks.search(
query={"filter": {"eq": {"actual_time_minutes": 0}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tasks",
"action": "search",
"params": {
"query": {"filter": {"eq": {"actual_time_minutes": 0}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
actual_time_minutesintegerThe actual time spent on the task in minutes
approval_statusstring
assigneeobject
completedboolean
completed_atstring
completed_byobject
created_atstring
custom_fieldsarray
dependenciesarray
dependentsarray
due_atstring
due_onstring
externalobject
followersarray
gidstring
heartedboolean
heartsarray
html_notesstring
is_rendered_as_separatorboolean
likedboolean
likesarray
membershipsarray
modified_atstring
namestring
notesstring
num_heartsinteger
num_likesinteger
num_subtasksinteger
parentobject
permalink_urlstring
projectsarray
resource_subtypestring
resource_typestring
start_onstring
tagsarray
workspaceobject
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.actual_time_minutesintegerThe actual time spent on the task in minutes
hits[].data.approval_statusstring
hits[].data.assigneeobject
hits[].data.completedboolean
hits[].data.completed_atstring
hits[].data.completed_byobject
hits[].data.created_atstring
hits[].data.custom_fieldsarray
hits[].data.dependenciesarray
hits[].data.dependentsarray
hits[].data.due_atstring
hits[].data.due_onstring
hits[].data.externalobject
hits[].data.followersarray
hits[].data.gidstring
hits[].data.heartedboolean
hits[].data.heartsarray
hits[].data.html_notesstring
hits[].data.is_rendered_as_separatorboolean
hits[].data.likedboolean
hits[].data.likesarray
hits[].data.membershipsarray
hits[].data.modified_atstring
hits[].data.namestring
hits[].data.notesstring
hits[].data.num_heartsinteger
hits[].data.num_likesinteger
hits[].data.num_subtasksinteger
hits[].data.parentobject
hits[].data.permalink_urlstring
hits[].data.projectsarray
hits[].data.resource_subtypestring
hits[].data.resource_typestring
hits[].data.start_onstring
hits[].data.tagsarray
hits[].data.workspaceobject
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Project Tasks

Project Tasks List

Returns all tasks in a project

Python SDK

await asana.project_tasks.list(
project_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "project_tasks",
"action": "list",
"params": {
"project_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
project_gidstringYesProject GID to list tasks from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
completed_sincestringNoOnly return tasks that have been completed since this time
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_byobject

Meta

Field NameTypeDescription
next_pageobject | null

Workspace Task Search List

Returns tasks that match the specified search criteria. Note - This endpoint requires a premium Asana account. At least one search parameter must be provided.

Python SDK

await asana.workspace_task_search.list(
workspace_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspace_task_search",
"action": "list",
"params": {
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
workspace_gidstringYesWorkspace GID to search tasks in
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
textstringNoSearch text to filter tasks
completedbooleanNoFilter by completion status
assignee.anystringNoComma-separated list of assignee GIDs
projects.anystringNoComma-separated list of project GIDs
sections.anystringNoComma-separated list of section GIDs
teams.anystringNoComma-separated list of team GIDs
followers.anystringNoComma-separated list of follower GIDs
created_at.afterstringNoFilter tasks created after this date (ISO 8601 format)
created_at.beforestringNoFilter tasks created before this date (ISO 8601 format)
modified_at.afterstringNoFilter tasks modified after this date (ISO 8601 format)
modified_at.beforestringNoFilter tasks modified before this date (ISO 8601 format)
due_on.afterstringNoFilter tasks due after this date (ISO 8601 date format)
due_on.beforestringNoFilter tasks due before this date (ISO 8601 date format)
resource_subtypestringNoFilter by task resource subtype (e.g., default_task, milestone)
sort_bystringNoField to sort by (e.g., created_at, modified_at, due_date)
sort_ascendingbooleanNoSort order (true for ascending, false for descending)
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_byobject

Meta

Field NameTypeDescription
next_pageobject | null

Projects

Projects List

Returns a paginated list of projects

Python SDK

await asana.projects.list()

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "projects",
"action": "list"
}'

Parameters

Parameter NameTypeRequiredDescription
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
workspacestringNoThe workspace to filter projects on
teamstringNoThe team to filter projects on
archivedbooleanNoFilter by archived status
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Projects Get

Get a single project by its ID

Python SDK

await asana.projects.get(
project_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "projects",
"action": "get",
"params": {
"project_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
project_gidstringYesProject GID
Response Schema

Records

Field NameTypeDescription
gidstring
archivedboolean
colorstring | null
completedboolean
completed_atstring | null
created_atstring
current_statusobject | null
current_status_updateobject | null
custom_fieldsarray
default_access_levelstring
default_viewstring
due_onstring | null
due_datestring | null
followersarray<object>
membersarray<object>
minimum_access_level_for_customizationstring
minimum_access_level_for_sharingstring
modified_atstring
namestring
notesstring
ownerobject
permalink_urlstring
privacy_settingstring
publicboolean
resource_typestring
start_onstring | null
teamobject
workspaceobject

Search and filter projects records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.projects.search(
query={"filter": {"eq": {"archived": True}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "projects",
"action": "search",
"params": {
"query": {"filter": {"eq": {"archived": True}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
archivedboolean
colorstring
created_atstring
current_statusobject
custom_field_settingsarray
custom_fieldsarray
default_viewstring
due_datestring
due_onstring
followersarray
gidstring
html_notesstring
iconstring
is_templateboolean
membersarray
modified_atstring
namestring
notesstring
ownerobject
permalink_urlstring
publicboolean
resource_typestring
start_onstring
teamobject
workspaceobject
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.archivedboolean
hits[].data.colorstring
hits[].data.created_atstring
hits[].data.current_statusobject
hits[].data.custom_field_settingsarray
hits[].data.custom_fieldsarray
hits[].data.default_viewstring
hits[].data.due_datestring
hits[].data.due_onstring
hits[].data.followersarray
hits[].data.gidstring
hits[].data.html_notesstring
hits[].data.iconstring
hits[].data.is_templateboolean
hits[].data.membersarray
hits[].data.modified_atstring
hits[].data.namestring
hits[].data.notesstring
hits[].data.ownerobject
hits[].data.permalink_urlstring
hits[].data.publicboolean
hits[].data.resource_typestring
hits[].data.start_onstring
hits[].data.teamobject
hits[].data.workspaceobject
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Task Projects

Task Projects List

Returns all projects a task is in

Python SDK

await asana.task_projects.list(
task_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "task_projects",
"action": "list",
"params": {
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
task_gidstringYesTask GID to list projects from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Team Projects

Team Projects List

Returns all projects for a team

Python SDK

await asana.team_projects.list(
team_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "team_projects",
"action": "list",
"params": {
"team_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
team_gidstringYesTeam GID to list projects from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
archivedbooleanNoFilter by archived status
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Workspace Projects

Workspace Projects List

Returns all projects in a workspace

Python SDK

await asana.workspace_projects.list(
workspace_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspace_projects",
"action": "list",
"params": {
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
workspace_gidstringYesWorkspace GID to list projects from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
archivedbooleanNoFilter by archived status
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Workspaces

Workspaces List

Returns a paginated list of workspaces

Python SDK

await asana.workspaces.list()

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspaces",
"action": "list"
}'

Parameters

Parameter NameTypeRequiredDescription
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Workspaces Get

Get a single workspace by its ID

Python SDK

await asana.workspaces.get(
workspace_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspaces",
"action": "get",
"params": {
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
workspace_gidstringYesWorkspace GID
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
email_domainsarray<string>
is_organizationboolean

Search and filter workspaces records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.workspaces.search(
query={"filter": {"eq": {"email_domains": []}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspaces",
"action": "search",
"params": {
"query": {"filter": {"eq": {"email_domains": []}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
email_domainsarray
gidstring
is_organizationboolean
namestring
resource_typestring
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.email_domainsarray
hits[].data.gidstring
hits[].data.is_organizationboolean
hits[].data.namestring
hits[].data.resource_typestring
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Users

Users List

Returns a paginated list of users

Python SDK

await asana.users.list()

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "list"
}'

Parameters

Parameter NameTypeRequiredDescription
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
workspacestringNoThe workspace to filter users on
teamstringNoThe team to filter users on
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Users Get

Get a single user by their ID

Python SDK

await asana.users.get(
user_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "get",
"params": {
"user_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
user_gidstringYesUser GID
Response Schema

Records

Field NameTypeDescription
gidstring
emailstring
namestring
photoobject | null
resource_typestring
workspacesarray<object>

Search and filter users records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.users.search(
query={"filter": {"eq": {"email": "<str>"}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "users",
"action": "search",
"params": {
"query": {"filter": {"eq": {"email": "<str>"}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
emailstring
gidstring
namestring
photoobject
resource_typestring
workspacesarray
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.emailstring
hits[].data.gidstring
hits[].data.namestring
hits[].data.photoobject
hits[].data.resource_typestring
hits[].data.workspacesarray
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Workspace Users

Workspace Users List

Returns all users in a workspace

Python SDK

await asana.workspace_users.list(
workspace_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspace_users",
"action": "list",
"params": {
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
workspace_gidstringYesWorkspace GID to list users from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Team Users

Team Users List

Returns all users in a team

Python SDK

await asana.team_users.list(
team_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "team_users",
"action": "list",
"params": {
"team_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
team_gidstringYesTeam GID to list users from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Teams

Teams Get

Get a single team by its ID

Python SDK

await asana.teams.get(
team_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "get",
"params": {
"team_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
team_gidstringYesTeam GID
Response Schema

Records

Field NameTypeDescription
gidstring
namestring
organizationobject
permalink_urlstring
resource_typestring

Search and filter teams records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.teams.search(
query={"filter": {"eq": {"description": "<str>"}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "search",
"params": {
"query": {"filter": {"eq": {"description": "<str>"}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
descriptionstring
gidstring
html_descriptionstring
namestring
organizationobject
permalink_urlstring
resource_typestring
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.descriptionstring
hits[].data.gidstring
hits[].data.html_descriptionstring
hits[].data.namestring
hits[].data.organizationobject
hits[].data.permalink_urlstring
hits[].data.resource_typestring
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Workspace Teams

Workspace Teams List

Returns all teams in a workspace

Python SDK

await asana.workspace_teams.list(
workspace_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspace_teams",
"action": "list",
"params": {
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
workspace_gidstringYesWorkspace GID to list teams from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

User Teams

User Teams List

Returns all teams a user is a member of

Python SDK

await asana.user_teams.list(
user_gid="<str>",
organization="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "user_teams",
"action": "list",
"params": {
"user_gid": "<str>",
"organization": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
user_gidstringYesUser GID to list teams from
organizationstringYesThe workspace or organization to filter teams on
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Attachments

Attachments List

Returns a list of attachments for an object (task, project, etc.)

Python SDK

await asana.attachments.list(
parent="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "attachments",
"action": "list",
"params": {
"parent": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
parentstringYesGlobally unique identifier for the object to fetch attachments for (e.g., a task GID)
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring

Meta

Field NameTypeDescription
next_pageobject | null

Attachments Get

Get details for a single attachment by its GID

Python SDK

await asana.attachments.get(
attachment_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "attachments",
"action": "get",
"params": {
"attachment_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
attachment_gidstringYesGlobally unique identifier for the attachment
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_atstring
download_urlstring | null
permanent_urlstring | null
hoststring
parentobject
view_urlstring | null
sizeinteger | null

Attachments Download

Downloads the file content of an attachment. This operation first retrieves the attachment metadata to get the download_url, then downloads the file from that URL.

Python SDK

async for chunk in asana.attachments.download(    attachment_gid="<str>"):# Process each chunk (e.g., write to file)
file.write(chunk)

Note: Download operations return an async iterator of bytes chunks for memory-efficient streaming. Use async for to process chunks as they arrive.

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "attachments",
"action": "download",
"params": {
"attachment_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
attachment_gidstringYesGlobally unique identifier for the attachment
range_headerstringNoOptional Range header for partial downloads (e.g., 'bytes=0-99')

Search and filter attachments records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.attachments.search(
query={"filter": {"eq": {"connected_to_app": True}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "attachments",
"action": "search",
"params": {
"query": {"filter": {"eq": {"connected_to_app": True}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
connected_to_appboolean
created_atstring
download_urlstring
gidstring
hoststring
namestring
parentobject
permanent_urlstring
resource_subtypestring
resource_typestring
sizeinteger
view_urlstring
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.connected_to_appboolean
hits[].data.created_atstring
hits[].data.download_urlstring
hits[].data.gidstring
hits[].data.hoststring
hits[].data.namestring
hits[].data.parentobject
hits[].data.permanent_urlstring
hits[].data.resource_subtypestring
hits[].data.resource_typestring
hits[].data.sizeinteger
hits[].data.view_urlstring
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Workspace Tags

Workspace Tags List

Returns all tags in a workspace

Python SDK

await asana.workspace_tags.list(
workspace_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "workspace_tags",
"action": "list",
"params": {
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
workspace_gidstringYesWorkspace GID to list tags from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Tags

Tags Get

Get a single tag by its ID

Python SDK

await asana.tags.get(
tag_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "get",
"params": {
"tag_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
tag_gidstringYesTag GID
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
colorstring
created_atstring
followersarray
notesstring
permalink_urlstring
workspaceobject

Search and filter tags records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.tags.search(
query={"filter": {"eq": {"color": "<str>"}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "search",
"params": {
"query": {"filter": {"eq": {"color": "<str>"}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
colorstring
followersarray
gidstring
namestring
permalink_urlstring
resource_typestring
workspaceobject
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.colorstring
hits[].data.followersarray
hits[].data.gidstring
hits[].data.namestring
hits[].data.permalink_urlstring
hits[].data.resource_typestring
hits[].data.workspaceobject
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Project Sections

Project Sections List

Returns all sections in a project

Python SDK

await asana.project_sections.list(
project_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "project_sections",
"action": "list",
"params": {
"project_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
project_gidstringYesProject GID to list sections from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring

Meta

Field NameTypeDescription
next_pageobject | null

Sections

Sections Get

Get a single section by its ID

Python SDK

await asana.sections.get(
section_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "sections",
"action": "get",
"params": {
"section_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
section_gidstringYesSection GID
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
created_atstring
projectobject

Search and filter sections records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

Python SDK

await asana.sections.search(
query={"filter": {"eq": {"created_at": "<str>"}}}
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "sections",
"action": "search",
"params": {
"query": {"filter": {"eq": {"created_at": "<str>"}}}
}
}'

Parameters

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's next_cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
created_atstring
gidstring
namestring
projectobject
resource_typestring
Response Schema
Field NameTypeDescription
hitsarrayList of matching records
hits[].idstringRecord identifier
hits[].scorenumberRelevance score
hits[].dataobjectRecord data containing the searchable fields listed above
hits[].data.created_atstring
hits[].data.gidstring
hits[].data.namestring
hits[].data.projectobject
hits[].data.resource_typestring
next_cursorstring | nullCursor for next page of results
took_msnumberQuery execution time in milliseconds

Task Subtasks

Task Subtasks List

Returns all subtasks of a task

Python SDK

await asana.task_subtasks.list(
task_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "task_subtasks",
"action": "list",
"params": {
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
task_gidstringYesTask GID to list subtasks from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_byobject

Meta

Field NameTypeDescription
next_pageobject | null

Task Dependencies

Task Dependencies List

Returns all tasks that this task depends on

Python SDK

await asana.task_dependencies.list(
task_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "task_dependencies",
"action": "list",
"params": {
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
task_gidstringYesTask GID to list dependencies from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_byobject

Meta

Field NameTypeDescription
next_pageobject | null

Task Dependents

Task Dependents List

Returns all tasks that depend on this task

Python SDK

await asana.task_dependents.list(
task_gid="<str>"
)

API

curl --location 'https://api.airbyte.ai/api/v1/connectors/sources/{your_source_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "task_dependents",
"action": "list",
"params": {
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
task_gidstringYesTask GID to list dependents from
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
resource_subtypestring
created_byobject

Meta

Field NameTypeDescription
next_pageobject | null