X6.AI

Response Headers

Markdown version

Replace <BASE_URL> with https://api.x6.ai. See Endpoints.

X6.AI adds diagnostic headers on API responses.

Global headers

HeaderPresent onDescription
X-SNX-Trace-IDAll responsesUnique request id; include in support tickets
X-Request-IdAll responsesSame value as X-SNX-Trace-ID; use with request reconciliation

Conversation headers

HeaderPresent onDescription
X-SNX-ModelPOST /v1/chat/completions, /v1/messages, /v1/responsesLogical model id requested
X-SNX-ProviderSameVendor 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: deepseek

Quota responses

When a usage quota limit applies, X6.AI may include:

Retry-After: 3600

Value is seconds until retry is suggested.

CORS

X6.AI allows these request headers from browsers:

  • Authorization
  • Content-Type
  • Accept-Language
  • X-Locale

Idempotency

Idempotency-Key is a request header (not a response header). See Chat Completions.

Related