Create a response
Create a response with the OpenAI Responses API. Send a string or a list of items in input. Set the system prompt with instructions.
- Continue a conversation with previous_response_id. The server restores its history from responses created with store: true.
- Set stream: true to receive response events.
- Set background: true to generate a response asynchronously, then poll or attach later. A background response is stored.
- Use function tools or text.format with json_schema for structured output.
A response is not stored by default, unlike OpenAI. Send store: true to keep it for 30 days. A max_output_tokens above the output maximum of the model uses that maximum.
Request
- Base URLhttps://api.munito.ai/inference/v1
- URLhttps://api.munito.ai/inference/v1/responses
- Auth
- HTTP bearer
- or API key in header x-api-key
Headers
priority, standard or flex. The response names the tier that is billed; see x-ratelimit-over-limit. See Service tiers.
An opaque token. Send it back with the next request of the conversation, so that the prompt cache can serve it. Without it, the API uses prompt_cache_key, x-session-affinity or user, or metadata.user_id on the Messages API, for the same purpose.
off, model, class or any: what may serve a chat request that its own capacity refuses. The response names the step that served it. Off by default. The request keeps its region, and you pay the price of the model that you asked for. Flex, background and free-tier requests do not overflow.
Request body
Example request
{
"model": "qwen/qwen3.8-27b"
}Response
The response object: the same shape that the final response.completed stream event carries.
Changes
No recorded changes to this operation across all 1 revision of this API.