Response Headers
Markdown versionReplace <BASE_URL> with https://api.x6.ai. See Endpoints.
X6.AI adds diagnostic headers on API responses.
Global headers
| Header | Present on | Description |
|---|---|---|
X-SNX-Trace-ID | All responses | Unique request id; include in support tickets |
X-Request-Id | All responses | Same value as X-SNX-Trace-ID; use with request reconciliation |
Conversation headers
| Header | Present on | Description |
|---|---|---|
X-SNX-Model | POST /v1/chat/completions, /v1/messages, /v1/responses | Logical model id requested |
X-SNX-Provider | Same | Vendor identifier for the inference provider |
Example:
HTTP/1.1 200 OK
Content-Type: application/json
X-SNX-Trace-ID: 7c9e6679-7425-40de-944b-e07fc1f90ae7
X-Request-Id: 7c9e6679-7425-40de-944b-e07fc1f90ae7
X-SNX-Model: deepseek/deepseek-chat
X-SNX-Provider: deepseekQuota responses
When a usage quota limit applies, X6.AI may include:
Retry-After: 3600Value is seconds until retry is suggested.
CORS
X6.AI allows these request headers from browsers:
AuthorizationContent-TypeAccept-LanguageX-Locale
Idempotency
Idempotency-Key is a request header (not a response header). See Chat Completions.