Skip to main content

Mission control API

Mission control provides a real-time view of your agent fleet. Use these endpoints to visualize agent relationships, trace execution activity, attribute costs per agent, and track talent bookings.
All four mission control endpoints require bearer token (API key) authentication and accept a userId query parameter. The backend returns 401 for unauthenticated requests. The web proxy uses session authentication and resolves the user ID from the session before forwarding to these backend endpoints — the web proxy layer returns safe default responses (empty data with a 200 status) for unauthenticated requests instead of forwarding the 401.

Fleet graph

Returns a constellation graph of your agent fleet as a set of nodes and edges. Each node represents an agent with a role and positional data for graph layout. Edges use from/to fields with a strength value indicating relationship weight.

Authentication

Requires bearer token authentication.

Query parameters

Response

When no souls are reachable, the response uses the fallback shape with minimal node data:
When the request is unauthenticated (no valid session), the web proxy returns a default response instead of forwarding the backend 401 error:

Node object

The type field was renamed to role and now uses the values orchestrator, specialist, and worker. The monitor role is no longer returned by this endpoint.

Edge object

The source and target fields were renamed to from and to. The type field on edges was replaced by strength.

Response metadata

Errors

The web proxy returns a 200 response with default empty data (see above) for unauthenticated requests instead of forwarding the backend 401.

Execution traces

Returns up to 20 of the most recent execution traces for your agent fleet, sorted by recency. Each trace is returned as an AgentTask-shaped object with fields like description, completedAt, tokensUsed, and costUSD. Traces include active plan steps, recent thoughts, free energy component readings, and cycle status from live soul instances. Returns an empty array when no soul instances are reachable or when the request is unauthenticated.

Authentication

Requires bearer token authentication.

Query parameters

Response

Trace object (AgentTask shape)

The response is capped at 20 traces, sorted from most recent to oldest.
The previous raw trace fields (type, label, agent, duration, tokens) have been replaced by the AgentTask shape (description, completedAt, tokensUsed, costUSD, model). The status value success is now returned as completed.

Errors

The web proxy returns a 200 response with an empty array [] for unauthenticated requests instead of forwarding the backend 401.

Cost attribution

Returns a cost breakdown for your agent fleet. Requires bearer token authentication. The web proxy uses session authentication and resolves the user ID from the session before forwarding to this backend endpoint. Returns a default empty response for unauthenticated requests.

Authentication

Requires bearer token authentication.

Query parameters

Response

Response fields

Errors

The web proxy returns a 200 response with { costs: [] } for unauthenticated requests instead of forwarding the backend 401.

Talent bookings

Returns active booking requests for your agent fleet. Requires bearer token authentication. The web proxy uses session authentication and resolves the user ID from the session before forwarding to this backend endpoint. Returns a default empty response for unauthenticated requests.

Authentication

Requires bearer token authentication.

Query parameters

Response

Response fields

Errors

The web proxy returns a 200 response with { bookings: [] } for unauthenticated requests instead of forwarding the backend 401.