OpenResponses API
mistral.rs supports the OpenResponses API specification.
Endpoints
POST /v1/responses- Create a responseGET /v1/responses/{id}- Retrieve a responseDELETE /v1/responses/{id}- Delete a responsePOST /v1/responses/{id}/cancel- Cancel a background response
Unsupported Parameters
The following parameters are accepted for API compatibility but will return errors if set to non-default values:
| Parameter | Behavior |
|---|---|
parallel_tool_calls | Only true or omitted is supported; false returns an error |
max_tool_calls | Not supported; setting any value returns an error |
mistral.rs Extensions
These additional parameters are available beyond the spec:
stop- Stop sequencesrepetition_penalty- Token repetition penaltytop_k- Top-k samplinggrammar- Constrained generation grammarmin_p- Min-p samplingdry_multiplier,dry_base,dry_allowed_length,dry_sequence_breakers- DRY samplingweb_search_options- Web search integration
See HTTP.md for usage examples.