Mistral AI integration (AI). Imported from open-connector.
https://api.mistral.ai/v1/models
/v1/models/{model_id}
| Param | Type | Required | Description |
|---|---|---|---|
| model_id | string | required | Model ID. |
/v1/conversations
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number, starting from 0. |
| page_size | integer | optional | The number of items returned per page. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
/v1/conversations
| Param | Type | Required | Description |
|---|---|---|---|
| inputs | string | required | Conversation initial input. |
| stream | boolean | optional | Whether to use streaming responses. This connector only supports false or omitt… |
| store | boolean | optional | Whether to persist the conversation. |
| handoff_execution | string | optional | Handoff execution method. |
| instructions | string | optional | Conversation-level instructions. |
| tools | array | optional | Tools available for this conversation. |
| completion_args | object | optional | Completion parameter configuration accepted by Mistral. |
| guardrails | array | optional | Guardrails to apply. |
| name | string | optional | Conversation name. |
| description | string | optional | Conversation description. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| agent_id | string | optional | Agent ID. |
| agent_version | string | optional | Version number or version alias. |
| model | string | optional | Direct model identifier to use. |
/v1/conversations/{conversation_id}
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Conversation ID. |
/v1/conversations/{conversation_id}
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Conversation ID. |
/v1/conversations/{conversation_id}
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Conversation ID. |
| inputs | string | required | Input to append to the conversation. |
| completion_args | object | optional | Completion parameter configuration accepted by Mistral. |
| handoff_execution | string | optional | Handoff execution method. |
| store | boolean | optional | Whether to persist storage. |
| tool_confirmations | array | optional | Tool call confirmations. |
/v1/conversations/{conversation_id}/history
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Conversation ID. |
/v1/conversations/{conversation_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Conversation ID. |
/v1/conversations/{conversation_id}/restart
| Param | Type | Required | Description |
|---|---|---|---|
| conversation_id | string | required | Conversation ID. |
| from_entry_id | string | required | Entry ID to restart from. |
| inputs | string | optional | Input to continue after restarting. |
| completion_args | object | optional | Completion parameter configuration accepted by Mistral. |
| handoff_execution | string | optional | Handoff execution method. |
| guardrails | array | optional | Guardrails to apply. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| store | boolean | optional | Whether to persist storage. |
| stream | boolean | optional | Whether to use streaming responses. This connector only supports false or omitt… |
| agent_version | string | optional | Version number or version alias. |
/v1/agents
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number, starting from 0. |
| page_size | integer | optional | The number of items returned per page. |
| deployment_chat | boolean | optional | Whether to return only deployment_chat agents. |
| sources | array | optional | A list of strings. |
| name | string | optional | Filter by agent name. |
| search | string | optional | Search by name or ID. |
| id | string | optional | Filter by exact agent ID. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
/v1/agents
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | The default model used by the agent. |
| name | string | required | Agent name. |
| instructions | string | optional | Agent instructions. |
| tools | array | optional | Tools available to the agent. |
| completion_args | object | optional | Completion parameter configuration accepted by Mistral. |
| guardrails | array | optional | Guardrails to apply. |
| description | string | optional | Agent description. |
| handoffs | array | optional | A list of strings. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| version_message | string | optional | Version message for this update. |
/v1/agents/{agent_id}
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| agent_version | string | optional | Version number or version alias. |
/v1/agents/{agent_id}
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| model | string | optional | Updated model. |
| name | string | optional | Updated agent name. |
| instructions | string | optional | Updated instructions. |
| tools | array | optional | Updated tool list. |
| completion_args | object | optional | Completion parameter configuration accepted by Mistral. |
| guardrails | array | optional | Guardrails to apply. |
| description | string | optional | Updated description. |
| handoffs | array | optional | A list of strings. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| deployment_chat | boolean | optional | Whether to enable deployment chat. |
| version_message | string | optional | Version message for this update. |
/v1/agents/{agent_id}
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
/v1/agents/{agent_id}/version
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| version | integer | required | The target version number. |
/v1/agents/{agent_id}/versions
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| page | integer | optional | Page number, starting from 0. |
| page_size | integer | optional | The number of items returned per page. |
/v1/agents/{agent_id}/versions/{version}
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| version | string | required | Version number or version alias. |
/v1/agents/{agent_id}/aliases
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| alias | string | required | Agent alias name. |
| version | integer | required | Version number. |
/v1/agents/{agent_id}/aliases
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
/v1/chat/completions
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | Model ID. |
| messages | array | required | List of chat messages. |
| temperature | number | optional | Sampling temperature. |
| top_p | number | optional | Nucleus sampling threshold. |
| max_tokens | integer | optional | The maximum number of generated tokens. |
| stream | boolean | optional | Whether to use streaming responses. This connector only supports false or omitt… |
| stop | string | optional | Stop generating conditions. |
| random_seed | integer | optional | Random seed. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| response_format | object | optional | Response format configuration accepted by Mistral. |
| tools | array | optional | Tools available for the request. |
| tool_choice | string | optional | Tool calling strategy. |
| presence_penalty | number | optional | Presence penalty. |
| frequency_penalty | number | optional | Frequency penalty. |
| n | integer | optional | Number of candidates. |
| prediction | object | optional | Predictive optimization configuration. |
| parallel_tool_calls | boolean | optional | Whether to enable parallel tool invocation. |
| prompt_mode | string | optional | Prompt mode. |
| reasoning_effort | string | optional | Reasoning strength. |
| guardrails | array | optional | Guardrail configurations. |
| safe_prompt | boolean | optional | Whether to inject safety prompts. |
/v1/fim/completions
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | Model ID. |
| prompt | string | required | The prefix content to complete. |
| suffix | string | optional | Completed suffix context. |
| temperature | number | optional | Sampling temperature. |
| top_p | number | optional | Nucleus sampling threshold. |
| max_tokens | integer | optional | The maximum number of generated tokens. |
| min_tokens | integer | optional | Minimum number of generated tokens. |
| stream | boolean | optional | Whether to use streaming responses. This connector only supports false or omitt… |
| stop | string | optional | Stop generating conditions. |
| random_seed | integer | optional | Random seed. |
/v1/agents/completions
| Param | Type | Required | Description |
|---|---|---|---|
| agent_id | string | required | Agent ID. |
| messages | array | required | Messages sent to the agent. |
| temperature | number | optional | Sampling temperature. |
| top_p | number | optional | Nucleus sampling threshold. |
| max_tokens | integer | optional | The maximum number of generated tokens. |
| stream | boolean | optional | Whether to use streaming responses. This connector only supports false or omitt… |
| stop | string | optional | Stop generating conditions. |
| random_seed | integer | optional | Random seed. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| response_format | object | optional | Response format configuration accepted by Mistral. |
| tools | array | optional | Tools added in this request. |
| tool_choice | string | optional | Tool calling strategy. |
| presence_penalty | number | optional | Presence penalty. |
| frequency_penalty | number | optional | Frequency penalty. |
| n | integer | optional | Number of candidates. |
| prediction | object | optional | Predictive optimization configuration. |
| parallel_tool_calls | boolean | optional | Whether to enable parallel tool invocation. |
| prompt_mode | string | optional | Prompt mode. |
| reasoning_effort | string | optional | Reasoning strength. |
/v1/embeddings
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | Model ID. |
| input | string | required | Text to embed. |
| metadata | object | optional | Any JSON object accepted by the Mistral API. |
| output_dimension | integer | optional | Output vector dimensions. |
| output_dtype | string | optional | Output vector data type. |
| encoding_format | string | optional | Vector encoding format. |
/v1/moderations
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | Model ID. |
| input | string | required | Text pending review. |
/v1/chat/moderations
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | Model ID. |
| input | array | required | Chat content pending review. |
/v1/ocr
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | Model ID. |
| id | string | optional | Custom ID for this OCR request. |
| document | object | required | OCR document or image reference accepted by Mistral. |
| pages | array | optional | Only process specified pages. |
| include_image_base64 | boolean | optional | Whether to include extracted image base64 data. |
| image_limit | integer | optional | Maximum number of images to extract. |
| image_min_size | integer | optional | Minimum image size to extract. |
| bbox_annotation_format | object | optional | Response format configuration accepted by Mistral. |
| document_annotation_format | object | optional | Response format configuration accepted by Mistral. |
| document_annotation_prompt | string | optional | Prompt for structured document extraction. |
| confidence_scores_granularity | string | optional | Confidence granularity. |
| table_format | string | optional | Table output format. |
| extract_header | boolean | optional | Whether to extract the header. |
| extract_footer | boolean | optional | Whether to extract the footer. |
| bbox_annotation_format_prompt | string | optional | Prompt for bbox structured extraction. |
| document_annotation_prompt_extra | string | optional | Additional document prompt words. |
/v1/audio/transcriptions
| Param | Type | Required | Description |
|---|---|---|---|
| file | object | optional | File content to upload to Mistral. |
| file_id | string | optional | File ID. |
| context_bias | array | optional | Context bias phrases. |
| diarize | boolean | optional | Whether to diarize speakers. |
| language | string | optional | Audio language code. |
| model | string | required | Model ID. |
| temperature | number | optional | Sampling temperature. |
| timestamp_granularities | array | optional | Timestamp granularities to include. |
/v1/files
| Param | Type | Required | Description |
|---|---|---|---|
| after | string | optional | The previous page cursor file ID. |
| limit | integer | optional | Maximum number of files. |
| order | string | optional | Sort direction. |
/v1/files
| Param | Type | Required | Description |
|---|---|---|---|
| file | object | required | File content to upload to Mistral. |
| purpose | string | optional | File usage, such as fine-tune, batch, or ocr. |
| visibility | string | optional | File visibility, such as workspace or user. |
| expiry | integer | optional | The number of hours before the file expires. |
/v1/files/{file_id}
| Param | Type | Required | Description |
|---|---|---|---|
| file_id | string | required | File ID. |
/v1/files/{file_id}
| Param | Type | Required | Description |
|---|---|---|---|
| file_id | string | required | File ID. |
/v1/files/{file_id}/content
| Param | Type | Required | Description |
|---|---|---|---|
| file_id | string | required | File ID. |
/v1/files/{file_id}/url
| Param | Type | Required | Description |
|---|---|---|---|
| file_id | string | required | File ID. |
| expiry | integer | optional | The number of hours the signed link remains valid. |
/v1/fine_tuning/jobs
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number, starting from 0. |
| page_size | integer | optional | The number of items returned per page. |
| model | string | optional | Filter by base model. |
| status | string | optional | Filter by task status. |
| suffix | string | optional | Filter by model suffix. |
| wandb_name | string | optional | Filter by Weights & Biases run name. |
| wandb_project | string | optional | Filter by Weights & Biases project. |
| created_after | string | optional | Only tasks created after this time are returned. |
| created_before | string | optional | Only tasks created before this time are returned. |
| created_by_me | boolean | optional | Whether to return only tasks created by the current caller. |
/v1/batch/jobs
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number, starting from 0. |
| page_size | integer | optional | The number of items returned per page. |
| model | string | optional | Filter by model. |
| status | string | optional | Filter by task status. |
| agent_id | string | optional | Agent ID. |
| metadata | string | optional | Filter by metadata string. |
| created_after | string | optional | Only tasks created after this time are returned. |
| created_by_me | boolean | optional | Whether to return only tasks created by the current caller. |
/v1/libraries
| Param | Type | Required | Description |
|---|---|---|---|
| limit | integer | optional | Maximum number of libraries. |
| page_token | string | optional | Pagination token. |
/v1/libraries
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | Library name. |
| description | string | optional | Library description. |
| chunk_size | integer | optional | Document chunk size. |
/v1/libraries/{library_id}
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
/v1/libraries/{library_id}
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| name | string | optional | Updated library name. |
| description | string | optional | Updated library description. |
/v1/libraries/{library_id}
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
/v1/libraries/{library_id}/documents
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| page | integer | optional | Page number, starting from 0. |
| page_size | integer | optional | The number of items returned per page. |
| search | string | optional | Document search keywords. |
| filters_attributes | string | optional | Property filter expression. |
| sort_by | string | optional | Sort field. |
| sort_order | string | optional | Sort direction. |
/v1/libraries/{library_id}/documents
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| file | object | required | File content to upload to Mistral. |
/v1/libraries/{library_id}/documents/{document_id}
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/documents/{document_id}
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
| name | string | optional | Updated document name. |
| attributes | object | optional | Knowledge base document attributes. |
/v1/libraries/{library_id}/documents/{document_id}
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/documents/{document_id}/text_content
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/documents/{document_id}/status
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/documents/{document_id}/signed-url
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/documents/{document_id}/reprocess
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| document_id | string | required | Knowledge base document ID. |
/v1/libraries/{library_id}/share
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
/v1/libraries/{library_id}/share
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| level | string | required | Sharing permission level. |
| org_id | string | optional | Organization ID. |
| share_with_uuid | string | required | The UUID of the shared object. |
| share_with_type | string | required | The entity type of the shared object. |
/v1/libraries/{library_id}/share
| Param | Type | Required | Description |
|---|---|---|---|
| library_id | string | required | Knowledge base library ID. |
| org_id | string | optional | Organization ID. |
| share_with_uuid | string | required | The UUID of the object to unshare. |
| share_with_type | string | required | The object entity type to unshare. |