Skip to content

Update an automation template

PATCH
/project-automation-templates/{templateId}
Code sample: Shell / cURL
curl --request PATCH \
--url https://example.com/api/v1/project-automation-templates/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ { "actions": [ { "priorityOptionId": "example", "type": "set_priority_option" } ], "branches": [ "example" ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "conditionMatch": "all", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "id": "example" } ], "category": "example", "conditions": [ { "fieldDefinitionId": "example", "instructions": "example", "op": "eq", "subject": "priority_option", "value": "example", "values": [ "example" ] } ], "name": "example", "triggers": [ { "config": null, "type": "TASK_CREATED" } ] }'

Requires the projects.manage permission. Omitted parts keep their stored value; the merged definition is validated as a whole. Automations already created from the template are untouched. The definition follows the automation contract (triggers, conditions, actions, branches, as on POST /projects/{id}/automations) and may name only records every project shares: active team members, labels, notification channels, priority options, statuses of any workflow, and custom fields and task templates that belong to no project. A status is matched by name onto the workflow of the project that uses the template.

templateId
required

Automation template identifier (CUID2).

string
>= 1 characters

Automation template identifier (CUID2).

Media typeapplication/json
object
actions
Array<object>
<= 10 items
One of:
object
priorityOptionId
required
string
>= 1 characters
type
required
string
Allowed value: set_priority_option
branches

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
category

Free text the gallery filters by, such as a role (“PM”, “Design”).

Any of:
string
<= 60 characters
conditions
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
name
string
>= 1 characters <= 120 characters
triggers
Array<object>
>= 1 items <= 10 items

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

object
config
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

The updated template.

Media typeapplication/json
object
data
required

A ready-made automation any project can start from. Its definition follows the automation contract and names only workspace-wide records; a status is matched by name onto the workflow of the project that uses it.

object
actions
required
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
category
required
string | null
conditions
required
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))$/
id
required
string
name
required
string
triggers
required
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))$/

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"
}
],
"triggers": [
{
"config": null,
"type": "TASK_CREATED"
}
]
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

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

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"
}
}

Conflict.

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"
}
}

Invalid input.

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.