List subtasks of a task
curl --request GET \ --url https://example.com/api/v1/tasks/example/subtasks \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Responses
Section titled “Responses”Subtasks ordered by subtaskPosition, then createdAt and id (no pagination).
object
A task.
object
Task description as Markdown. Markdown rendering of the stored rich text: mentions appear as @Name links and embeds as plain links to their source URL. The stored HTML is returned alongside in the matching *Html field.
The stored sanitized HTML behind description.
True while the task is a proposal made from a signed contract: only the team sees it, until it is published (POST /tasks/{id}/publish). Absent on a server older than this field.
Workspace-scoped sequential task number.
For a subtask: whether it shows as its own card on its project’s board, in the column of its own status. Always false for a root task, which is always a card. Absent on a server older than this field.
Repetition rule, or null when the task does not repeat. Completing a repeating task creates the next instance on the next occurrence and records its id in spawnedTaskId.
object
Last calendar day of the series, YYYY-MM-DD.
Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.
Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.
Sibling ordering key; ascending, then createdAt and id. Ignored for root tasks.
Whether the task’s direct subtasks show on the board; a subtask created later starts the same way. Absent on a server older than this field.
Time estimate in seconds (5400 = 1h 30m), or null when the task has none.
Example
{ "data": [ { "priority": "NONE", "recurrence": { "frequency": "DAILY", "interval": 1 } } ]}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC