Start a queued intent and its session (its owner at engineer or above, or a lead)
const url = 'http://127.0.0.1:8080/v1/intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/start';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"route":{"agent":"claude","auth":"api_key"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:8080/v1/intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/start \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "route": { "agent": "claude", "auth": "api_key" } }'In one transaction the intent becomes active, a session starts
for it, and the start is audited. The response has the shape of an
active registration with no check, and waited_on names the
intent it queued behind, if any. The session token shows only in
this response. An intent that is not queued is 409
intent_not_queued. A route asks the model router (ADR-0011)
for a model, classified on the stored raw prompt.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”object
Asks the model router for a model. Only a registration that starts a session is routed.
object
How the user says the agent authenticates. Empty means subscription, which never gets a model. The coordinator reads no credential.
Responses
Section titled “Responses”Started.
object
object
The root of the fork family.
Null until the intent has a vector.
Heuristic+llm when the LLM extractor added a summary or areas.
The live session, if any.
Only on a full read, when the coordinator holds the data key.
object
Set from M2.
What the agent last said it is doing, set by a heartbeat. Null until one sets it.
The session token, zt_s_. Shown only once.
object
The first characters of the token, safe to show.
The router’s decision. model is set exactly when the route applies one, and the CLI passes it as the agent’s model flag. tier, rule, and classifier are absent when the router is off or no prompt was there to classify.
object
The intent this one queued behind. Absent when it queued behind none.
object
Example
{ "registered": true, "intent": { "status": "active", "class": "new", "resolution": "merge", "extractor": "heuristic" }, "session": { "status": "starting" }, "token_info": { "kind": "user" }, "route": { "agent": "claude", "auth": "api_key", "tier": "cheap", "rule": "frontier_term", "classifier": "rules", "skipped": "disabled" }, "waited_on": { "status": "active" }}The request is malformed.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}No valid bearer token.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}The token may not do this.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}No such resource in the caller’s org.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}The request clashes with current state.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}A rate limit or quota stopped the request. Retry-After gives seconds to wait.
object
object
Example generated
{ "error": { "code": "example", "message": "example" }}