Base URL
All API requests are made against:Authentication
Every request must include a bearer token in theAuthorization header:
Error envelope
All errors return a consistent JSON envelope:| Field | Description |
|---|---|
type | High-level error category (e.g. auth_error, invalid_request_error, rate_limit_error). |
code | Machine-readable error code for programmatic handling. |
message | Human-readable description of what went wrong. |