Skip to main content
The public API is how you call a deployed agent: the operations, one per way in, and the two public documents that describe an agent to a client. Everything else, creating agents, deploying, configuration and keys, is done in the dashboard. The dashboard’s own API is not a public interface, and may change without notice.
The playground on each operation’s page calls https://api.onecortex.io with your key: it answers once your organization is live there. During the private beta, use the dashboard’s chat console or curl to try an agent.

Base URL

HTTPS only.

Authentication

Every call carries an API key as a bearer token:
Create a key under API keys in the dashboard. It is shown once, when you create it. See API keys.

Errors

A request refused before the run starts answers with an HTTP status and this body:
code is stable, and safe to branch on. message is for people, and may change. Every code, its status and what to do is on Errors. Invoke and AG-UI answer with this body. The OpenAI endpoint keeps the same status and message in the body OpenAI clients read, { "error": { "message", "type", "code", "param" } }. A2A and MCP keep the same status and message in a JSON-RPC error body instead, because their clients read JSON-RPC: -32600 for your side, -32603 for ours. On MCP, a 401 also carries a WWW-Authenticate header that tells a client where to sign in. The Agent Card and the sign in metadata need no key. An access token from signing in works wherever a key does, for the one agent it was allowed for.

Rate limit headers

The limits are on Limits.

The operations

Each has its page in this tab, with the request, the responses and code samples. The OpenAI Responses API, AG-UI, A2A and MCP are standard protocols, so their pages describe the envelope, and the call pages the protocol in full. All of them share your invoke limits.
Last modified on September 30, 2026