API Base Endpoint Specification
The gateway API is designed to be fully consistent with the OpenAI REST API.
🌐 Base URL
https://api.basamp.com/v1
🔐 Authentication
The request headers (HTTP Headers) must include a Standard Bearer Token:
Authorization: Bearer sk-YOUR_API_KEY
Content-Type: application/json
📌 Supported Standard Endpoints
| Function | Method | Path |
|---|---|---|
| Text Generation / Chat | POST | /v1/chat/completions |
| Text Embeddings | POST | /v1/embeddings |
| Image Generation | POST | /v1/images/generations |
| List Supported Models | GET | /v1/models |
| Query Quota Information | GET | /v1/dashboard/billing/subscription |