Argus exposes an OpenAI-compatible REST API. All endpoints require a virtual key passed via the Authorization: Bearer header — including /v1/models, which is authenticated and filtered per key.
/v1/chat/completionsCreate a chat completion. Supports streaming via SSE, tool calls, and the MCP agentic loop (set x-argus-mcp: true). OpenAI-compatible request and response shape.
/v1/embeddingsGenerate vector embeddings for input text. Routes to the configured embedding provider.
/v1/images/generationsGenerate images via the configured image provider (e.g. gpt-image-1).
/v1/audio/transcriptionsTranscribe audio (whisper, gpt-4o-transcribe, ElevenLabs, Google Chirp). Multipart upload.
/v1/audio/speechSynthesize speech (tts-1, gpt-4o-mini-tts, ElevenLabs).
/v1/modelsList models THIS virtual key can call. Filter with q, provider (repeatable), capability (chat | embeddings | images | audio), limit, cursor. Response is the intersection of the gateway catalog and the key's allowedModels / providerMap.
/v1/models/:idSingle-model detail — pricing, context window, capabilities, available_to_key. Returns 404 model_not_found when the key cannot reach the model.
/v1/pricingPricing table across all providers. Filter with provider (repeatable) and q. Prices normalised to per-1M tokens for token-billed models.
/v1/usageKey-scoped usage aggregates. Totals + time-bucketed series with start, end, bucket (hour | day | week), group_by (none | model | provider). Never returns cross-key data.
/v1/mcpJSON-RPC 2.0 MCP gateway. Handles tool discovery, invocation, and circuit breaking across every registered MCP server. Supports initialize, tools/list, tools/call, resources/list, resources/read, resources/templates/list, resources/subscribe, prompts/list, prompts/get, sampling/createMessage and logging/*. Batch arrays up to 50 entries. Requires a virtual key of type mcp or all. POST /mcp is a legacy alias — use /v1/mcp.
/v1/mcp/serversDiscoverable MCP catalog for the calling key's organization. Returns active servers with per-server tool_count.
/v1/mcp/toolsFlattened tool list across visible MCP servers. Filter with server (name or id, repeatable), q, limit, cursor.
/v1/mcp/tools/callInvoke a specific MCP tool over REST instead of JSON-RPC. Body takes server (name or id), tool, and arguments — all three in the body, not the path.
All endpoints are relative to your gateway base URL:
https://nexus.cirruslabs.technology