Gateway API overview
Model requests use the /v1 entry point and a dedicated Gateway identity.
Base URL and authentication
The deployed Base URL is https://your-shieldon.example/v1; a standalone local Gateway defaults to http://localhost:8080/v1. Use a Gateway API key with Authorization: Bearer. Personal API keys are for management and Provider keys are for upstream connections; neither replaces a Gateway API key.
Choose an endpoint
| Method and path | Purpose |
|---|---|
| GET /v1/models | List models available to the current key, including per-operation capabilities, context window, and Credit rate summaries. |
| POST /v1/chat/completions | Chat messages, JSON or SSE. |
| POST /v1/responses | Responses input, output, and typed stream events. |
| POST /v1/embeddings | Generate text embeddings. |
| POST /v1/messages | Anthropic-compatible Messages; requires the matching adapter and model capability. |
POST /v1/images/*, POST /v1/audio/* | Image and audio operations; see paths below and verify support per Provider. |
Images, audio, and limitations
Image paths are /images/generations, /images/edits, and /images/variations. Audio paths are /audio/speech, /audio/transcriptions, and /audio/translations, all under /v1. Fields, file formats, and model capabilities must match the operation contract.
Next steps
Download the complete OpenAPI contract