Skip to main content

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​

FunctionMethodPath
Text Generation / ChatPOST/v1/chat/completions
Text EmbeddingsPOST/v1/embeddings
Image GenerationPOST/v1/images/generations
List Supported ModelsGET/v1/models
Query Quota InformationGET/v1/dashboard/billing/subscription