All API formats
Every endpoint the Respan gateway serves.
Send your Respan API key in Authorization: Bearer, x-api-key, or x-goog-api-key; the gateway reads whichever is set, so each SDK’s own header works. Every response carries X-Respan-Log-Id.
Chat
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| OpenAI Chat Completions | POST | https://gateway.respan.ai/v1/chat/completions | All |
| OpenAI Responses | POST | https://gateway.respan.ai/v1/responses | All |
| Anthropic Messages | POST | https://gateway.respan.ai/v1/messages | All |
| Google generateContent | POST | https://gateway.respan.ai/v1beta/models/{model}:generateContent | All |
Any model works in any chat format. To stream, set stream: true, or for Google call :streamGenerateContent?alt=sse in place of :generateContent.
Images
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| Image generation | POST | https://gateway.respan.ai/v1/images/generations | OpenAI, Gemini, OpenRouter, Together AI, xAI |
| Image edits | POST | https://gateway.respan.ai/v1/images/edits | OpenAI, Gemini, OpenRouter, Together AI, xAI |
Video
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| Create a video | POST | https://gateway.respan.ai/v1/videos | Gemini (Veo) |
| Get a video job | GET | https://gateway.respan.ai/v1/videos/{id} | Gemini (Veo) |
| Download a video | GET | https://gateway.respan.ai/v1/videos/{id}/content | Gemini (Veo) |
Audio
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| Speech | POST | https://gateway.respan.ai/v1/audio/speech | OpenAI, Groq |
| Transcription | POST | https://gateway.respan.ai/v1/audio/transcriptions | OpenAI, Groq |
| Translation | POST | https://gateway.respan.ai/v1/audio/translations | OpenAI, Groq |
Embeddings
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| Embeddings | POST | https://gateway.respan.ai/v1/embeddings | OpenAI, Gemini, Mistral, Fireworks, Together AI |
Realtime
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| OpenAI Realtime | WebSocket | wss://gateway.respan.ai/v1/realtime?model={model} | OpenAI, Gemini, Mistral |
| OpenAI Live | WebSocket | wss://gateway.respan.ai/v1/live/sessions | OpenAI |
| Gemini Live | WebSocket | wss://gateway.respan.ai/ws/google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent?model={model} | OpenAI, Gemini, Mistral |
| Mistral realtime transcription | WebSocket | wss://gateway.respan.ai/v1/audio/transcriptions/realtime?model={model} | OpenAI, Gemini, Mistral |
Decisions
| Endpoint | Method | URL | Providers |
|---|---|---|---|
| Respan System One | POST | https://gateway.respan.ai/api/v1/systemone | TypeSafe, OpenAI, Azure OpenAI, OpenRouter, EmpirioLabs |
| OpenAI decisions | POST | https://gateway.respan.ai/openai/v1/decisions | TypeSafe, OpenAI, Azure OpenAI, OpenRouter, EmpirioLabs |