Skip to main content
POST
Responses
Creates a model response using the Responses API request and response format. Like all inference endpoints, requests are served through the attested TEE gateway and return an x-receipt-id header for verification.

Request Body

string
required
Model id, for example qwen/qwen3-30b-a3b-instruct-2507 or openai/gpt-4o.
string | array
required
The input prompt. A string, or an array of input items.
array
Tool definitions the model may call.
number
Sampling temperature.
number
Nucleus sampling.
object
Routing constraints for this request, applied together. zdr restricts routing to providers that do not retain content; aci_verified restricts it to an upstream verified inside the TEE; aci_session_ids pins it to specific attested channels.
If no provider satisfies the constraints the request fails before the prompt is sent, and failover retries stay inside the allowed set. Field reference: Chat Completions. See Attested routing and Zero data retention.

Example

Response

The output array contains items by type. A message item holds the assistant content; a reasoning item appears for reasoning models. Read assistant text from output[].content[].text on the message item.

Chat Completions

Models