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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.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
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].actual_time_minutesintegerThe actual time spent on the task in minutes
data[].approval_statusstring
data[].assigneeobject
data[].completedboolean
data[].completed_atstring
data[].completed_byobject
data[].created_atstring
data[].custom_fieldsarray
data[].dependenciesarray
data[].dependentsarray
data[].due_atstring
data[].due_onstring
data[].externalobject
data[].followersarray
data[].gidstring
data[].heartedboolean
data[].heartsarray
data[].html_notesstring
data[].is_rendered_as_separatorboolean
data[].likedboolean
data[].likesarray
data[].membershipsarray
data[].modified_atstring
data[].namestring
data[].notesstring
data[].num_heartsinteger
data[].num_likesinteger
data[].num_subtasksinteger
data[].parentobject
data[].permalink_urlstring
data[].projectsarray
data[].resource_subtypestring
data[].resource_typestring
data[].start_onstring
data[].tagsarray
data[].workspaceobject

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/integrations/connectors/{your_connector_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. This endpoint requires a premium Asana account.

IMPORTANT: At least one search filter parameter must be provided. Valid filter parameters include: text, completed, assignee.any, projects.any, sections.any, teams.any, followers.any, created_at.after, created_at.before, modified_at.after, modified_at.before, due_on.after, due_on.before, and resource_subtype. The sort_by and sort_ascending parameters are for ordering results and do not count as search filters.

Python SDK

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

API

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.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
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].archivedboolean
data[].colorstring
data[].created_atstring
data[].current_statusobject
data[].custom_field_settingsarray
data[].custom_fieldsarray
data[].default_viewstring
data[].due_datestring
data[].due_onstring
data[].followersarray
data[].gidstring
data[].html_notesstring
data[].iconstring
data[].is_templateboolean
data[].membersarray
data[].modified_atstring
data[].namestring
data[].notesstring
data[].ownerobject
data[].permalink_urlstring
data[].publicboolean
data[].resource_typestring
data[].start_onstring
data[].teamobject
data[].workspaceobject

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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
email_domainsarray
gidstring
is_organizationboolean
namestring
resource_typestring
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].email_domainsarray
data[].gidstring
data[].is_organizationboolean
data[].namestring
data[].resource_typestring

Users

Users List

Returns a paginated list of users

Python SDK

await asana.users.list()

API

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
emailstring
gidstring
namestring
photoobject
resource_typestring
workspacesarray
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].emailstring
data[].gidstring
data[].namestring
data[].photoobject
data[].resource_typestring
data[].workspacesarray

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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.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
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].descriptionstring
data[].gidstring
data[].html_descriptionstring
data[].namestring
data[].organizationobject
data[].permalink_urlstring
data[].resource_typestring

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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.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
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].connected_to_appboolean
data[].created_atstring
data[].download_urlstring
data[].gidstring
data[].hoststring
data[].namestring
data[].parentobject
data[].permanent_urlstring
data[].resource_subtypestring
data[].resource_typestring
data[].sizeinteger
data[].view_urlstring

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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
colorstring
followersarray
gidstring
namestring
permalink_urlstring
resource_typestring
workspaceobject
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].colorstring
data[].followersarray
data[].gidstring
data[].namestring
data[].permalink_urlstring
data[].resource_typestring
data[].workspaceobject

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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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 meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields

Field NameTypeDescription
created_atstring
gidstring
namestring
projectobject
resource_typestring
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].created_atstring
data[].gidstring
data[].namestring
data[].projectobject
data[].resource_typestring

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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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/integrations/connectors/{your_connector_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