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, Create, Get, Update, Delete, Context Store Search
Project TasksList
Workspace Task SearchList
ProjectsList, Create, Get, Update, Delete, Context Store Search
Task ProjectsList
Team ProjectsList
Workspace ProjectsList
WorkspacesList, Get, Context Store Search
UsersList, Get, Context Store Search
Workspace UsersList
Team UsersList
TeamsGet, Context Store Search
Workspace TeamsList
User TeamsList
AttachmentsList, Get, Download, Context Store Search
Workspace TagsList, Create
TagsGet, Update, Delete, Context Store Search
Tag TasksList
Project SectionsList, Create
SectionsGet, Update, Delete, Context Store Search
Section TasksList, Create
Task SubtasksList
Task DependenciesList
Task DependentsList
Task StoriesCreate
Task TagsCreate, Delete
Workspace MembershipsCreate

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 Create

Creates a new task. Every task is required to be created in a specific workspace, and this workspace cannot be changed once set. The workspace need not be set explicitly if you specify projects or a parent task instead.

Python SDK

await asana.tasks.create(
data={
"name": "<str>",
"workspace": "<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": "create",
"params": {
"data": {
"name": "<str>",
"workspace": "<str>"
}
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringYesName of the task
data.workspacestringYesGID of the workspace to create the task in
data.projectsarray<string>NoArray of project GIDs to add the task to
data.assigneestringNoGID of the user to assign the task to, or 'me' for the current user
data.notesstringNoFree-form textual description of the task (plain text, no formatting)
data.html_notesstringNoHTML-formatted description of the task
data.due_onstringNoDue date in YYYY-MM-DD format
data.due_atstringNoDue date and time in ISO 8601 format (e.g., 2025-03-20T12:00:00.000Z)
data.start_onstringNoStart date in YYYY-MM-DD format
data.completedbooleanNoWhether the task is completed
data.parentstringNoGID of the parent task (to create a subtask)
data.tagsarray<string>NoArray of tag GIDs to add to the task
data.followersarray<string>NoArray of user GIDs to add as followers
data.resource_subtype"default_task" | "milestone" | "section" | "approval"NoThe subtype of the task: default_task, milestone, section, or approval
Response Schema

Records

Field NameTypeDescription
gidstring

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

Tasks Update

Updates an existing task. Only the fields provided in the data block will be updated; any unspecified fields will remain unchanged. When using this method, it is best to specify only those fields you wish to change.

Python SDK

await asana.tasks.update(
data={},
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": "update",
"params": {
"data": {},
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringNoName of the task
data.assigneestringNoGID of the user to assign the task to, or 'me' for the current user
data.notesstringNoFree-form textual description of the task (plain text, no formatting)
data.html_notesstringNoHTML-formatted description of the task
data.due_onstringNoDue date in YYYY-MM-DD format
data.due_atstringNoDue date and time in ISO 8601 format (e.g., 2025-03-20T12:00:00.000Z)
data.start_onstringNoStart date in YYYY-MM-DD format
data.completedbooleanNoWhether the task is completed
task_gidstringYesThe task to update
Response Schema

Records

Field NameTypeDescription
gidstring

Tasks Delete

Deletes a specific, existing task. Deleted tasks go into the trash of the user making the delete request. Tasks can be recovered from the trash within 30 days; afterward they are completely removed from the system.

Python SDK

await asana.tasks.delete(
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": "delete",
"params": {
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
task_gidstringYesThe task to delete

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.context_store_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": "context_store_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 Create

Create a new project in a workspace or team. Every project is required to be created in a specific workspace or organization, and this cannot be changed once set.

Python SDK

await asana.projects.create(
data={
"name": "<str>",
"workspace": "<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": "create",
"params": {
"data": {
"name": "<str>",
"workspace": "<str>"
}
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringYesName of the project
data.workspacestringYesGID of the workspace to create the project in
data.teamstringNoGID of the team to share the project with (required for organizations)
data.notesstringNoFree-form textual description of the project (plain text)
data.html_notesstringNoHTML-formatted description of the project
data.colorstringNoColor of the project (e.g., dark-pink, dark-green, dark-blue, dark-red, dark-teal, dark-brown, dark-orange, dark-purple, dark-warm-gray, light-pink, light-green, light-blue, light-red, light-teal, light-brown, light-orange, light-purple, light-warm-gray, none)
data.default_view"list" | "board" | "calendar" | "timeline"NoThe default view of the project (list, board, calendar, timeline)
data.due_onstringNoDue date in YYYY-MM-DD format
data.start_onstringNoStart date in YYYY-MM-DD format
data.privacy_setting"public_to_workspace" | "private"NoPrivacy setting: public_to_workspace or private
data.archivedbooleanNoWhether the project is archived
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 | null
workspaceobject
iconstring | null
completed_byobject | 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 | null
workspaceobject
iconstring | null
completed_byobject | null

Projects Update

Updates an existing project. Only the fields provided in the data block will be updated; any unspecified fields will remain unchanged. When using this method, it is best to specify only those fields you wish to change.

Python SDK

await asana.projects.update(
data={},
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": "update",
"params": {
"data": {},
"project_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringNoName of the project
data.notesstringNoFree-form textual description of the project (plain text)
data.html_notesstringNoHTML-formatted description of the project
data.colorstringNoColor of the project
data.default_view"list" | "board" | "calendar" | "timeline"NoThe default view of the project (list, board, calendar, timeline)
data.due_onstringNoDue date in YYYY-MM-DD format
data.start_onstringNoStart date in YYYY-MM-DD format
data.archivedbooleanNoWhether the project is archived
project_gidstringYesThe project to update
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 | null
workspaceobject
iconstring | null
completed_byobject | null

Projects Delete

Deletes a specific, existing project. Returns an empty data record.

Python SDK

await asana.projects.delete(
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": "delete",
"params": {
"project_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
project_gidstringYesThe project to delete

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.context_store_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": "context_store_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.context_store_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": "context_store_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.context_store_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": "context_store_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.context_store_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": "context_store_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.context_store_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": "context_store_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

Workspace Tags Create

Creates a new tag in a workspace or organization. Every tag is required to be created in a specific workspace or organization, and this cannot be changed once set. Returns the full record of the newly created tag.

Python SDK

await asana.workspace_tags.create(
data={
"name": "<str>"
},
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": "create",
"params": {
"data": {
"name": "<str>"
},
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringYesName of the tag
data.colorstringNoColor of the tag. Must be one of: dark-pink, dark-green, dark-blue, dark-red, dark-teal, dark-brown, dark-orange, dark-purple, dark-warm-gray, light-pink, light-green, light-blue, light-red, light-teal, light-brown, light-orange, light-purple, light-warm-gray, none, null
data.notesstringNoFree-form textual description of the tag
workspace_gidstringYesGlobally unique identifier for the workspace or organization
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
colorstring
created_atstring
followersarray
notesstring
permalink_urlstring
workspaceobject

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

Tags Update

Updates the properties of a tag. Only the fields provided in the data block will be updated; any unspecified fields will remain unchanged. Returns the complete updated tag record.

Python SDK

await asana.tags.update(
data={},
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": "update",
"params": {
"data": {},
"tag_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringNoName of the tag
data.colorstringNoColor of the tag
data.notesstringNoFree-form textual description of the tag
tag_gidstringYesThe tag to update
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
colorstring
created_atstring
followersarray
notesstring
permalink_urlstring
workspaceobject

Tags Delete

A specific, existing tag can be deleted by making a DELETE request on the URL for that tag. Returns an empty data record.

Python SDK

await asana.tags.delete(
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": "delete",
"params": {
"tag_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
tag_gidstringYesThe tag to delete

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.context_store_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": "context_store_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

Tag Tasks

Tag Tasks List

Returns the compact task records for all tasks with the given tag. Tasks can have more than one tag at a time.

Python SDK

await asana.tag_tasks.list(
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": "tag_tasks",
"action": "list",
"params": {
"tag_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
tag_gidstringYesGlobally unique identifier for the tag
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

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

Project Sections Create

Creates a new section in a project. Returns the full record of the newly created section.

Python SDK

await asana.project_sections.create(
data={
"name": "<str>"
},
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": "create",
"params": {
"data": {
"name": "<str>"
},
"project_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringYesThe name of the section (this is displayed as the column header in board view)
data.insert_beforestringNoGID of a section in the same project before which the new section should be inserted. Cannot be provided together with insert_after.
data.insert_afterstringNoGID of a section in the same project after which the new section should be inserted. Cannot be provided together with insert_before.
project_gidstringYesGlobally unique identifier for the project
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
created_atstring
projectobject

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

Sections Update

A specific, existing section can be updated by making a PUT request on the URL for that section. Only the fields provided in the data block will be updated; any unspecified fields will remain unchanged. Currently only the name field can be updated.

Python SDK

await asana.sections.update(
data={},
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": "update",
"params": {
"data": {},
"section_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.namestringNoThe new name of the section
section_gidstringYesThe section to update
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
namestring
created_atstring
projectobject

Sections Delete

A specific, existing section can be deleted by making a DELETE request on the URL for that section. Note that sections must be empty to be deleted. The last remaining section in a project cannot be deleted.

Python SDK

await asana.sections.delete(
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": "delete",
"params": {
"section_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
section_gidstringYesThe section to delete

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.context_store_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": "context_store_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

Section Tasks

Section Tasks List

Returns the compact task records for all tasks within the given section.

Python SDK

await asana.section_tasks.list(
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": "section_tasks",
"action": "list",
"params": {
"section_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
section_gidstringYesThe globally unique identifier for the section
limitintegerNoNumber of items to return per page
offsetstringNoPagination offset token
completed_sincestringNoOnly return tasks that are either incomplete or 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

Section Tasks Create

Add a task to a specific, existing section. This will remove the task from other sections of the project. The task will be inserted at the top of the section unless an insert_before or insert_after parameter is declared.

Python SDK

await asana.section_tasks.create(
data={
"task": "<str>"
},
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": "section_tasks",
"action": "create",
"params": {
"data": {
"task": "<str>"
},
"section_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.taskstringYesThe GID of the task to add to this section
data.insert_beforestringNoGID of a task in this section before which the added task should be inserted. Cannot be provided together with insert_after.
data.insert_afterstringNoGID of a task in this section after which the added task should be inserted. Cannot be provided together with insert_before.
section_gidstringYesThe globally unique identifier for the section

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

Task Stories

Task Stories Create

Adds a comment to a task. The comment will be authored by the currently authenticated user, and timestamped when the server receives the request.

Python SDK

await asana.task_stories.create(
data={
"text": "<str>"
},
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_stories",
"action": "create",
"params": {
"data": {
"text": "<str>"
},
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.textstringYesThe plain text body of the comment
data.html_textstringNoHTML-formatted body of the comment
data.is_pinnedbooleanNoWhether the story should be pinned on the resource
task_gidstringYesThe task to add a comment to
Response Schema

Records

Field NameTypeDescription
gidstring
resource_typestring
resource_subtypestring
textstring
html_textstring
is_pinnedboolean
created_atstring
created_byobject
targetobject
typestring

Task Tags

Task Tags Create

Adds a tag to a task. Returns an empty data block.

Python SDK

await asana.task_tags.create(
data={
"tag": "<str>"
},
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_tags",
"action": "create",
"params": {
"data": {
"tag": "<str>"
},
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.tagstringYesThe GID of the tag to add to the task
task_gidstringYesThe task to operate on

Task Tags Delete

Removes a tag from a task. Returns an empty data block.

Python SDK

await asana.task_tags.delete(
data={
"tag": "<str>"
},
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_tags",
"action": "delete",
"params": {
"data": {
"tag": "<str>"
},
"task_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.tagstringYesThe GID of the tag to remove from the task
task_gidstringYesThe task to operate on

Workspace Memberships

Workspace Memberships Create

Add a user to a workspace or organization. The user can be referenced by their globally unique user ID or their email address. Returns the full user record for the invited user.

Python SDK

await asana.workspace_memberships.create(
data={
"user": "<str>"
},
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_memberships",
"action": "create",
"params": {
"data": {
"user": "<str>"
},
"workspace_gid": "<str>"
}
}'

Parameters

Parameter NameTypeRequiredDescription
dataobjectYes
data.userstringYesA user GID or email address to add to the workspace
workspace_gidstringYesThe workspace or organization to add the user to
Response Schema

Records

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