nautir.ai
Inference

Responses (OpenAI-compatible wire)

POST
/v1/responses

Authorization

inferenceKey
AuthorizationBearer <token>

An issued runtime key (sk-dz-…), set as the vendor SDK's API key. On the Anthropic Messages route the same token is also accepted in the x-api-key header, matching the Anthropic SDK's convention.

In: header

Header Parameters

X-Dz-Session-Id?string

Client-supplied conversation id. The router pins its first decision to it, so a mid-conversation profile edit cannot swap the model and reset the provider's prompt cache. Stripped before forwarding.

X-Dz-User?string

Cost-attribution user. Stripped before forwarding.

X-Dz-Team?string

Cost-attribution team. Stripped before forwarding.

X-Dz-Project?string

Cost-attribution project. Stripped before forwarding.

X-Dz-Env?string

Cost-attribution environment. Stripped before forwarding.

X-Dz-Labels?string

Free-form attribution labels, key1=val1,key2=val2. Malformed pairs are skipped. Stripped before forwarding.

X-Dz-Workload-Type?string

Caller-declared workload type, used for per-workload cache scoping and evidence strata. Stripped before forwarding.

X-Dz-Namespace?string

Kubernetes source namespace. Stripped before forwarding.

X-Dz-Workload?string

Kubernetes source workload. Stripped before forwarding.

X-Dz-Pod?string

Kubernetes source pod. Stripped before forwarding.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

An OpenAI Responses-API request. Beyond the fields below the body is VENDOR-OWNED and passes through unpoliced — use your OpenAI SDK's types; this contract stays deliberately loose there (truthful spec).

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/responses" \  -H "Content-Type: application/json" \  -d '{    "model": "anthropic/claude-sonnet-4-5"  }'
{}