Create a response
Create a response from a string or an array of input items (messages, tool call and tool output items, and reasoning items from an earlier turn). Function, custom, namespace, shell, local shell, apply patch and client tool search tools are supported, and strict, tool_choice (including allowed_tools) and parallel_tool_calls: false are enforced. Reasoning comes back as a reasoning item with encrypted_content you can send back unchanged, readable reasoning_text content, and a summary when reasoning.summary is set. Responses are stored for 30 days by default (store), so a later request can continue from one with previous_response_id, or keep its turns in a conversation; with background: true the response runs on its own and is retrieved later. See the Responses API compatibility table and Data retention in the introduction.
Request
- Base URLhttps://api.openscale.so/v1
- URLhttps://api.openscale.so/v1/responses
- AuthHTTP bearer
Request body
Response
The response, or a typed SSE stream when stream is true.
Example response
{
"id": "resp_example",
"output": [
{
"id": "msg_example"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.