Endpoints overview
SubQ exposes OpenAI-compatible endpoints under the https://api.subq.ai/v1 base
URL. Authenticate every request with Authorization: Bearer $SUBQ_API_KEY.
| Method | Path | Use it to |
|---|---|---|
POST | /v1/chat/completions | Generate text from SubQ using Chat Completions messages. |
GET | /v1/models | List the model IDs available to your API key. |
Start with Chat Completions API for generation requests. Use Models API when your application needs to discover supported model IDs at runtime.