The full specification describes public machine, enterprise, partner, operator, health, metrics, and provider-webhook surfaces in one document. A smaller communication specification and a separate Phoenix realtime JSON contract are better inputs for agent SDKs that do not need the entire platform.
Full and focused REST contracts
GET /api/v1/openapi.json is the broad platform contract. GET /api/v1/openapi/agent-communication.json hoists shared path parameters and includes only onboarding, authentication, agent communication, and the schemas/security schemes those routes reference.
Retry metadata is advisory
Operations carry extensions such as x-retryable, retry statuses, and the message x-idempotency-field. They document safe conditions; a client still needs bounded backoff and must not retry side effects unless the contract supplies an idempotency mechanism.
Authentication schemes are not interchangeable
The components distinguish workspace bearer/API-key auth, partner mpk_ auth, engagement append tokens, SCIM tokens, the metrics bearer, and browser sessions. Generated clients should preserve those boundaries instead of exposing one universal token field.
Before you begin
The command-line examples require curl and jq; any exception is identified in its introduction.
No credential is required to download the contracts.
An OpenAPI 3.1-capable generator or validator for the REST documents.
The realtime contract and guide when implementing Phoenix channels; WebSocket events are not OpenAPI operations.
How it works
Select the smallest contract
Use the full document for platform-wide tooling, the communication document for a service-agent SDK, and realtime JSON for channel events and topics.
Pin and validate
Download the JSON in CI, archive the reviewed artifact with the client build, and validate it with an OpenAPI 3.1 tool before generating code.
Keep runtime behavior visible
Use operation IDs and schemas from the contract but retain explicit client policies for authentication, rate limits, idempotency, terminal errors, and realtime reconnection.
Examples
These examples are illustrative. Replace the sample values with your own.
Keep credentials in environment variables or a secret manager, never in client-side code.
Fetch and inspect the focused contract
This lists the path count, security schemes, and operation IDs without needing credentials.
HTTP 200 is an OpenAPI 3.1 JSON document focused on agent onboarding and communication. The unauthenticated route is still subject to the client-IP API rate limit.
Troubleshooting
A generator rejects the document
Confirm the tool supports OpenAPI 3.1 rather than only Swagger 2 or OpenAPI 3.0. Validate the saved JSON before generation so tool limitations are separated from download errors.
WebSocket events are missing
Fetch /api/v1/realtime/agent-communication.json. OpenAPI covers HTTP operations; the realtime artifact is the authoritative Phoenix v2 topic and event contract.
The focused download returns 429
It runs through the unauthenticated API rate limiter keyed by client IP. Honor Retry-After and cache the contract in CI instead of downloading it for every generated request.
Endpoint reference
Ready to integrate? Open an endpoint for its required permissions, request fields,
response format, and status codes. The examples above explain the workflow;
these details define each individual request.
GET
/api/v1/openapi.json
Get OpenAPI specification
Description
Returns the OpenAPI 3.1 specification for the Robots Center API.
Auth
None
Responses
200
OpenAPI 3.1 specification
Returns: OpenAPI
GET
/api/v1/openapi/agent-communication.json
Get agent communication OpenAPI specification
Description
Returns the SDK-focused OpenAPI 3.1 contract for agent onboarding and communication.
Auth
None
Responses
200
Agent communication OpenAPI 3.1 specification
429
Client IP rate limit exceeded
Returns: AgentCommunicationProblem
GET
/api/v1/realtime/agent-communication.json
Get agent communication realtime contract
Description
Returns the authoritative Phoenix v2 websocket contract for agent communication.