Skip to content

List a project's automations

GET
/projects/{id}/automations
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/projects/example/automations \
--header 'Authorization: Bearer <token>'

Requires the projects.view permission and reach to the project.

id
required

Resource identifier (CUID2).

string
>= 1 characters

Resource identifier (CUID2).

All automations of the project, oldest first (full array, no pagination).

Media typeapplication/json
object
data
required
Array<object>

A Chelsea-native automation over one project’s tasks.

object
actions
required

Executed in order, acting as the automation’s owner.

Array<object>
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches
required

Ordered first-match branches at each level. Parent conditions gate children; parent actions run before selected child actions. Maximum 5 levels, 10 siblings and 50 total branches. An unconditional fallback is allowed only last at each level. Empty means a linear automation.

Array<object>
<= 10 items
object
actions
required
Array<object>
<= 10 items
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches
Array<object>
<= 10 items
object
actions
required
Array<object>
<= 10 items
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches
Array<object>
<= 10 items
object
actions
required
Array<object>
<= 10 items
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches
Array<object>
<= 10 items
object
actions
required
Array<object>
<= 10 items
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches
Array<object>
<= 10 items
object
actions
required
Array<object>
<= 10 items
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches
Array
0
conditionMatch

How branch conditions combine: all (AND, default when omitted) or any (OR).

string
Allowed values: all any
conditions
required
Array<object>
<= 20 items
object
fieldDefinitionId

Custom_field only: the CustomFieldDefinition the condition reads.

string
>= 1 characters
instructions

Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.

string
>= 1 characters <= 2000 characters
op
required
string
Allowed values: eq neq in is_set is_empty lt contains
subject
required
string
Allowed values: priority_option completion status assignee label custom_field order_hours_left creator due_date start_date name description has_attachment has_comment is_blocked ai_missing_information ai_duplicates
value

Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.

string
>= 1 characters <= 500 characters
values

In operand: the condition holds when the subject matches any of them.

Array<string>
>= 1 items <= 50 items
id
required
string
>= 1 characters <= 100 characters
conditionMatch

How branch conditions combine: all (AND, default when omitted) or any (OR).

string
Allowed values: all any
conditions
required
Array<object>
<= 20 items
object
fieldDefinitionId

Custom_field only: the CustomFieldDefinition the condition reads.

string
>= 1 characters
instructions

Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.

string
>= 1 characters <= 2000 characters
op
required
string
Allowed values: eq neq in is_set is_empty lt contains
subject
required
string
Allowed values: priority_option completion status assignee label custom_field order_hours_left creator due_date start_date name description has_attachment has_comment is_blocked ai_missing_information ai_duplicates
value

Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.

string
>= 1 characters <= 500 characters
values

In operand: the condition holds when the subject matches any of them.

Array<string>
>= 1 items <= 50 items
id
required
string
>= 1 characters <= 100 characters
conditionMatch

How branch conditions combine: all (AND, default when omitted) or any (OR).

string
Allowed values: all any
conditions
required
Array<object>
<= 20 items
object
fieldDefinitionId

Custom_field only: the CustomFieldDefinition the condition reads.

string
>= 1 characters
instructions

Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.

string
>= 1 characters <= 2000 characters
op
required
string
Allowed values: eq neq in is_set is_empty lt contains
subject
required
string
Allowed values: priority_option completion status assignee label custom_field order_hours_left creator due_date start_date name description has_attachment has_comment is_blocked ai_missing_information ai_duplicates
value

Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.

string
>= 1 characters <= 500 characters
values

In operand: the condition holds when the subject matches any of them.

Array<string>
>= 1 items <= 50 items
id
required
string
>= 1 characters <= 100 characters
conditionMatch

How branch conditions combine: all (AND, default when omitted) or any (OR).

string
Allowed values: all any
conditions
required
Array<object>
<= 20 items
object
fieldDefinitionId

Custom_field only: the CustomFieldDefinition the condition reads.

string
>= 1 characters
instructions

Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.

string
>= 1 characters <= 2000 characters
op
required
string
Allowed values: eq neq in is_set is_empty lt contains
subject
required
string
Allowed values: priority_option completion status assignee label custom_field order_hours_left creator due_date start_date name description has_attachment has_comment is_blocked ai_missing_information ai_duplicates
value

Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.

string
>= 1 characters <= 500 characters
values

In operand: the condition holds when the subject matches any of them.

Array<string>
>= 1 items <= 50 items
id
required
string
>= 1 characters <= 100 characters
conditionMatch

How branch conditions combine: all (AND, default when omitted) or any (OR).

string
Allowed values: all any
conditions
required
Array<object>
<= 20 items
object
fieldDefinitionId

Custom_field only: the CustomFieldDefinition the condition reads.

string
>= 1 characters
instructions

Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.

string
>= 1 characters <= 2000 characters
op
required
string
Allowed values: eq neq in is_set is_empty lt contains
subject
required
string
Allowed values: priority_option completion status assignee label custom_field order_hours_left creator due_date start_date name description has_attachment has_comment is_blocked ai_missing_information ai_duplicates
value

Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.

string
>= 1 characters <= 500 characters
values

In operand: the condition holds when the subject matches any of them.

Array<string>
>= 1 items <= 50 items
id
required
string
>= 1 characters <= 100 characters
conditions
required

Every condition must hold on the task’s current state for the actions to run.

Array<object>
object
fieldDefinitionId

Custom_field only: the CustomFieldDefinition the condition reads.

string
>= 1 characters
instructions

Ai_missing_information and ai_duplicates only: what the AI is asked to judge. Required for them, not allowed on any other subject.

string
>= 1 characters <= 2000 characters
op
required
string
Allowed values: eq neq in is_set is_empty lt contains
subject
required
string
Allowed values: priority_option completion status assignee label custom_field order_hours_left creator due_date start_date name description has_attachment has_comment is_blocked ai_missing_information ai_duplicates
value

Eq / neq operand. For order_hours_left with lt: the hours as a number above 0, such as 5 or 2.5. For name and description with contains: the words to find, ignoring case. For due_date and start_date: past, today, tomorrow or next_7_days. For has_attachment, has_comment and is_blocked: yes or no. For creator: a member id.

string
>= 1 characters <= 500 characters
values

In operand: the condition holds when the subject matches any of them.

Array<string>
>= 1 items <= 50 items
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
hasWebhookSecret
required

Whether the webhook has a signing secret. The secret itself is returned only when it is created or replaced.

boolean
id
required
string
isActive
required
boolean
name
required
string
ownerId
required

WorkspaceMember the actions act as.

string
projectId
required
string
trigger
required

The type of the first trigger; kept for clients that predate triggers. Null when no stored trigger is supported any more, such as a board section trigger: the automation never runs until it is edited.

Any of:
string
Allowed values: TASK_CREATED TASK_STATUS_CHANGED TASK_LABEL_ADDED TASK_LABEL_REMOVED TASK_ASSIGNED TASK_DUE_SOON TASK_COMPLETED TASK_COMPLETION_CHANGED TASK_NAME_CHANGED TASK_DESCRIPTION_CHANGED TASK_DUE_DATE_CHANGED TASK_OVERDUE TASK_START_DATE_CHANGED TASK_START_SOON TASK_START_PASSED TASK_IN_STATUS_FOR TASK_UNBLOCKED TASK_OR_SUBTASKS_COMPLETION_CHANGED TASK_CUSTOM_FIELD_CHANGED TASK_PRIORITY_CHANGED TASK_TIME_ESTIMATE_CHANGED TASK_ATTACHMENT_ADDED TASK_COMMENT_ADDED TASK_COLLABORATOR_ADDED TASK_ADDED_TO_PROJECT TASK_VIDEO_TRANSCRIPT_READY TASK_CLIENT_REPLIED MANUAL INCOMING_WEBHOOK
triggerConfig
required

The config of the first trigger; kept for clients that predate triggers.

Any of:
object
days

TASK_DUE_SOON or TASK_START_SOON: days before the scheduled date (0 means today). TASK_IN_STATUS_FOR: business days the task has been in the status (1 or more).

integer
<= 365
fieldDefinitionId

TASK_CUSTOM_FIELD_CHANGED: stable ID of the project or workspace custom field.

string
>= 1 characters
labelId

TASK_LABEL_ADDED or TASK_LABEL_REMOVED: stable ID of the tag (required).

string
>= 1 characters
statusId

TASK_STATUS_CHANGED: optional destination status; omit for any status. TASK_IN_STATUS_FOR: the status the task sits in (required).

string
>= 1 characters
triggers
required

What starts the automation, in editor order: any one of them fires it. Each entry carries its own config (TASK_CUSTOM_FIELD_CHANGED requires config.fieldDefinitionId; TASK_STATUS_CHANGED optionally selects config.statusId; TASK_LABEL_ADDED and TASK_LABEL_REMOVED require config.labelId; TASK_DUE_SOON and TASK_START_SOON require config.days; TASK_IN_STATUS_FOR requires config.statusId and config.days of 1 or more, in business days; TASK_VIDEO_TRANSCRIPT_READY and TASK_CLIENT_REPLIED need none). Task type and approval-status triggers are not supported.

Array<object>

One way an automation starts: a trigger type and its optional configuration. Any trigger of the automation fires it.

object
config
required
Any of:
object
days

TASK_DUE_SOON or TASK_START_SOON: days before the scheduled date (0 means today). TASK_IN_STATUS_FOR: business days the task has been in the status (1 or more).

integer
<= 365
fieldDefinitionId

TASK_CUSTOM_FIELD_CHANGED: stable ID of the project or workspace custom field.

string
>= 1 characters
labelId

TASK_LABEL_ADDED or TASK_LABEL_REMOVED: stable ID of the tag (required).

string
>= 1 characters
statusId

TASK_STATUS_CHANGED: optional destination status; omit for any status. TASK_IN_STATUS_FOR: the status the task sits in (required).

string
>= 1 characters
type
required
string
Allowed values: TASK_CREATED TASK_STATUS_CHANGED TASK_LABEL_ADDED TASK_LABEL_REMOVED TASK_ASSIGNED TASK_DUE_SOON TASK_COMPLETED TASK_COMPLETION_CHANGED TASK_NAME_CHANGED TASK_DESCRIPTION_CHANGED TASK_DUE_DATE_CHANGED TASK_OVERDUE TASK_START_DATE_CHANGED TASK_START_SOON TASK_START_PASSED TASK_IN_STATUS_FOR TASK_UNBLOCKED TASK_OR_SUBTASKS_COMPLETION_CHANGED TASK_CUSTOM_FIELD_CHANGED TASK_PRIORITY_CHANGED TASK_TIME_ESTIMATE_CHANGED TASK_ATTACHMENT_ADDED TASK_COMMENT_ADDED TASK_COLLABORATOR_ADDED TASK_ADDED_TO_PROJECT TASK_VIDEO_TRANSCRIPT_READY TASK_CLIENT_REPLIED MANUAL INCOMING_WEBHOOK
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
webhookUrl
required

Where another system sends the INCOMING_WEBHOOK trigger’s deliveries; null without that trigger.

string | null

Example

{
"data": [
{
"actions": [
{
"type": "set_priority_option"
}
],
"branches": [
{
"actions": [
{
"type": "set_priority_option"
}
],
"branches": [
{
"actions": [
{
"type": "set_priority_option"
}
],
"branches": [
{
"actions": [
{
"type": "set_priority_option"
}
],
"branches": [
{
"actions": [
{
"type": "set_priority_option"
}
],
"branches": [
{
"actions": [
{
"type": "set_priority_option"
}
],
"conditionMatch": "all",
"conditions": [
{
"op": "eq",
"subject": "priority_option"
}
]
}
],
"conditionMatch": "all",
"conditions": [
{
"op": "eq",
"subject": "priority_option"
}
]
}
],
"conditionMatch": "all",
"conditions": [
{
"op": "eq",
"subject": "priority_option"
}
]
}
],
"conditionMatch": "all",
"conditions": [
{
"op": "eq",
"subject": "priority_option"
}
]
}
],
"conditionMatch": "all",
"conditions": [
{
"op": "eq",
"subject": "priority_option"
}
]
}
],
"conditions": [
{
"op": "eq",
"subject": "priority_option"
}
],
"trigger": "TASK_CREATED",
"triggers": [
{
"config": null,
"type": "TASK_CREATED"
}
]
}
]
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.