Responses API
POST /v1/responses — нативный прокси к Responses API
/v1/responses — нативный прокси к OpenAI Responses API. Запрос передаётся провайдеру как есть, ответ возвращается без изменений.
Поддерживается полная функциональность Responses API: tools, structured output, reasoning, previous_response_id, web search и другие возможности.
Примеры
Стриминг
Биллинг
Тарификация по полямinput_tokens, output_tokens и cached_tokens из ответа провайдера. При стриминге — из события response.completed.Авторизации
Bearer authentication header of the form Authorization: Bearer $ROUTIFY_API_KEY.
Тело
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 ID used to generate the response. Use GET /v1/models to list all available models.
Text, image, or file inputs to the model, used to generate a response. Can be a string or an array of input items.
If set to true, the response is streamed using server-sent events. The stream ends with a response.completed event.
Ответ
Successful response (JSON or SSE stream)
The response is of type object.