Create a new response using OpenAI’s Responses API.
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer authentication header |
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier to use |
| input | string or array | Yes | Input text or multimodal content |
| instructions | string | No | System instructions for the model |
| previous_response_id | string | No | ID of previous response for conversation continuity |
| tools | array | No | Available tools for the model to use |
| tool_choice | string or object | No | Tool selection strategy |
| temperature | float | No | Sampling temperature (0.0 to 2.0). Default: 1.0 |
| max_tokens | integer | No | Maximum tokens to generate |
| stream | boolean | No | Enable streaming response. Default: false |
| metadata | object | No | Custom metadata (max 16 key-value pairs) |