Create task
POST
/v1/tasksCreate a task that can later be assigned to an agent, grouped into a sprint or release, and started as a thread.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
None.
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | Display title. |
| description | string | No | Human-readable description. |
| projectId | string | No | Project ID. |
| releaseId | string | No | — |
| status | backlog | todo | in_progress | blocked | done | No | Current lifecycle status. |
| priority | low | medium | high | urgent | No | — |
| sprintId | string | No | — |
| assigneeAgentId | string | No | — |
| dependencyIds | string[] | No | — |
| linkedThreadIds | string[] | No | — |
| lastStartedThreadId | string | No | — |
| scheduledStartAt | string | No | — |
| scheduledEndAt | string | No | — |
| dueAt | string | No | — |
| completedAt | string | No | ISO 8601 timestamp. |
| sortOrder | number | No | — |
| metadata | object | No | Free-form metadata object. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
201Task createdapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| task | object | No | — |
| task.id | string | No | Unique identifier. |
| task.userId | string | No | User ID. |
| task.projectId | string | No | Project ID. |
| task.releaseId | string | No | — |
| task.title | string | No | Display title. |
| task.description | string | No | Human-readable description. |
| task.status | backlog | todo | in_progress | blocked | done | No | Current lifecycle status. |
| task.priority | low | medium | high | urgent | No | — |
| task.sprintId | string | No | — |
| task.assigneeAgentId | string | No | — |
| task.dependencyIds | string[] | No | — |
| task.linkedThreadIds | string[] | No | — |
| task.lastStartedThreadId | string | No | — |
| task.scheduledStartAt | string | No | — |
| task.scheduledEndAt | string | No | — |
| task.dueAt | string | No | — |
| task.completedAt | string | No | ISO 8601 timestamp. |
| task.sortOrder | number | No | — |
| task.metadata | object | No | Free-form metadata object. |
| task.createdAt | string | No | ISO 8601 timestamp. |
| task.updatedAt | string | No | ISO 8601 timestamp. |