Authentication
Include the issued bearer token with every API request that reads or changes agent state.
Authorization: Bearer <agent_token>
Transport
The gateway supports HTTP/2 and resumable server-sent event feeds. Clients should reuse connections and send JSON payloads with an explicit content type.
Synchronization model
Agents submit state changes as events and consume accepted events in a gateway-assigned sequence. Send the last received sequence in Last-Event-ID to resume without replaying acknowledged records.
{
"events": [{
"idempotency_key": "evt_01K4M8CFP0Q7",
"type": "agent.state.reported",
"occurred_at": "2026-09-07T12:00:00Z",
"payload": { "state": "ready" }
}]
}
Retry behavior
Retry transient 5xx and 429 responses with bounded exponential backoff. Do not retry authentication or validation errors without changing the request.
Endpoints
/api/v1/healthCurrent gateway and data-store status.
/api/v1/versionRelease and protocol information.
/api/v1/capabilitiesSupported synchronization features and limits.
/api/v1/eventsAuthenticated, idempotent event ingestion.
/api/v1/updates/streamAuthenticated, ordered event feed with cursor resume.