API
API endpoints
Understand the stable endpoints available to direct API users.
Base URL
Use this API root unless your MaxLabs deployment provides a different URL.
https://api.maxlabs.ai/v1
Endpoints
| Method | Path | Purpose |
|---|---|---|
POST |
/chat/completions |
Generate a chat completion. |
GET |
/models |
List enabled public models and their capabilities. |
GET |
/usage/me |
Read quota usage and reset times for the key's account context. |
All three endpoints require an API key. Send JSON request bodies with Content-Type: application/json.
The /app/v1 endpoints use user sign-in tokens for MaxLabs applications. Do not use them for a server-to-server integration.
