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 use session authentication. The web proxy resolves the user ID from the session automatically. Unauthenticated requests receive safe default responses (empty data with a 200 status) instead of an error.
The fleet graph and cost endpoints have two response shapes: the web proxy enriches the data with soul instance details, plan information, and layout coordinates. The backend endpoints documented below return the raw database records. Integrations that call the backend directly should use the backend response shapes described in this section.

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 session authentication.

Response

When no souls are reachable, the response uses the degraded shape with minimal node data:
When the request is unauthenticated (no valid session), the endpoint returns a default response:

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 endpoint always returns HTTP 200. Unauthenticated requests receive default empty data. When the soul service is unreachable, the response includes degraded: true with a detail message.

Execution traces

Returns up to 50 of the most recent execution traces for your agent fleet, sorted by recency. Traces are sourced from treasury transaction records categorized as agent_message or ai_metric. Each trace is a raw transaction row that includes the transaction type, description, amount, transaction hash, and status fields. Returns an empty array when no traces exist or when the request is unauthenticated.
The web proxy transforms these raw traces into AgentTask-shaped objects with fields like description, completedAt, tokensUsed, and costUSD. The backend endpoint documented here returns the raw treasury transaction rows.

Authentication

Requires session authentication.

Response

Trace object (treasury transaction row)

The response is capped at 50 traces, sorted from most recent to oldest.

Errors

The endpoint always returns HTTP 200. Unauthenticated requests receive an empty array [].

Cost attribution

Returns a cost breakdown for your agent fleet, grouped by agent and spending category. The data is sourced from treasury transaction records.
The web proxy enriches this data with subscription plan information, agent names, and computed fields like monthlyCost. The backend endpoint documented here returns the raw per-agent cost aggregation from treasury transactions.

Authentication

Requires session authentication.

Response

Response fields

Errors

The endpoint always returns HTTP 200 on success. Unauthenticated requests receive an empty array [].

Talent bookings

Returns talent booking records for your agent fleet. These bookings are created through the agent-to-agent negotiation service when agents negotiate performance bookings for events. Each booking links a talent agent to an event and tracks the negotiation lifecycle.
The web proxy returns a simplified view of bookings (pending agent provisioning). The backend endpoint documented here returns the full booking records from the negotiation service, including talent details and offer amounts.

Authentication

Requires session authentication.

Response

Response fields

Errors

The endpoint always returns HTTP 200 on success. Unauthenticated requests receive an empty array [].