In short.
Mistral's Responses API guide is a documentation page for developers who want to call Mistral's AI models from Python, TypeScript or plain HTTP using the OpenAI Responses request format, to generate text, ask about images and documents, stream answers and call their own functions. Because the API is stateless, your application must keep and resend the conversation history on every turn. It provides Python, TypeScript and cURL examples, then explains image and document inputs, streaming, function calls and input-token counting. The examples use mistral-large-4 with high reasoning effort and a 4,096-token output budget; these are example settings, not established service limits. Vision and reasoning support depend on the model. Full compatibility with existing integrations, pricing, licensing and data-handling terms are not established by this page. No code or API requests were executed, so working behavior, performance and output quality are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete captured page at [https://docs.mistral.ai/inference/conversations/responses.md], including its support notice, feature list and all examples. The support notice directs readers to Mistral support; the page supplies no pricing or licensing notice. Linked API, reasoning, vision, document-processing, function-calling, API-key and support pages, along with the external sample document, are excluded. No installation, SDK call, HTTP request, model response, stream, image or document operation, token count or function flow was executed. Operational behavior and performance remain unassessed.
The overview
identity
This is Mistral's developer guide to its stateless Responses API at [https://docs.mistral.ai/inference/conversations/responses.md]. It explains how to use Mistral models through the OpenAI Responses format.
The resource is an instructional page covering request construction and response handling. It is useful both for starting an application and for understanding how an existing Responses integration might connect to Mistral.
assessment
The guide gives developers concrete starting points: SDK installation commands, authentication setup, request examples and the steps needed to continue a conversation or complete a function call. Its strongest practical value is explaining what the application must do around the model.
It supports an initial implementation, but it does not establish production reliability or complete compatibility with every OpenAI Responses feature. The documented format makes migration plausible; the amount of migration work remains unknown for any particular application.
users
The intended readers are developers building text assistants, image or document question-answering features, and applications that call their own functions. Developers with an existing Responses integration are explicitly addressed.
Beginners get short examples in Python, TypeScript and cURL, but still need basic programming and API knowledge. Experienced developers get details about output items, streaming events, tool selection and matching function results to calls. TypeScript and cURL versions are given only for the first text request and input-token counting; the image, document, streaming, conversation-history and function-calling examples are Python only.
capabilities
Documented features include text input and output, image input, file input, JSON mode and JSON Schema through text.format, streaming, and client-executed functions including namespaces. Images can use URLs or base64 data URLs with a vision-capable model. Files can use HTTPS URLs, base64 data URLs or uploaded file IDs. Image and file inputs are supported in user messages and function results.
The API also documents model-dependent reasoning effort and plaintext reasoning, streaming events for text and function arguments, and input-token counting through POST [https://api.mistral.ai/v1/responses/input_tokens]. These are documented capabilities; their behavior was not independently assessed.
Using it
requirements
The examples require a Mistral API key. SDK examples read it from MISTRAL_API_KEY; the HTTP example supplies bearer authentication. Developers can use the Mistral Python SDK, TypeScript SDK or direct HTTP requests.
The chosen model must support the requested features, particularly vision and the selected reasoning effort. The application must retain conversation history and implement any functions it exposes. Minimum language and SDK versions, account entitlements and detailed model support are not specified on this page.
mechanism
Requests send a model and input to the Responses endpoint. A response contains an output array that can include messages, reasoning and function calls. To extract answer text, the examples inspect message items and then their output_text content parts.
For another conversation turn, the application appends every previous output item to its history, adds the next user message and resends that history. For a function call, the model supplies the function name and arguments; the application validates the arguments, executes the function and returns a function_call_output with the matching call_id.
Streaming delivers events through frame.data. Text arrives in response.output_text.delta events, while response.completed indicates completion. The guide says applications should also handle response.failed, response.incomplete and error events.
setup
The guide instructs Python users to install with pip install -U mistralai and TypeScript users with npm install @mistralai/mistralai@latest, then set MISTRAL_API_KEY. Python imports Mistral from mistralai.client; TypeScript imports it from @mistralai/mistralai.
The first request uses client.responses.create with mistral-large-4, a greeting prompt, high reasoning effort and a 4,096-token output budget. The HTTP alternative posts JSON to [https://api.mistral.ai/v1/responses] and explicitly sets store to false. The installation commands do not pin an SDK version.
example
For an order-status assistant, the guide defines get_delivery_status with a required string order_id. Its request uses tool_choice to select that function and sets parallel_tool_calls to false. The application then finds the function_call item in the response.
The example appends all response output items to history and adds a function_call_output containing the matching call_id and a sample status for order A123. A second request lets the model use that result in its answer. The status is illustrative: no real delivery lookup or observed model answer is supplied.
Assessment & evidence
limitations
Conversation state is an application responsibility. Earlier output items must be included in later requests, and the page does not demonstrate history truncation or another strategy for managing long conversations.
Vision and reasoning features depend on the model. For file inputs, exactly one of file_url, file_data or file_id must be supplied. Detailed file-format limits, file-size limits, context limits and rate limits are not given. The 4,096-token setting is an example output budget, not a documented service maximum.
The page does not enumerate complete OpenAI Responses compatibility or supply measured accuracy, latency, reliability or throughput. No runtime behavior was tested.
reasoning
The guide is a plausible fit when an application already manages message history and executes its own functions, because those responsibilities directly match the documented interaction pattern. That is an inference from the examples, not evidence that a particular integration will work unchanged.
The API exposes reasoning.effort and may return plaintext reasoning depending on the model. The examples choose high effort, but provide no comparison showing its effect on answer quality, response time or cost.
alternatives
Within the documented approach, developers can choose the Python SDK, TypeScript SDK or direct HTTP. The direct HTTP example shows the endpoint, authorization header and JSON request without requiring a Mistral SDK. TypeScript and cURL versions are given only for the first text request and input-token counting; the image, document, streaming, conversation-history and function-calling examples are Python only.
The page names existing OpenAI Responses integrations as a migration scenario, but gives no side-by-side provider comparison. It does not establish whether Mistral is preferable to another API or whether switching would improve cost or performance.
evidence
The sole source is Mistral's complete Responses API documentation page at [https://docs.mistral.ai/inference/conversations/responses.md]. It contains a supported-feature list, installation instructions and examples for generation, image and document inputs, streaming, history, functions and token counting.
The examples describe intended usage rather than observed results. No code, API requests, document processing, streaming or function execution was performed. Linked references and the external sample document are outside the available source.
Access & freshness
costs
The page supplies no prices, free allowance, billing rules or quotas, so usage costs are unknown.
The input-token counting endpoint accepts the planned model, input, instructions and tools, and returns input_tokens. This can help quantify request size, including growing conversation history, but the page provides no rates for converting that count into a cost estimate.
rights
The selected page states no license for redistributing its documentation or sample code. It also does not provide service terms, output-use rights or model-license conditions. Commercial-use and redistribution permissions cannot be determined from this page.
Data retention, use of submitted content for training and regional processing arrangements are not specified. The description of the API as stateless establishes how conversation context is supplied; it does not establish those data-handling terms.
freshness
The supplied page capture is dated 15 November 2026 at 12:03:03.985 UTC. The page itself gives no publication date or last-updated date.
Its examples name mistral-large-4, while the installation commands request updated SDK packages without pinning releases. Current endpoint availability and working SDK/model combinations are not independently established by the capture.
actions
Start with the documented greeting request and extract output_text from message items. For a conversational application, add complete output-item replay before extending it with images, documents or functions.
For function integration, validate arguments before execution and return results with the matching call_id. For streaming, implement completion, failure, incomplete-response and error handling.
Before committing to a deployment, confirm the chosen model's feature support, the installed SDK's compatibility, relevant input limits, pricing and service terms. The page links to the API reference at [https://docs.mistral.ai/api/endpoint/responses], but that reference's contents are not covered here.
