Responses
API Reference
Responses
Create a model response using the Responses API format through the attested Confidential AI gateway.
POST
Responses
Creates a model response using the Responses API request and response format. Like other inference endpoints, requests are served through the attested gateway and return an
Read assistant text from
x-receipt-id header for verification.
Endpoint
Request Body
Model id, for example
phala/qwen3.5-27b or another id returned by List Models.Input prompt. This can be a string or an array of input items.
Tool definitions the model may call.
Sampling temperature.
Nucleus sampling.
Example
Response
output[].content[].text on message items. Reasoning models may also return reasoning items.
Verification
Capturex-receipt-id from the HTTP response and verify it with Get Receipt. The receipt proves the response bytes and records whether the upstream provider was verified.

