Responses API¶
This section lists the implemented endpoints under this capability.
Create response (OpenAI Responses API)¶
POST /v1/responses
OpenAI Responses API endpoint for creating model responses. Supports multi-turn conversations, tool calls, reasoning, and more.
Authentication¶
- Bearer Token (
Authorization: Bearer <token>)
Request Body¶
- Content-Type:
application/json - Schema:
ResponsesRequest
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | yes | - |
| input | - | no | Input content, which can be a string or an array of messages |
| instructions | string | no | - |
| max_output_tokens | integer | no | - |
| temperature | number | no | - |
| top_p | number | no | - |
| stream | boolean | no | - |
| tools | array[object] | no | - |
| tool_choice | - | no | - |
| reasoning | object | no | - |
| previous_response_id | string | no | - |
| truncation | string | no | - |
Responses¶
| Status | Description | Schema |
|---|---|---|
| 200 | Response created successfully | ResponsesResponse |
Compact conversation (OpenAI Responses API)¶
POST /v1/responses/compact
OpenAI Responses API endpoint for compacting long conversations.
Authentication¶
- Bearer Token (
Authorization: Bearer <token>)
Request Body¶
- Content-Type:
application/json - Schema:
ResponsesCompactionRequest
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | yes | - |
| input | - | no | Input content, which can be a string or an array of messages |
| instructions | string | no | - |
| previous_response_id | string | no | - |
Responses¶
| Status | Description | Schema |
|---|---|---|
| 200 | Conversation compacted successfully | ResponsesCompactionResponse |