Api referenceGateway
Gateway
Gateway API endpoints
Gateway API
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/audio/speech | Text-to-Speech: Generate audio from text |
POST | /v1/audio/transcriptions | Speech-to-Text: Transcribe audio to text |
POST | /v1/audio/translations | Audio Translation: Translate audio to English text |
POST | /v1/chat/completions | |
POST | /v1/embeddings | |
POST | /v1/gateway/activation-callback | Activation callback from cloud (called by cloud after successful payment) |
POST | /v1/gateway/instance/activate | Admin endpoints for Gateway instance management |
GET | /v1/gateway/instance/status | |
GET | /v1/gateway/models | |
POST | /v1/gateway/subscription-status-callback | Subscription status callback from billing service (called after Stripe webhooks) |
GET | /v1/gateway/{id} | |
POST | /v1/images/edits | Edit an existing image |
POST | /v1/images/generations | Generate images from text prompts |
POST | /v1/images/variations | Create variations of an image |
POST | /v1/moderations | Classify content for policy violations |
POST | /v1/rerank | Rerank documents by relevance to a query |
GET | /v1/responses | List responses |
POST | /v1/responses | Create a response (agentic loop with auto tool calling) |
GET | /v1/responses/{responseId} | Get a response by ID |
DELETE | /v1/responses/{responseId} | Delete a response |
POST | /v1/responses/{responseId}/cancel | Cancel an in-progress response |

