Open A I Responses
Create response
Creates a response using the OpenAI Responses API format. Drop-in replacement for OpenAI's newer stateful-conversation surface.
When stream: true, the response is sent as Server-Sent Events (SSE) with the full output-item lifecycle (response.created, response.output_item.added, response.output_text.delta, response.completed, …). The cloud forwards the upstream provider's SSE stream unchanged.
x-api-key<token>
Anthropic-style API key header.
In: header
Request Body
application/json
OpenAI Responses API request.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.bitrouter.ai/v1/responses" \ -H "Content-Type: application/json" \ -d '{ "input": true }'{}{
"error": null
}{
"error": null
}{
"error": null
}How is this guide?