# Endpoint reference ## Table of contents - [`POST /api/v1/session-leases`](#post-apiv1session-leases) - [`GET /api/v1/search`](#get-apiv1search) - [`POST /api/v1/search`](#post-apiv1search) - [`POST /api/v1/chat/completions`](#post-apiv1chatcompletions) - [`GET /api/v1/ws`](#get-apiv1ws) - [`POST /api/v1/providers/{provider}/chat/completions`](#post-apiv1providersproviderchatcompletions) - [`POST /api/v1/api/chat`](#post-apiv1apichat) - [`POST /api/v1/messages`](#post-apiv1messages) - [`POST /api/v1/messages/count_tokens`](#post-apiv1messagescounttokens) - [`POST /api/v1/responses`](#post-apiv1responses) - [`POST /api/v1/embeddings`](#post-apiv1embeddings) - [`GET /api/v1/multimodal-embeddings`](#get-apiv1multimodal-embeddings) - [`POST /api/v1/multimodal-embeddings`](#post-apiv1multimodal-embeddings) - [`POST /api/v1/providers/{provider}/embeddings`](#post-apiv1providersproviderembeddings) - [`POST /api/v1/images/generations`](#post-apiv1imagesgenerations) - [`POST /api/v1/providers/{provider}/images/generations`](#post-apiv1providersproviderimagesgenerations) - [`POST /api/v1/audio/speech`](#post-apiv1audiospeech) - [`POST /api/v1/audio/transcriptions`](#post-apiv1audiotranscriptions) - [`POST /api/v1/moderations`](#post-apiv1moderations) - [`POST /api/v1/rerank`](#post-apiv1rerank) - [`GET /api/v1`](#get-apiv1) - [`GET /api/v1/providers/{provider}/models`](#get-apiv1providersprovidermodels) - [`GET /api/v1/management/proxy-subscriptions`](#get-apiv1managementproxy-subscriptions) - [`POST /api/v1/management/proxy-subscriptions`](#post-apiv1managementproxy-subscriptions) - [`GET /api/v1/management/proxy-subscriptions/{id}`](#get-apiv1managementproxy-subscriptionsid) - [`PATCH /api/v1/management/proxy-subscriptions/{id}`](#patch-apiv1managementproxy-subscriptionsid) - [`DELETE /api/v1/management/proxy-subscriptions/{id}`](#delete-apiv1managementproxy-subscriptionsid) - [`GET /api/v1/management/proxy-subscriptions/{id}/nodes`](#get-apiv1managementproxy-subscriptionsidnodes) - [`POST /api/v1/management/proxy-subscriptions/{id}/refresh`](#post-apiv1managementproxy-subscriptionsidrefresh) - [`POST /api/v1/ocr`](#post-apiv1ocr) - [`POST /api/v1/audio/translations`](#post-apiv1audiotranslations) - [`GET /api/v1/voices`](#get-apiv1voices) - [`POST /api/v1/speech-to-text`](#post-apiv1speech-to-text) - [`POST /api/v1/text-to-speech/{voiceId}`](#post-apiv1text-to-speechvoiceid) - [`POST /api/v1/sound-generation`](#post-apiv1sound-generation) - [`POST /api/v1/music`](#post-apiv1music) - [`POST /api/v1/music/stream`](#post-apiv1musicstream) - [`POST /api/v1/music/detailed`](#post-apiv1musicdetailed) - [`POST /api/v1/music/detailed/stream`](#post-apiv1musicdetailedstream) - [`POST /api/v1/music/plan`](#post-apiv1musicplan) - [`GET /api/v1/explain/routing`](#get-apiv1explainrouting) - [`GET /api/v1/providers/suggested-models`](#get-apiv1providerssuggested-models) - [`GET /api/v1/provider-plugin-manifest`](#get-apiv1provider-plugin-manifest) - [`GET /api/v1/{omnirouteCatchAll}`](#get-apiv1omniroutecatchall) - [`POST /api/v1/{omnirouteCatchAll}`](#post-apiv1omniroutecatchall) - [`PUT /api/v1/{omnirouteCatchAll}`](#put-apiv1omniroutecatchall) - [`PATCH /api/v1/{omnirouteCatchAll}`](#patch-apiv1omniroutecatchall) - [`DELETE /api/v1/{omnirouteCatchAll}`](#delete-apiv1omniroutecatchall) - [`GET /api/v1/accounts/{id}/limits`](#get-apiv1accountsidlimits) - [`PUT /api/v1/accounts/{id}/limits`](#put-apiv1accountsidlimits) - [`GET /api/v1/agents/credentials`](#get-apiv1agentscredentials) - [`POST /api/v1/agents/credentials`](#post-apiv1agentscredentials) - [`GET /api/v1/agents/health`](#get-apiv1agentshealth) - [`GET /api/v1/agents/tasks`](#get-apiv1agentstasks) - [`POST /api/v1/agents/tasks`](#post-apiv1agentstasks) - [`DELETE /api/v1/agents/tasks`](#delete-apiv1agentstasks) - [`GET /api/v1/agents/tasks/{id}`](#get-apiv1agentstasksid) - [`POST /api/v1/agents/tasks/{id}`](#post-apiv1agentstasksid) - [`DELETE /api/v1/agents/tasks/{id}`](#delete-apiv1agentstasksid) - [`POST /api/v1/antigravity`](#post-apiv1antigravity) - [`GET /api/v1/auto-combo/{channel}/candidates`](#get-apiv1auto-combochannelcandidates) - [`GET /api/v1/batches`](#get-apiv1batches) - [`POST /api/v1/batches`](#post-apiv1batches) - [`GET /api/v1/batches/{id}`](#get-apiv1batchesid) - [`DELETE /api/v1/batches/{id}`](#delete-apiv1batchesid) - [`POST /api/v1/batches/{id}/cancel`](#post-apiv1batchesidcancel) - [`DELETE /api/v1/batches/delete-completed`](#delete-apiv1batchesdelete-completed) - [`POST /api/v1/classify`](#post-apiv1classify) - [`GET /api/v1/combos`](#get-apiv1combos) - [`POST /api/v1/completions`](#post-apiv1completions) - [`GET /api/v1/files`](#get-apiv1files) - [`POST /api/v1/files`](#post-apiv1files) - [`GET /api/v1/files/{id}`](#get-apiv1filesid) - [`DELETE /api/v1/files/{id}`](#delete-apiv1filesid) - [`GET /api/v1/files/{id}/content`](#get-apiv1filesidcontent) - [`POST /api/v1/images/edits`](#post-apiv1imagesedits) - [`GET /api/v1/images/upscale`](#get-apiv1imagesupscale) - [`POST /api/v1/images/upscale`](#post-apiv1imagesupscale) - [`GET /api/v1/media/{id}`](#get-apiv1mediaid) - [`POST /api/v1/issues/report`](#post-apiv1issuesreport) - [`GET /api/v1/management/proxies`](#get-apiv1managementproxies) - [`POST /api/v1/management/proxies`](#post-apiv1managementproxies) - [`PATCH /api/v1/management/proxies`](#patch-apiv1managementproxies) - [`DELETE /api/v1/management/proxies`](#delete-apiv1managementproxies) - [`GET /api/v1/management/proxies/assignments`](#get-apiv1managementproxiesassignments) - [`PUT /api/v1/management/proxies/assignments`](#put-apiv1managementproxiesassignments) - [`PUT /api/v1/management/proxies/bulk-assign`](#put-apiv1managementproxiesbulk-assign) - [`GET /api/v1/management/proxies/health`](#get-apiv1managementproxieshealth) - [`GET /api/v1/me/status`](#get-apiv1mestatus) - [`GET /api/v1/muse-code/models`](#get-apiv1muse-codemodels) - [`GET /api/v1/music/generations`](#get-apiv1musicgenerations) - [`POST /api/v1/music/generations`](#post-apiv1musicgenerations) - [`GET /api/v1/providers/{provider}/limits`](#get-apiv1providersproviderlimits) - [`PUT /api/v1/providers/{provider}/limits`](#put-apiv1providersproviderlimits) - [`GET /api/v1/quotas/check`](#get-apiv1quotascheck) - [`GET /api/v1/registered-keys`](#get-apiv1registered-keys) - [`POST /api/v1/registered-keys`](#post-apiv1registered-keys) - [`GET /api/v1/registered-keys/{id}`](#get-apiv1registered-keysid) - [`DELETE /api/v1/registered-keys/{id}`](#delete-apiv1registered-keysid) - [`POST /api/v1/registered-keys/{id}/revoke`](#post-apiv1registered-keysidrevoke) - [`POST /api/v1/relay/chat/completions`](#post-apiv1relaychatcompletions) - [`POST /api/v1/relay/chat/completions/bifrost`](#post-apiv1relaychatcompletionsbifrost) - [`POST /api/v1/responses/{path}`](#post-apiv1responsespath) - [`GET /api/v1/search/analytics`](#get-apiv1searchanalytics) - [`POST /api/v1/segment`](#post-apiv1segment) - [`GET /api/v1/video-bridge/drilldown`](#get-apiv1video-bridgedrilldown) - [`DELETE /api/v1/video-bridge/drilldown`](#delete-apiv1video-bridgedrilldown) - [`GET /api/v1/videos/generations`](#get-apiv1videosgenerations) - [`POST /api/v1/videos/generations`](#post-apiv1videosgenerations) - [`GET /api/v1/vscode/{token}`](#get-apiv1vscodetoken) - [`POST /api/v1/vscode/{token}/api/chat`](#post-apiv1vscodetokenapichat) - [`POST /api/v1/vscode/{token}/api/show`](#post-apiv1vscodetokenapishow) - [`GET /api/v1/vscode/{token}/api/tags`](#get-apiv1vscodetokenapitags) - [`GET /api/v1/vscode/{token}/api/version`](#get-apiv1vscodetokenapiversion) - [`POST /api/v1/vscode/{token}/chat/completions`](#post-apiv1vscodetokenchatcompletions) - [`GET /api/v1/vscode/{token}/combos`](#get-apiv1vscodetokencombos) - [`GET /api/v1/vscode/{token}/models`](#get-apiv1vscodetokenmodels) - [`POST /api/v1/vscode/{token}/responses`](#post-apiv1vscodetokenresponses) - [`POST /api/v1/vscode/{token}/v1/chat/completions`](#post-apiv1vscodetokenv1chatcompletions) - [`GET /api/v1/vscode/{token}/v1/models`](#get-apiv1vscodetokenv1models) - [`GET /api/v1/vscode/combos/{token}/{{slug}}`](#get-apiv1vscodecombostokenslug) - [`POST /api/v1/vscode/combos/{token}/{{slug}}`](#post-apiv1vscodecombostokenslug) - [`GET /api/v1/vscode/raw/{token}`](#get-apiv1vscoderawtoken) - [`POST /api/v1/vscode/raw/{token}/api/chat`](#post-apiv1vscoderawtokenapichat) - [`POST /api/v1/vscode/raw/{token}/api/show`](#post-apiv1vscoderawtokenapishow) - [`GET /api/v1/vscode/raw/{token}/api/tags`](#get-apiv1vscoderawtokenapitags) - [`GET /api/v1/vscode/raw/{token}/api/version`](#get-apiv1vscoderawtokenapiversion) - [`POST /api/v1/vscode/raw/{token}/chat/completions`](#post-apiv1vscoderawtokenchatcompletions) - [`GET /api/v1/vscode/raw/{token}/combos`](#get-apiv1vscoderawtokencombos) - [`GET /api/v1/vscode/raw/{token}/models`](#get-apiv1vscoderawtokenmodels) - [`POST /api/v1/vscode/raw/{token}/responses`](#post-apiv1vscoderawtokenresponses) - [`POST /api/v1/vscode/raw/{token}/v1/chat/completions`](#post-apiv1vscoderawtokenv1chatcompletions) - [`GET /api/v1/vscode/raw/{token}/v1/models`](#get-apiv1vscoderawtokenv1models) - [`POST /api/v1/web/fetch`](#post-apiv1webfetch) ### POST /api/v1/session-leases Acquire, inspect, renew, or release an exclusive managed connection lease Requires an API key with `lease:exclusive` and an explicit non-empty `allowedConnections` policy. The opaque owner is bound to the authenticated API key; the lease owns an eligible connection, not a provider or model. Managed inference requests present the owner and exact generation headers. Temporary foreign occupancy returns 429 `WAITING_FOR_CAPACITY` with `Retry-After`. Acquire, renew, and release retain their connection-free response shapes. The explicit status action is owner-, key-, and generation-fenced and returns only privacy-safe display metadata for an active binding. ```bash curl -X POST http://localhost:20128/api/v1/session-leases \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/search List search providers Lists configured search providers and their supported search types. ```bash curl http://localhost:20128/api/v1/search \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/search Run a unified search Searches the web, news, or X through a configured provider. Set `provider` to `xquik-search` to use Xquik for X search. The aliases `xquik` and `xquik_search` resolve to the same provider. AnySearch (`anysearch-search`, aliases `anysearch` / `anysearch_search`) provides free fallback-only web search. ```bash curl -X POST http://localhost:20128/api/v1/search \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/chat/completions Create chat completion OpenAI-compatible chat completions endpoint. Routes to configured providers. ```bash curl -X POST http://localhost:20128/api/v1/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/ws Chat completion over WebSocket (handshake + upgrade) OpenAI-compatible chat over a WebSocket connection. `GET` with `?handshake=1` returns the connection descriptor (auth path, message protocol and live-event channels) as JSON; a plain `GET` without an Upgrade returns `426 Upgrade Required`. After upgrading, the client exchanges JSON frames — `{type:"request", id, payload:{model, messages}}` to start a completion and `{type:"cancel", id}` to abort it. A separate live channel (default port `LIVE_WS_PORT=20129`, path `/live`) streams dashboard events on the `requests`, `combo` and `credentials` topics with a 15s heartbeat. Requires an API key. ```bash curl http://localhost:20128/api/v1/ws \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/providers/{provider}/chat/completions Create chat completion (provider-specific) Routes to a specific provider by name. ```bash curl -X POST http://localhost:20128/api/v1/providers/{provider}/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/api/chat Ollama-compatible chat endpoint Provides compatibility with Ollama's /api/chat format. ```bash curl -X POST http://localhost:20128/api/v1/api/chat \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/messages Create message (Anthropic-compatible) Anthropic Messages API endpoint. Routes to Claude providers. ```bash curl -X POST http://localhost:20128/api/v1/messages \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/messages/count_tokens Count tokens for a message ```bash curl -X POST http://localhost:20128/api/v1/messages/count_tokens \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/responses Create response (OpenAI Responses API) OpenAI Responses API endpoint. ```bash curl -X POST http://localhost:20128/api/v1/responses \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/embeddings Create embeddings ```bash curl -X POST http://localhost:20128/api/v1/embeddings \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/multimodal-embeddings List embedding models (Jina multimodal-embeddings alias) ```bash curl http://localhost:20128/api/v1/multimodal-embeddings \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/multimodal-embeddings Create embeddings (Jina multimodal-embeddings alias) Same handler as `POST /api/v1/embeddings`. Provided so Jina-compatible clients that call `/v1/multimodal-embeddings` do not receive HTTP 404 `unknown_route`. ```bash curl -X POST http://localhost:20128/api/v1/multimodal-embeddings \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/providers/{provider}/embeddings Create embeddings (provider-specific) ```bash curl -X POST http://localhost:20128/api/v1/providers/{provider}/embeddings \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/images/generations Generate images ```bash curl -X POST http://localhost:20128/api/v1/images/generations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/providers/{provider}/images/generations Generate images (provider-specific) ```bash curl -X POST http://localhost:20128/api/v1/providers/{provider}/images/generations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/audio/speech Generate speech audio Text-to-speech endpoint. Routes to configured TTS providers. ```bash curl -X POST http://localhost:20128/api/v1/audio/speech \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/audio/transcriptions Transcribe audio Audio-to-text transcription endpoint. ```bash curl -X POST http://localhost:20128/api/v1/audio/transcriptions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/moderations Create moderation Content moderation endpoint. Routes to configured moderation providers. ```bash curl -X POST http://localhost:20128/api/v1/moderations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/rerank Rerank documents Document reranking endpoint. ```bash curl -X POST http://localhost:20128/api/v1/rerank \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1 API v1 root endpoint Returns basic API info and status. ```bash curl http://localhost:20128/api/v1 \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/providers/{provider}/models List models for a specific provider Returns only models for the selected provider with provider prefix removed from each model id. ```bash curl http://localhost:20128/api/v1/providers/{provider}/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/management/proxy-subscriptions List proxy subscriptions Lists all operator-supplied proxy subscription links. Also starts the background auto-refresh scheduler (idempotent) so enabled subscriptions stay in sync. Credentials embedded in `url` are redacted in the response. ```bash curl http://localhost:20128/api/v1/management/proxy-subscriptions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/management/proxy-subscriptions Create a proxy subscription Creates a subscription record. If `mode` is `rule`, at least one entry in `ruleProviders` is required. `updateIntervalMinutes` defaults to 60 and `enabled` defaults to `false` when omitted or not exactly `true`. ```bash curl -X POST http://localhost:20128/api/v1/management/proxy-subscriptions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/management/proxy-subscriptions/{id} Get a proxy subscription ```bash curl http://localhost:20128/api/v1/management/proxy-subscriptions/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### PATCH /api/v1/management/proxy-subscriptions/{id} Update a proxy subscription Partial update — only fields present in the body are changed (name/url/mode/ruleProviders/localCoreEndpoint/coreConfigPath/coreBinaryPath/updateIntervalMinutes/enabled). ```bash curl -X PATCH http://localhost:20128/api/v1/management/proxy-subscriptions/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### DELETE /api/v1/management/proxy-subscriptions/{id} Delete a proxy subscription Removes the subscription record and unbinds/drops its synced proxy_registry rows. ```bash curl -X DELETE http://localhost:20128/api/v1/management/proxy-subscriptions/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/management/proxy-subscriptions/{id}/nodes Get a subscription's last-parsed node summary Returns the last-parsed node list without re-fetching the (possibly slow) subscription URL. ```bash curl http://localhost:20128/api/v1/management/proxy-subscriptions/{id}/nodes \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/management/proxy-subscriptions/{id}/refresh Refresh a proxy subscription Re-fetches and re-parses the subscription URL, syncs its nodes into `proxy_registry`, and (re)binds the pool. ```bash curl -X POST http://localhost:20128/api/v1/management/proxy-subscriptions/{id}/refresh \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/ocr Document OCR Multi-provider document OCR endpoint (Mistral OCR–compatible request and response shape). Accepts a JSON body referencing a document/image and returns extracted text. `model` selects the provider via a `provider/model` prefix (e.g. `mistral/mistral-ocr-latest`, `azure-document-intelligence/prebuilt-read`, `vertex-deepseek-ocr/deepseek-ocr-maas`); a bare model id (e.g. `mistral-ocr-latest`) resolves to its registered provider, and an omitted `model` defaults to Mistral. Azure Document Intelligence is asynchronous upstream — the handler polls the returned operation until it succeeds or fails before responding, so this endpoint can take longer to return for that provider. Success responses carry the `X-OmniRoute-*` cost-telemetry headers. ```bash curl -X POST http://localhost:20128/api/v1/ocr \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/audio/translations Translate audio to English OpenAI Whisper–compatible audio translation (multipart/form-data). Unlike `/api/v1/audio/transcriptions`, output is always English regardless of the source language. Success responses carry the `X-OmniRoute-*` cost-telemetry headers. ```bash curl -X POST http://localhost:20128/api/v1/audio/translations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/voices List ElevenLabs voices Proxies `GET https://api.elevenlabs.io/v1/voices` using the stored `elevenlabs` provider credentials (the caller never sends `xi-api-key`). The incoming query string is forwarded unchanged. ```bash curl http://localhost:20128/api/v1/voices \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/speech-to-text ElevenLabs speech-to-text Streams the request body to `POST https://api.elevenlabs.io/v1/speech-to-text` using the stored `elevenlabs` provider credentials. `content-type` and `accept` are forwarded; the upstream body is relayed unchanged. ```bash curl -X POST http://localhost:20128/api/v1/speech-to-text \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/text-to-speech/{voiceId} ElevenLabs text-to-speech Streams the request body to `POST https://api.elevenlabs.io/v1/text-to-speech/{voiceId}` using the stored `elevenlabs` provider credentials. `voiceId` must match `^[A-Za-z0-9_-]+$` or the request is rejected with 400 before any upstream call. ```bash curl -X POST http://localhost:20128/api/v1/text-to-speech/{voiceId} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/sound-generation Create an ElevenLabs sound effect Proxies POST /v1/sound-generation using the stored ElevenLabs connection selected within the caller key's scope. Native response bytes and Content-Type are preserved without buffering, including multipart boundaries. Query parameters are forwarded unchanged. Endpoint, model, budget and connection restrictions apply. Upstream plan restrictions (402) are preserved; a credit balance does not override them. ```bash curl -X POST http://localhost:20128/api/v1/sound-generation \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/music Compose ElevenLabs music Proxies POST /v1/music using the stored ElevenLabs connection selected within the caller key's scope. Native response bytes and Content-Type are preserved without buffering, including multipart boundaries. Query parameters are forwarded unchanged. Endpoint, model, budget and connection restrictions apply. Upstream plan restrictions (402) are preserved; a credit balance does not override them. ```bash curl -X POST http://localhost:20128/api/v1/music \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/music/stream Stream ElevenLabs music Proxies POST /v1/music/stream using the stored ElevenLabs connection selected within the caller key's scope. Native response bytes and Content-Type are preserved without buffering, including multipart boundaries. Query parameters are forwarded unchanged. Endpoint, model, budget and connection restrictions apply. Upstream plan restrictions (402) are preserved; a credit balance does not override them. ```bash curl -X POST http://localhost:20128/api/v1/music/stream \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/music/detailed Compose ElevenLabs music with its composition plan Proxies POST /v1/music/detailed using the stored ElevenLabs connection selected within the caller key's scope. Native response bytes and Content-Type are preserved without buffering, including multipart boundaries. Query parameters are forwarded unchanged. Endpoint, model, budget and connection restrictions apply. Upstream plan restrictions (402) are preserved; a credit balance does not override them. ```bash curl -X POST http://localhost:20128/api/v1/music/detailed \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/music/detailed/stream Stream ElevenLabs music and metadata as SSE Proxies POST /v1/music/detailed/stream using the stored ElevenLabs connection selected within the caller key's scope. Native response bytes and Content-Type are preserved without buffering, including multipart boundaries. Query parameters are forwarded unchanged. Endpoint, model, budget and connection restrictions apply. Upstream plan restrictions (402) are preserved; a credit balance does not override them. ```bash curl -X POST http://localhost:20128/api/v1/music/detailed/stream \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/music/plan Create an ElevenLabs music composition plan Proxies POST /v1/music/plan using the stored ElevenLabs connection selected within the caller key's scope. Native response bytes and Content-Type are preserved without buffering, including multipart boundaries. Query parameters are forwarded unchanged. Endpoint, model, budget and connection restrictions apply. Upstream plan restrictions (402) are preserved; a credit balance does not override them. ```bash curl -X POST http://localhost:20128/api/v1/music/plan \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/explain/routing Routing explainability snapshot Returns the most recent routing events (bounded in-memory ring buffer) plus the per-provider/model quality snapshot from `open-sse/services/routing`. Routing metadata only — never prompts, bodies, headers or credentials. Auth mirrors `/api/v1/combos`: a valid Bearer API key or a dashboard session; with `REQUIRE_API_KEY=false` anonymous reads are allowed. ```bash curl http://localhost:20128/api/v1/explain/routing \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/providers/suggested-models Suggested media models Read-only server-side proxy to the public HuggingFace Hub models search API, used by the dashboard to suggest models for a media provider kind without exposing an HF token client-side. Never accepts or returns credentials. ```bash curl http://localhost:20128/api/v1/providers/suggested-models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/provider-plugin-manifest Provider plugin manifest Returns the manifest describing installed provider plugins. ```bash curl http://localhost:20128/api/v1/provider-plugin-manifest \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/{omnirouteCatchAll} GET ```bash curl http://localhost:20128/api/v1/{omnirouteCatchAll} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/{omnirouteCatchAll} POST ```bash curl -X POST http://localhost:20128/api/v1/{omnirouteCatchAll} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### PUT /api/v1/{omnirouteCatchAll} PUT ```bash curl -X PUT http://localhost:20128/api/v1/{omnirouteCatchAll} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### PATCH /api/v1/{omnirouteCatchAll} PATCH ```bash curl -X PATCH http://localhost:20128/api/v1/{omnirouteCatchAll} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### DELETE /api/v1/{omnirouteCatchAll} DELETE ```bash curl -X DELETE http://localhost:20128/api/v1/{omnirouteCatchAll} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/accounts/{id}/limits GET accounts › › limits ```bash curl http://localhost:20128/api/v1/accounts/{id}/limits \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### PUT /api/v1/accounts/{id}/limits PUT accounts › › limits ```bash curl -X PUT http://localhost:20128/api/v1/accounts/{id}/limits \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/agents/credentials GET agents › credentials ```bash curl http://localhost:20128/api/v1/agents/credentials \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/agents/credentials POST agents › credentials ```bash curl -X POST http://localhost:20128/api/v1/agents/credentials \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/agents/health GET agents › health ```bash curl http://localhost:20128/api/v1/agents/health \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/agents/tasks GET agents › tasks ```bash curl http://localhost:20128/api/v1/agents/tasks \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/agents/tasks POST agents › tasks ```bash curl -X POST http://localhost:20128/api/v1/agents/tasks \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### DELETE /api/v1/agents/tasks DELETE agents › tasks ```bash curl -X DELETE http://localhost:20128/api/v1/agents/tasks \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/agents/tasks/{id} GET agents › tasks › ```bash curl http://localhost:20128/api/v1/agents/tasks/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/agents/tasks/{id} POST agents › tasks › ```bash curl -X POST http://localhost:20128/api/v1/agents/tasks/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### DELETE /api/v1/agents/tasks/{id} DELETE agents › tasks › ```bash curl -X DELETE http://localhost:20128/api/v1/agents/tasks/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/antigravity POST antigravity ```bash curl -X POST http://localhost:20128/api/v1/antigravity \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/auto-combo/{channel}/candidates GET auto combo › › candidates ```bash curl http://localhost:20128/api/v1/auto-combo/{channel}/candidates \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/batches GET batches ```bash curl http://localhost:20128/api/v1/batches \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/batches POST batches ```bash curl -X POST http://localhost:20128/api/v1/batches \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/batches/{id} GET batches › ```bash curl http://localhost:20128/api/v1/batches/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### DELETE /api/v1/batches/{id} DELETE batches › ```bash curl -X DELETE http://localhost:20128/api/v1/batches/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/batches/{id}/cancel POST batches › › cancel ```bash curl -X POST http://localhost:20128/api/v1/batches/{id}/cancel \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### DELETE /api/v1/batches/delete-completed DELETE batches › delete completed ```bash curl -X DELETE http://localhost:20128/api/v1/batches/delete-completed \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/classify POST classify ```bash curl -X POST http://localhost:20128/api/v1/classify \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/combos GET combos ```bash curl http://localhost:20128/api/v1/combos \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/completions POST completions ```bash curl -X POST http://localhost:20128/api/v1/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/files GET files ```bash curl http://localhost:20128/api/v1/files \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/files POST files ```bash curl -X POST http://localhost:20128/api/v1/files \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/files/{id} GET files › ```bash curl http://localhost:20128/api/v1/files/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### DELETE /api/v1/files/{id} DELETE files › ```bash curl -X DELETE http://localhost:20128/api/v1/files/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/files/{id}/content GET files › › content ```bash curl http://localhost:20128/api/v1/files/{id}/content \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/images/edits POST images › edits ```bash curl -X POST http://localhost:20128/api/v1/images/edits \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/images/upscale GET images › upscale ```bash curl http://localhost:20128/api/v1/images/upscale \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/images/upscale POST images › upscale ```bash curl -X POST http://localhost:20128/api/v1/images/upscale \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/media/{id} GET media › Serves media that a video job stored on this gateway because the provider's own result URL is auth-gated (OpenRouter `unsigned_urls`). The id is returned in the `url` of a `/api/v1/videos/generations` response. Readable by the API key that generated it, a manage-scope key or the dashboard session (same ownership rule as `/api/v1/files/{id}/content`); anything else, an unknown id or an expired file (call-log retention window) answers 404. ```bash curl http://localhost:20128/api/v1/media/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/issues/report POST issues › report ```bash curl -X POST http://localhost:20128/api/v1/issues/report \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/management/proxies GET management › proxies ```bash curl http://localhost:20128/api/v1/management/proxies \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/management/proxies POST management › proxies ```bash curl -X POST http://localhost:20128/api/v1/management/proxies \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### PATCH /api/v1/management/proxies PATCH management › proxies ```bash curl -X PATCH http://localhost:20128/api/v1/management/proxies \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### DELETE /api/v1/management/proxies DELETE management › proxies ```bash curl -X DELETE http://localhost:20128/api/v1/management/proxies \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/management/proxies/assignments GET management › proxies › assignments ```bash curl http://localhost:20128/api/v1/management/proxies/assignments \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### PUT /api/v1/management/proxies/assignments PUT management › proxies › assignments ```bash curl -X PUT http://localhost:20128/api/v1/management/proxies/assignments \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### PUT /api/v1/management/proxies/bulk-assign PUT management › proxies › bulk assign ```bash curl -X PUT http://localhost:20128/api/v1/management/proxies/bulk-assign \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/management/proxies/health GET management › proxies › health ```bash curl http://localhost:20128/api/v1/management/proxies/health \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/me/status GET me › status ```bash curl http://localhost:20128/api/v1/me/status \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/muse-code/models GET muse code › models ```bash curl http://localhost:20128/api/v1/muse-code/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/music/generations GET music › generations ```bash curl http://localhost:20128/api/v1/music/generations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/music/generations POST music › generations ```bash curl -X POST http://localhost:20128/api/v1/music/generations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/providers/{provider}/limits GET providers › › limits ```bash curl http://localhost:20128/api/v1/providers/{provider}/limits \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### PUT /api/v1/providers/{provider}/limits PUT providers › › limits ```bash curl -X PUT http://localhost:20128/api/v1/providers/{provider}/limits \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/quotas/check GET quotas › check ```bash curl http://localhost:20128/api/v1/quotas/check \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/registered-keys GET registered keys Management-only, like `/api/keys`: a dashboard session, the local CLI token, or an API key with `manage`/`admin` scope. Inference-only API keys get 403. ```bash curl http://localhost:20128/api/v1/registered-keys \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/registered-keys POST registered keys Management-only, like `/api/keys`: a dashboard session, the local CLI token, or an API key with `manage`/`admin` scope. Inference-only API keys get 403. ```bash curl -X POST http://localhost:20128/api/v1/registered-keys \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/registered-keys/{id} GET registered keys › Management-only, like `/api/keys`: a dashboard session, the local CLI token, or an API key with `manage`/`admin` scope. Inference-only API keys get 403. ```bash curl http://localhost:20128/api/v1/registered-keys/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### DELETE /api/v1/registered-keys/{id} DELETE registered keys › Management-only, like `/api/keys`: a dashboard session, the local CLI token, or an API key with `manage`/`admin` scope. Inference-only API keys get 403. ```bash curl -X DELETE http://localhost:20128/api/v1/registered-keys/{id} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/registered-keys/{id}/revoke POST registered keys › › revoke Management-only, like `/api/keys`: a dashboard session, the local CLI token, or an API key with `manage`/`admin` scope. Inference-only API keys get 403. ```bash curl -X POST http://localhost:20128/api/v1/registered-keys/{id}/revoke \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/relay/chat/completions POST relay › chat › completions ```bash curl -X POST http://localhost:20128/api/v1/relay/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/relay/chat/completions/bifrost POST relay › chat › completions › bifrost ```bash curl -X POST http://localhost:20128/api/v1/relay/chat/completions/bifrost \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/responses/{path} POST responses › ```bash curl -X POST http://localhost:20128/api/v1/responses/{path} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/search/analytics GET search › analytics ```bash curl http://localhost:20128/api/v1/search/analytics \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/segment POST segment ```bash curl -X POST http://localhost:20128/api/v1/segment \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/video-bridge/drilldown GET video bridge › drilldown ```bash curl http://localhost:20128/api/v1/video-bridge/drilldown \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### DELETE /api/v1/video-bridge/drilldown DELETE video bridge › drilldown ```bash curl -X DELETE http://localhost:20128/api/v1/video-bridge/drilldown \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/videos/generations GET videos › generations ```bash curl http://localhost:20128/api/v1/videos/generations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/videos/generations POST videos › generations ```bash curl -X POST http://localhost:20128/api/v1/videos/generations \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/{token} GET vscode › ```bash curl http://localhost:20128/api/v1/vscode/{token} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/{token}/api/chat POST vscode › › api › chat ```bash curl -X POST http://localhost:20128/api/v1/vscode/{token}/api/chat \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/vscode/{token}/api/show POST vscode › › api › show ```bash curl -X POST http://localhost:20128/api/v1/vscode/{token}/api/show \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/{token}/api/tags GET vscode › › api › tags ```bash curl http://localhost:20128/api/v1/vscode/{token}/api/tags \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/vscode/{token}/api/version GET vscode › › api › version ```bash curl http://localhost:20128/api/v1/vscode/{token}/api/version \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/{token}/chat/completions POST vscode › › chat › completions ```bash curl -X POST http://localhost:20128/api/v1/vscode/{token}/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/{token}/combos GET vscode › › combos ```bash curl http://localhost:20128/api/v1/vscode/{token}/combos \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/vscode/{token}/models GET vscode › › models ```bash curl http://localhost:20128/api/v1/vscode/{token}/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/{token}/responses POST vscode › › responses ```bash curl -X POST http://localhost:20128/api/v1/vscode/{token}/responses \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/vscode/{token}/v1/chat/completions POST vscode › › v1 › chat › completions ```bash curl -X POST http://localhost:20128/api/v1/vscode/{token}/v1/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/{token}/v1/models GET vscode › › v1 › models ```bash curl http://localhost:20128/api/v1/vscode/{token}/v1/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/vscode/combos/{token}/{{slug}} GET vscode › combos › › <{slug>} ```bash curl http://localhost:20128/api/v1/vscode/combos/{token}/{{slug}} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/combos/{token}/{{slug}} POST vscode › combos › › <{slug>} ```bash curl -X POST http://localhost:20128/api/v1/vscode/combos/{token}/{{slug}} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/raw/{token} GET vscode › raw › ```bash curl http://localhost:20128/api/v1/vscode/raw/{token} \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/raw/{token}/api/chat POST vscode › raw › › api › chat ```bash curl -X POST http://localhost:20128/api/v1/vscode/raw/{token}/api/chat \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/vscode/raw/{token}/api/show POST vscode › raw › › api › show ```bash curl -X POST http://localhost:20128/api/v1/vscode/raw/{token}/api/show \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/raw/{token}/api/tags GET vscode › raw › › api › tags ```bash curl http://localhost:20128/api/v1/vscode/raw/{token}/api/tags \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/vscode/raw/{token}/api/version GET vscode › raw › › api › version ```bash curl http://localhost:20128/api/v1/vscode/raw/{token}/api/version \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/raw/{token}/chat/completions POST vscode › raw › › chat › completions ```bash curl -X POST http://localhost:20128/api/v1/vscode/raw/{token}/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/raw/{token}/combos GET vscode › raw › › combos ```bash curl http://localhost:20128/api/v1/vscode/raw/{token}/combos \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### GET /api/v1/vscode/raw/{token}/models GET vscode › raw › › models ```bash curl http://localhost:20128/api/v1/vscode/raw/{token}/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/vscode/raw/{token}/responses POST vscode › raw › › responses ```bash curl -X POST http://localhost:20128/api/v1/vscode/raw/{token}/responses \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### POST /api/v1/vscode/raw/{token}/v1/chat/completions POST vscode › raw › › v1 › chat › completions ```bash curl -X POST http://localhost:20128/api/v1/vscode/raw/{token}/v1/chat/completions \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` ### GET /api/v1/vscode/raw/{token}/v1/models GET vscode › raw › › v1 › models ```bash curl http://localhost:20128/api/v1/vscode/raw/{token}/v1/models \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" ``` ### POST /api/v1/web/fetch POST web › fetch ```bash curl -X POST http://localhost:20128/api/v1/web/fetch \ -H "Authorization: Bearer $OMNIROUTE_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ```