Skip to main content
POST
/
v1
/
responses
cURL
curl https://api.routify.ru/v1/responses \
  -H "Authorization: Bearer $ROUTIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4.1",
    "input": "Tell me a short joke."
  }'
{}
Full pass-through proxy to the OpenAI Responses API. The request is forwarded as-is; the response is returned unchanged. Supports the full Responses API feature set: tools, structured output, reasoning, previous_response_id, web search, and more.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Authorization: Bearer $ROUTIFY_API_KEY.

Body

application/json

Full OpenAI Responses API request. All fields are forwarded to the upstream provider as-is. For detailed parameter descriptions see https://developers.openai.com/api/reference/resources/responses/methods/create

model
string

Model ID used to generate the response. Use GET /v1/models to list all available models.

input

Text, image, or file inputs to the model, used to generate a response. Can be a string or an array of input items.

stream
boolean
default:false

If set to true, the response is streamed using server-sent events. The stream ends with a response.completed event.

Response

Successful response (JSON or SSE stream)

The response is of type object.