List delegations
curl --request GET \ --url 'https://example.com/api/v1/delegations?state=Delegated&page=1&perPage=20' \ --header 'Authorization: Bearer <token>'Lists the tickets handed to AI agents, newest first, limited to the projects the caller reaches. Filter by agent member, ticket and state; each item carries the agent’s newest delivery. Requires tasks.view.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only the delegations held by this agent member
Only the delegations held by this agent member
Only the delegations of this ticket
Only the delegations of this ticket
Only the delegations in this state
Only the delegations in this state
Responses
Section titled “Responses”A page of delegations.
object
A delegation with its ticket, agent and newest delivery.
object
What an agent delivered for review: a pull request or a report, with its preview, summary, evidence and cost.
object
What the agent reported this revision cost, in US dollars
Markdown: the steps a person must do that the agent could not; null when none; absent on an older server
Links the agent gave as evidence, in its order
object
Markdown: release order, command, verification queries and rollback of a schema change; null when none; absent on an older server
The pull request; null for a report
The agent’s session when it runs on Anthropic, null when it ran none; absent on an older server
The newest session an agent that runs on Anthropic worked this delegation in, with its status, cost and pull request.
object
True when the cost could not be read and costUsd is the session’s whole budget
The session’s list cost in US dollars; null while it runs
The pull request the delegation was delivered with; null for a report
CREATING and FINISHING are short; RUNNING means the agent is working
True when the agent delivers a pull request (a code agent), false when it delivers a report
Pagination metadata for list responses.
object
Example
{ "data": [ { "managedSession": { "status": "CREATING" }, "state": "Delegated" } ]}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}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" }}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