Skip to main content
POST
Create a response
Use a model that supports the Responses protocol. Set stream: true for SSE.

Additional supported models

  • openai/gpt-6-astra
  • xai/grok-4.6
  • openai/gpt-5.5
  • openai/gpt-5.4
  • openai/gpt-5.2
Send protocol fields at the root, without a generation input wrapper. input must not be empty.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required
Example:

"openai/gpt-6-astra"

input
any
required

Non-empty protocol input. Other protocol fields are forwarded to the upstream.

stream
boolean
default:false

Response

Response or SSE stream

The response is of type object.