Cirrus ArgusCirrus Argus Portal
AI ServicesMCP DirectoryDocsSign In

Documentation

Developer HubOnboarding GuideQuick Start
OverviewChat CompletionsEmbeddingsModelsMCP Gateway
MCP Integration
Changelog

API Reference

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.

POST
/v1/chat/completions

Create 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.

POST
/v1/embeddings

Generate vector embeddings for input text. Routes to the configured embedding provider.

POST
/v1/images/generations

Generate images via the configured image provider (e.g. gpt-image-1).

POST
/v1/audio/transcriptions

Transcribe audio (whisper, gpt-4o-transcribe, ElevenLabs, Google Chirp). Multipart upload.

POST
/v1/audio/speech

Synthesize speech (tts-1, gpt-4o-mini-tts, ElevenLabs).

GET
/v1/models

List 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.

GET
/v1/models/:id

Single-model detail — pricing, context window, capabilities, available_to_key. Returns 404 model_not_found when the key cannot reach the model.

GET
/v1/pricing

Pricing table across all providers. Filter with provider (repeatable) and q. Prices normalised to per-1M tokens for token-billed models.

GET
/v1/usage

Key-scoped usage aggregates. Totals + time-bucketed series with start, end, bucket (hour | day | week), group_by (none | model | provider). Never returns cross-key data.

POST
/v1/mcp

JSON-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.

GET
/v1/mcp/servers

Discoverable MCP catalog for the calling key's organization. Returns active servers with per-server tool_count.

GET
/v1/mcp/tools

Flattened tool list across visible MCP servers. Filter with server (name or id, repeatable), q, limit, cursor.

POST
/v1/mcp/tools/call

Invoke 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.

Base URL

All endpoints are relative to your gateway base URL:

https://nexus.cirruslabs.technology