Create a response
OpenAI Responses format, streaming included.
OpenAI Responses format. Send stream: true for Server-Sent Events (response.created, response.output_text.delta, response.completed, …). The x-bitrouter-request-id response header identifies the request for settlement.
x-api-key: <key>. Anthropic SDKs send this.
In: header
Request Body
application/json
OpenAI Responses API request.
TypeScript Definitions
Use the request body type in TypeScript.
Responses request body (https://platform.openai.com/docs/api-reference/responses/create).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/responses" \ -H "Content-Type: application/json" \ -d '{ "input": true }'{}How is this guide?