Skip to main content
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 x-receipt-id header for verification.

Endpoint

Request Body

model
string
required
Model id, for example phala/qwen3.5-27b or another id returned by List Models.
input
string | array
required
Input prompt. This can be a string or an array of input items.
tools
array
Tool definitions the model may call.
temperature
number
Sampling temperature.
top_p
number
Nucleus sampling.

Example

Response

Read assistant text from output[].content[].text on message items. Reasoning models may also return reasoning items.

Verification

Capture x-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.

Chat Completions

Verify a Response