Skip to main content

Clickup-Api full reference

This is the full reference documentation for the Clickup-Api agent connector.

Supported entities and actions​

The Clickup-Api connector supports the following entities and actions.

EntityActions
UserGet, Context Store Search, Context Store SQL Query
TeamsList, Context Store Search, Context Store SQL Query
SpacesList, Get, Context Store Search, Context Store SQL Query
FoldersList, Get, Context Store Search, Context Store SQL Query
ListsList, Get, Context Store Search, Context Store SQL Query
TasksList, Get, Search, Context Store Search, Context Store SQL Query
CommentsList, Create, Get, Update, Context Store Search, Context Store SQL Query
GoalsList, Get, Context Store Search, Context Store SQL Query
ViewsList, Get
View TasksList
Time TrackingList, Get, Context Store Search, Context Store SQL Query
MembersList
DocsList, Get

User​

User Get​

View the details of the authenticated user's ClickUp account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "user",
"action": "get"
}'

Python SDK​

await clickup_api.user.get()

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",
"action": "get"
}'
Response Schema

Records​

Field NameTypeDescription
idinteger
usernamestring
emailstring
colorstring | null
profilePicturestring | null
initialsstring | null
week_start_dayinteger | null
global_font_supportboolean | null
timezonestring | null

Search and filter user 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "user",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'

Python SDK​

await clickup_api.user.context_store_search(
query={"filter": {"eq": {"id": 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": "user",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idintegerUnique identifier for the user
usernamestringDisplay name of the user
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[].idintegerUnique identifier for the user
data[].usernamestringDisplay name of the user

User Context Store SQL Query​

Run a SQL query against user records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "user",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.user.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Teams​

Teams List​

Get the workspaces (teams) available to the authenticated user

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "teams",
"action": "list"
}'

Python SDK​

await clickup_api.teams.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": "teams",
"action": "list"
}'
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
colorstring | null
avatarstring | null
membersarray<object>

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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "teams",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.teams.context_store_search(
query={"filter": {"eq": {"id": "<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": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the team (workspace)
namestringName of the team
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[].idstringUnique identifier for the team (workspace)
data[].namestringName of the team

Teams Context Store SQL Query​

Run a SQL query against teams records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "teams",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.teams.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Spaces​

Spaces List​

Get the spaces available in a workspace

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "spaces",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Python SDK​

await clickup_api.spaces.list(
team_id="<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": "spaces",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
team_idstringYesThe ID of the workspace
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
privateboolean
colorstring | null
avatarstring | null
admin_can_manageboolean | null
statusesarray<object>
multiple_assigneesboolean
featuresobject
archivedboolean

Spaces Get​

Get a single space by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "spaces",
"action": "get",
"params": {
"space_id": "<str>"
}
}'

Python SDK​

await clickup_api.spaces.get(
space_id="<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": "spaces",
"action": "get",
"params": {
"space_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
space_idstringYesThe ID of the space
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
privateboolean
colorstring | null
avatarstring | null
admin_can_manageboolean | null
statusesarray<object>
multiple_assigneesboolean
featuresobject
archivedboolean

Search and filter spaces 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "spaces",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.spaces.context_store_search(
query={"filter": {"eq": {"id": "<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": "spaces",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the space
namestringName of the space
privatebooleanWhether the space is private
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[].idstringUnique identifier for the space
data[].namestringName of the space
data[].privatebooleanWhether the space is private

Spaces Context Store SQL Query​

Run a SQL query against spaces records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "spaces",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.spaces.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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": "spaces",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Folders​

Folders List​

Get the folders in a space

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "folders",
"action": "list",
"params": {
"space_id": "<str>"
}
}'

Python SDK​

await clickup_api.folders.list(
space_id="<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": "folders",
"action": "list",
"params": {
"space_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
space_idstringYesThe ID of the space
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
orderindexinteger | null
override_statusesboolean
hiddenboolean
spaceobject
task_countstring | null
archivedboolean
statusesarray<object>
deletedboolean | null
listsarray<object>
permission_levelstring | null

Folders Get​

Get a single folder by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "folders",
"action": "get",
"params": {
"folder_id": "<str>"
}
}'

Python SDK​

await clickup_api.folders.get(
folder_id="<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": "folders",
"action": "get",
"params": {
"folder_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
folder_idstringYesThe ID of the folder
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
orderindexinteger | null
override_statusesboolean
hiddenboolean
spaceobject
task_countstring | null
archivedboolean
statusesarray<object>
deletedboolean | null
listsarray<object>
permission_levelstring | null

Search and filter folders 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "folders",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.folders.context_store_search(
query={"filter": {"eq": {"id": "<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": "folders",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the folder
namestringName of the folder
hiddenbooleanWhether the folder is hidden from the sidebar
task_countstringNumber of tasks contained in the folder
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[].idstringUnique identifier for the folder
data[].namestringName of the folder
data[].hiddenbooleanWhether the folder is hidden from the sidebar
data[].task_countstringNumber of tasks contained in the folder

Folders Context Store SQL Query​

Run a SQL query against folders records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "folders",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.folders.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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": "folders",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Lists​

Lists List​

Get the lists in a folder

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "lists",
"action": "list",
"params": {
"folder_id": "<str>"
}
}'

Python SDK​

await clickup_api.lists.list(
folder_id="<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": "lists",
"action": "list",
"params": {
"folder_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
folder_idstringYesThe ID of the folder
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
orderindexinteger | null
statusobject | null
priorityobject | null
assigneeobject | null
task_countinteger | null
due_datestring | null
start_datestring | null
folderobject
spaceobject
archivedboolean
override_statusesboolean | null
contentstring | null
deletedboolean | null
inbound_addressstring | null
statusesarray<object>
permission_levelstring | null

Lists Get​

Get a single list by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "lists",
"action": "get",
"params": {
"list_id": "<str>"
}
}'

Python SDK​

await clickup_api.lists.get(
list_id="<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": "lists",
"action": "get",
"params": {
"list_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
list_idstringYesThe ID of the list
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
orderindexinteger | null
statusobject | null
priorityobject | null
assigneeobject | null
task_countinteger | null
due_datestring | null
start_datestring | null
folderobject
spaceobject
archivedboolean
override_statusesboolean | null
contentstring | null
deletedboolean | null
inbound_addressstring | null
statusesarray<object>
permission_levelstring | null

Search and filter lists 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "lists",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.lists.context_store_search(
query={"filter": {"eq": {"id": "<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": "lists",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the list
namestringName of the list
archivedbooleanWhether the list has been archived
due_datestringDue date for the list, in ClickUp timestamp format
start_datestringStart date for the list, in ClickUp timestamp format
prioritystringPriority assigned to the list
task_countintegerNumber of tasks contained in the list
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[].idstringUnique identifier for the list
data[].namestringName of the list
data[].archivedbooleanWhether the list has been archived
data[].due_datestringDue date for the list, in ClickUp timestamp format
data[].start_datestringStart date for the list, in ClickUp timestamp format
data[].prioritystringPriority assigned to the list
data[].task_countintegerNumber of tasks contained in the list

Lists Context Store SQL Query​

Run a SQL query against lists records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "lists",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.lists.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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": "lists",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Tasks​

Tasks List​

Get the tasks in a list

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "tasks",
"action": "list",
"params": {
"list_id": "<str>"
}
}'

Python SDK​

await clickup_api.tasks.list(
list_id="<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": "list",
"params": {
"list_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
list_idstringYesThe ID of the list
pageintegerNoPage number (0-indexed)
Response Schema

Records​

Field NameTypeDescription
idstring
custom_idstring | null
custom_item_idinteger | null
namestring
text_contentstring | null
descriptionstring | null
statusobject
orderindexstring | null
date_createdstring | null
date_updatedstring | null
date_closedstring | null
date_donestring | null
archivedboolean
creatorobject
assigneesarray<object>
group_assigneesarray<object>
watchersarray<object>
checklistsarray<object>
tagsarray<object>
parentstring | null
priorityobject | null
due_datestring | null
start_datestring | null
pointsnumber | null
time_estimateinteger | null
time_spentinteger | null
custom_fieldsarray<object>
dependenciesarray<object>
linked_tasksarray<object>
team_idstring | null
urlstring
listobject | null
projectobject | null
folderobject | null
spaceobject | null
top_level_parentstring | null
locationsarray<object>
sharingobject | null
permission_levelstring | null
attachmentsarray<object>

Meta​

Field NameTypeDescription
last_pageboolean | null

Tasks Get​

Get a single task by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "tasks",
"action": "get",
"params": {
"task_id": "<str>"
}
}'

Python SDK​

await clickup_api.tasks.get(
task_id="<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_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
task_idstringYesThe ID of the task
custom_task_idsbooleanNoSet to true to use a custom task ID
include_subtasksbooleanNoInclude subtasks
Response Schema

Records​

Field NameTypeDescription
idstring
custom_idstring | null
custom_item_idinteger | null
namestring
text_contentstring | null
descriptionstring | null
statusobject
orderindexstring | null
date_createdstring | null
date_updatedstring | null
date_closedstring | null
date_donestring | null
archivedboolean
creatorobject
assigneesarray<object>
group_assigneesarray<object>
watchersarray<object>
checklistsarray<object>
tagsarray<object>
parentstring | null
priorityobject | null
due_datestring | null
start_datestring | null
pointsnumber | null
time_estimateinteger | null
time_spentinteger | null
custom_fieldsarray<object>
dependenciesarray<object>
linked_tasksarray<object>
team_idstring | null
urlstring
listobject | null
projectobject | null
folderobject | null
spaceobject | null
top_level_parentstring | null
locationsarray<object>
sharingobject | null
permission_levelstring | null
attachmentsarray<object>

View the tasks that meet specific criteria from a workspace. Supports free-text search and structured filters including status, assignee, tags, priority, and date ranges. Responses are limited to 100 tasks per page.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "tasks",
"action": "search",
"params": {
"team_id": "<str>"
}
}'

Python SDK​

await clickup_api.tasks.search(
team_id="<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": "search",
"params": {
"team_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
team_idstringYesThe workspace ID to search within
searchstringNoFree-text search across task name, description, and custom field text
statuses[]array<string>NoFilter by status names (e.g. "in progress", "done")
assignees[]array<string>NoFilter by user IDs
tags[]array<string>NoFilter by tag names
priorityintegerNoFilter by priority: 1=Urgent, 2=High, 3=Normal, 4=Low
due_date_gtintegerNoDue date after (Unix ms)
due_date_ltintegerNoDue date before (Unix ms)
date_created_gtintegerNoCreated after (Unix ms)
date_created_ltintegerNoCreated before (Unix ms)
date_updated_gtintegerNoUpdated after (Unix ms)
date_updated_ltintegerNoUpdated before (Unix ms)
custom_fieldsarray<object>NoJSON array of custom field filters. Each object: {"field_id": "<UUID>", "operator": "<OP>", "value": "<DATA>"}.
Operators: = (contains), == (exact), <, <=, >, >=, !=, !==, IS NULL, IS NOT NULL, RANGE, ANY, ALL, NOT ANY, NOT ALL
include_closedbooleanNoInclude closed tasks (excluded by default)
pageintegerNoPage number (0-indexed), results capped at 100/page
Response Schema

Records​

Field NameTypeDescription
idstring
custom_idstring | null
custom_item_idinteger | null
namestring
text_contentstring | null
descriptionstring | null
statusobject
orderindexstring | null
date_createdstring | null
date_updatedstring | null
date_closedstring | null
date_donestring | null
archivedboolean
creatorobject
assigneesarray<object>
group_assigneesarray<object>
watchersarray<object>
checklistsarray<object>
tagsarray<object>
parentstring | null
priorityobject | null
due_datestring | null
start_datestring | null
pointsnumber | null
time_estimateinteger | null
time_spentinteger | null
custom_fieldsarray<object>
dependenciesarray<object>
linked_tasksarray<object>
team_idstring | null
urlstring
listobject | null
projectobject | null
folderobject | null
spaceobject | null
top_level_parentstring | null
locationsarray<object>
sharingobject | null
permission_levelstring | null
attachmentsarray<object>

Meta​

Field NameTypeDescription
last_pageboolean | null

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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "tasks",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.tasks.context_store_search(
query={"filter": {"eq": {"id": "<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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the task
namestringName of the task
date_createdstringCreation timestamp of the task, in ClickUp timestamp format
date_updatedstringLast update timestamp of the task, in ClickUp timestamp format
date_closedstringTimestamp when the task was closed, in ClickUp timestamp format
due_datestringDue date for the task, in ClickUp timestamp format
start_datestringStart date for the task, in ClickUp timestamp format
parentstringID of the parent task, if this task is a subtask
urlstringPermalink URL to view the task in ClickUp
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[].idstringUnique identifier for the task
data[].namestringName of the task
data[].date_createdstringCreation timestamp of the task, in ClickUp timestamp format
data[].date_updatedstringLast update timestamp of the task, in ClickUp timestamp format
data[].date_closedstringTimestamp when the task was closed, in ClickUp timestamp format
data[].due_datestringDue date for the task, in ClickUp timestamp format
data[].start_datestringStart date for the task, in ClickUp timestamp format
data[].parentstringID of the parent task, if this task is a subtask
data[].urlstringPermalink URL to view the task in ClickUp

Tasks Context Store SQL Query​

Run a SQL query against tasks records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "tasks",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.tasks.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Comments​

Comments List​

Get the comments on a task

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "comments",
"action": "list",
"params": {
"task_id": "<str>"
}
}'

Python SDK​

await clickup_api.comments.list(
task_id="<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": "comments",
"action": "list",
"params": {
"task_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
task_idstringYesThe ID of the task
Response Schema

Records​

Field NameTypeDescription
idstring
commentarray<object>
comment_textstring
userobject
resolvedboolean
assigneeobject | null
assigned_byobject | null
reactionsarray<object>
datestring

Comments Create​

Create a comment on a task

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "comments",
"action": "create",
"params": {
"comment_text": "<str>",
"assignee": 0,
"notify_all": true,
"task_id": "<str>"
}
}'

Python SDK​

await clickup_api.comments.create(
comment_text="<str>",
assignee=0,
notify_all=True,
task_id="<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": "comments",
"action": "create",
"params": {
"comment_text": "<str>",
"assignee": 0,
"notify_all": True,
"task_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
comment_textstringYesThe comment text
assigneeintegerNoUser ID to assign
notify_allbooleanNoNotify all assignees and watchers
task_idstringYesThe ID of the task
Response Schema

Records​

Field NameTypeDescription
idinteger
hist_idstring
dateinteger
versionobject | null

Comments Get​

Get threaded replies on a comment

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "comments",
"action": "get",
"params": {
"comment_id": "<str>"
}
}'

Python SDK​

await clickup_api.comments.get(
comment_id="<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": "comments",
"action": "get",
"params": {
"comment_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
comment_idstringYesThe ID of the comment
Response Schema

Records​

Field NameTypeDescription
idstring
commentarray<object>
comment_textstring
userobject
resolvedboolean
assigneeobject | null
assigned_byobject | null
reactionsarray<object>
datestring

Comments Update​

Update an existing comment

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "comments",
"action": "update",
"params": {
"comment_text": "<str>",
"assignee": 0,
"resolved": true,
"comment_id": "<str>"
}
}'

Python SDK​

await clickup_api.comments.update(
comment_text="<str>",
assignee=0,
resolved=True,
comment_id="<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": "comments",
"action": "update",
"params": {
"comment_text": "<str>",
"assignee": 0,
"resolved": True,
"comment_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
comment_textstringNoUpdated comment text
assigneeintegerNoUser ID to assign
resolvedbooleanNoWhether the comment is resolved
comment_idstringYesThe ID of the comment

Search and filter comments 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "comments",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.comments.context_store_search(
query={"filter": {"eq": {"id": "<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": "comments",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the comment
comment_textstringPlain-text content of the comment
datestringTimestamp when the comment was posted, in ClickUp timestamp format
reply_countnumberNumber of replies on the comment
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[].idstringUnique identifier for the comment
data[].comment_textstringPlain-text content of the comment
data[].datestringTimestamp when the comment was posted, in ClickUp timestamp format
data[].reply_countnumberNumber of replies on the comment

Comments Context Store SQL Query​

Run a SQL query against comments records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "comments",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.comments.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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": "comments",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Goals​

Goals List​

Get the goals in a workspace

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "goals",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Python SDK​

await clickup_api.goals.list(
team_id="<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": "goals",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
team_idstringYesThe ID of the workspace
Response Schema

Records​

Field NameTypeDescription
idstring
pretty_idstring | null
namestring
team_idstring
creatorinteger | null
ownerobject | null
colorstring
date_createdstring | null
start_datestring | null
due_datestring | null
descriptionstring | null
privateboolean
archivedboolean
multiple_ownersboolean
membersarray<object>
key_resultsarray<object>
percent_completedinteger | null
historyarray<object>
pretty_urlstring | null

Goals Get​

Get a single goal by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "goals",
"action": "get",
"params": {
"goal_id": "<str>"
}
}'

Python SDK​

await clickup_api.goals.get(
goal_id="<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": "goals",
"action": "get",
"params": {
"goal_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
goal_idstringYesThe ID of the goal
Response Schema

Records​

Field NameTypeDescription
idstring
pretty_idstring | null
namestring
team_idstring
creatorinteger | null
ownerobject | null
colorstring
date_createdstring | null
start_datestring | null
due_datestring | null
descriptionstring | null
privateboolean
archivedboolean
multiple_ownersboolean
membersarray<object>
key_resultsarray<object>
percent_completedinteger | null
historyarray<object>
pretty_urlstring | null

Search and filter goals 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "goals",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'

Python SDK​

await clickup_api.goals.context_store_search(
query={"filter": {"eq": {"id": "<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": "goals",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
idstringUnique identifier for the goal
namestringName of the goal
descriptionstringDescription of the goal
archivedbooleanWhether the goal has been archived
pinnedbooleanWhether the goal is pinned to the top of the list
privatebooleanWhether the goal is private to its owners
date_createdstringCreation timestamp of the goal, in ClickUp timestamp format
due_datestringDue date for the goal, in ClickUp timestamp format
percent_completednumberCompletion percentage of the goal, between 0 and 100
team_idstringIdentifier of the team that owns the goal
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[].idstringUnique identifier for the goal
data[].namestringName of the goal
data[].descriptionstringDescription of the goal
data[].archivedbooleanWhether the goal has been archived
data[].pinnedbooleanWhether the goal is pinned to the top of the list
data[].privatebooleanWhether the goal is private to its owners
data[].date_createdstringCreation timestamp of the goal, in ClickUp timestamp format
data[].due_datestringDue date for the goal, in ClickUp timestamp format
data[].percent_completednumberCompletion percentage of the goal, between 0 and 100
data[].team_idstringIdentifier of the team that owns the goal

Goals Context Store SQL Query​

Run a SQL query against goals records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "goals",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.goals.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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": "goals",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Views​

Views List​

Get the workspace-level (Everything level) views

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "views",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Python SDK​

await clickup_api.views.list(
team_id="<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": "views",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
team_idstringYesThe ID of the workspace
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
typestring
parentobject
groupingobject
divideobject
sortingobject
filtersobject
columnsobject
team_sidebarobject
settingsobject
date_createdstring | null
creatorinteger | null
visibilitystring | null
protectedboolean | null
protected_notestring | null
protected_byinteger | null
date_protectedstring | null
orderindexinteger
publicboolean

Views Get​

Get a single view by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "views",
"action": "get",
"params": {
"view_id": "<str>"
}
}'

Python SDK​

await clickup_api.views.get(
view_id="<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": "views",
"action": "get",
"params": {
"view_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
view_idstringYesThe ID of the view
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
typestring
parentobject
groupingobject
divideobject
sortingobject
filtersobject
columnsobject
team_sidebarobject
settingsobject
date_createdstring | null
creatorinteger | null
visibilitystring | null
protectedboolean | null
protected_notestring | null
protected_byinteger | null
date_protectedstring | null
orderindexinteger
publicboolean

View Tasks​

View Tasks List​

Get tasks matching a view's pre-configured filters — useful as a secondary search mechanism

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "view_tasks",
"action": "list",
"params": {
"view_id": "<str>"
}
}'

Python SDK​

await clickup_api.view_tasks.list(
view_id="<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": "view_tasks",
"action": "list",
"params": {
"view_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
view_idstringYesThe ID of the view
pageintegerNoPage number (0-indexed)
Response Schema

Records​

Field NameTypeDescription
idstring
custom_idstring | null
custom_item_idinteger | null
namestring
text_contentstring | null
descriptionstring | null
statusobject
orderindexstring | null
date_createdstring | null
date_updatedstring | null
date_closedstring | null
date_donestring | null
archivedboolean
creatorobject
assigneesarray<object>
group_assigneesarray<object>
watchersarray<object>
checklistsarray<object>
tagsarray<object>
parentstring | null
priorityobject | null
due_datestring | null
start_datestring | null
pointsnumber | null
time_estimateinteger | null
time_spentinteger | null
custom_fieldsarray<object>
dependenciesarray<object>
linked_tasksarray<object>
team_idstring | null
urlstring
listobject | null
projectobject | null
folderobject | null
spaceobject | null
top_level_parentstring | null
locationsarray<object>
sharingobject | null
permission_levelstring | null
attachmentsarray<object>

Meta​

Field NameTypeDescription
last_pageboolean | null

Time Tracking​

Time Tracking List​

Get time entries within a date range for a workspace

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "time_tracking",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Python SDK​

await clickup_api.time_tracking.list(
team_id="<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": "time_tracking",
"action": "list",
"params": {
"team_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
team_idstringYesThe ID of the workspace
start_dateintegerNoStart date (Unix ms)
end_dateintegerNoEnd date (Unix ms)
assigneestringNoFilter by user ID
Response Schema

Records​

Field NameTypeDescription
idstring
taskobject | null
widstring | null
userobject
billableboolean
startstring
endstring | null
durationstring
descriptionstring | null
tagsarray<object>
atstring | null

Time Tracking Get​

Get a single time entry by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "time_tracking",
"action": "get",
"params": {
"team_id": "<str>",
"time_entry_id": "<str>"
}
}'

Python SDK​

await clickup_api.time_tracking.get(
team_id="<str>",
time_entry_id="<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": "time_tracking",
"action": "get",
"params": {
"team_id": "<str>",
"time_entry_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
team_idstringYesThe ID of the workspace
time_entry_idstringYesThe ID of the time entry
Response Schema

Records​

Field NameTypeDescription
idstring
taskobject | null
widstring | null
userobject
billableboolean
startstring
endstring | null
durationstring
descriptionstring | null
tagsarray<object>
atstring | null

Search and filter time tracking 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.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "time_tracking",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"time": 0.0
}
}
}
}
}'

Python SDK​

await clickup_api.time_tracking.context_store_search(
query={"filter": {"eq": {"time": 0.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": "time_tracking",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"time": 0.0}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, 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
timenumberTotal tracked time in milliseconds
userobjectUser who tracked the time
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[].timenumberTotal tracked time in milliseconds
data[].userobjectUser who tracked the time

Time Tracking Context Store SQL Query​

Run a SQL query against time tracking records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "time_tracking",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await clickup_api.time_tracking.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

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": "time_tracking",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Members​

Members List​

Get the members assigned to a task

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "members",
"action": "list",
"params": {
"task_id": "<str>"
}
}'

Python SDK​

await clickup_api.members.list(
task_id="<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": "members",
"action": "list",
"params": {
"task_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
task_idstringYesThe ID of the task
Response Schema

Records​

Field NameTypeDescription
idinteger
usernamestring
emailstring
colorstring | null
profilePicturestring | null
initialsstring | null

Docs​

Docs List​

Search for docs in a workspace

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "docs",
"action": "list",
"params": {
"workspace_id": "<str>"
}
}'

Python SDK​

await clickup_api.docs.list(
workspace_id="<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": "docs",
"action": "list",
"params": {
"workspace_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
workspace_idstringYesThe ID of the workspace
cursorstringNoCursor for pagination to the next page of results
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
typeinteger | null
parentobject | null
creatorinteger | null
deletedboolean | null
publicboolean | null
date_createdinteger | null
date_updatedinteger | null
workspace_idinteger | null
contentstring | null

Meta​

Field NameTypeDescription
next_cursorstring | null

Docs Get​

Fetch a single doc by ID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "clickup-api",
"entity": "docs",
"action": "get",
"params": {
"workspace_id": "<str>",
"doc_id": "<str>"
}
}'

Python SDK​

await clickup_api.docs.get(
workspace_id="<str>",
doc_id="<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": "docs",
"action": "get",
"params": {
"workspace_id": "<str>",
"doc_id": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
workspace_idstringYesThe ID of the workspace
doc_idstringYesThe ID of the doc
Response Schema

Records​

Field NameTypeDescription
idstring
namestring
typeinteger | null
parentobject | null
creatorinteger | null
deletedboolean | null
publicboolean | null
date_createdinteger | null
date_updatedinteger | null
workspace_idinteger | null
contentstring | null