List the agents a ticket can be delegated to
curl --request GET \ --url https://example.com/api/v1/delegations/agents \ --header 'Authorization: Bearer <token>'Lists the active installed AI agents by name with whether each can receive a ticket now (hasActiveEndpoint: an active endpoint, a teammate that runs inside Chelsea, or an agent on Anthropic), so the id can be passed as agentMemberId when delegating. With projectId it lists only the agents that reach that project, the ones a ticket of it can be handed to; the project must be one the caller reaches. Requires tasks.delegate.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only the agents that reach this project. An agent reaches it once it is a member of the project (its People), through a team, a role or the company’s access, or holds projects.view_all.
Only the agents that reach this project. An agent reaches it once it is a member of the project (its People), through a team, a role or the company’s access, or holds projects.view_all.
Responses
Section titled “Responses”The active agents.
object
An active AI agent a ticket can be handed to.
object
Whether the agent can receive a ticket right now
Member id to pass as agentMemberId
True for a code agent: it needs the ticket’s repository and delivers a pull request; false for one that delivers a report
Example generated
{ "data": [ { "hasActiveEndpoint": true, "id": "example", "isCodeAgent": true, "name": "example" } ]}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