API Reference
The gateway exposes an OpenAI-compatible surface plus an Anthropic-compatible messages endpoint.
Base URL
text
https://api-gw.aimasteryedu.in/v1Endpoints
| Method | Path | Status |
|---|---|---|
| POST | /chat/completions OpenAI-compatible chat completions (streaming + non-streaming) | Available |
| POST | /messages Anthropic-compatible messages | Available |
| GET | /models List available models | Available |
| GET | /models/:id Retrieve a single model | Available |
| POST | /embeddings Create embeddings | Planned |
| POST | /images/generations Generate images | Planned |
| POST | /audio/speech Text to speech | Planned |
Planned endpoints are architected but disabled behind feature flags; they return a clear error until enabled. See Chat Completions to get started.