Skip to main content
POST
Create a Response

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-5"

input
string
required
Example:

"Write a short API test."

stream
boolean
default:false

Response

200 - application/json

OpenRouter-compatible response

The response is of type object.