> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mistral AI

> How to set up the Mistral AI connector, plus the actions that are available.

![Mistral AI](https://stackone-logos.com/api/mistral-ai/filled/svg)

v1.2.1[See changelog](https://docs.stackone.com/connectors/mistral/changelog.md)

[68 actions](#actions) · 1 auth method

AI
IAM

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/mistral/guides/connector-profile/api-key.md)
>
> Authenticate using a Mistral AI API key generated from the Mistral AI console. An optional Admin API key from the Backof...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/mistral/guides/link-account/api-key.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

68 actions

ActionDescription

Create Chat Completion`mistral_create_chat_completion`

Generate a chat response from a Mistral model given a conversation history.

Create Embeddings`mistral_create_embeddings`

Generate vector embeddings for one or more text inputs using a Mistral embedding model.

Create FIM Completion`mistral_create_fim_completion`

Generate code completions using the fill-in-the-middle (FIM) pattern for code infill.

Create OCR`mistral_create_ocr`

Extract text and structured data from documents and images using Mistral's OCR model.

Create Moderation`mistral_create_moderation`

Classify text input for policy violations and harmful content using a Mistral moderation model.

Create Chat Moderation`mistral_create_chat_moderation`

Classify a full chat conversation for policy violations using a Mistral moderation model.

Create Classification`mistral_create_classification`

Classify text using a fine-tuned Mistral classifier model.

Create Chat Classification`mistral_create_chat_classification`

Classify a chat conversation using a fine-tuned Mistral classifier model.

List Models`mistral_list_models`

List all available Mistral models accessible to the organization.

Get Model`mistral_get_model`

Retrieve metadata and capabilities for a specific Mistral model by ID.

Delete Fine-Tuned Model`mistral_delete_model`

Permanently delete a fine-tuned model from the organization.

Update Fine-Tuned Model`mistral_update_fine_tuned_model`

Update the name or description of a fine-tuned model.

Archive Fine-Tuned Model`mistral_archive_fine_tuned_model`

Archive a fine-tuned model to disable inference on it without deleting it.

Unarchive Fine-Tuned Model`mistral_unarchive_fine_tuned_model`

Restore an archived fine-tuned model to active status for inference.

List Files`mistral_list_files`

List all files uploaded to the Mistral AI organization.

Get File`mistral_get_file`

Retrieve metadata for a specific uploaded file by its ID.

Delete File`mistral_delete_file`

Permanently delete an uploaded file from the Mistral AI organization.

Download File`mistral_download_file`

Download the raw content of an uploaded file by its ID.

Get File Signed URL`mistral_get_file_signed_url`

Generate a temporary signed URL to access a specific file without exposing API credentials.

List Batch Jobs`mistral_list_batch_jobs`

List all asynchronous batch processing jobs for the organization.

Create Batch Job`mistral_create_batch_job`

Create an asynchronous batch inference job to process large numbers of requests at reduced cost.

Get Batch Job`mistral_get_batch_job`

Retrieve the details and current status of a specific batch job.

Cancel Batch Job`mistral_cancel_batch_job`

Request cancellation of a running batch processing job.

List Agents`mistral_list_agents`

List all agent entities in the Mistral AI organization.

Create Agent`mistral_create_agent`

Create a new Mistral agent with custom instructions, tools, and a backing model.

Get Agent`mistral_get_agent`

Retrieve the configuration and metadata for a specific Mistral agent.

Update Agent`mistral_update_agent`

Modify an agent's configuration and create a new version with the updated settings.

Delete Agent`mistral_delete_agent`

Permanently delete a Mistral agent and all its versions.

List Agent Versions`mistral_list_agent_versions`

List all versions of a specific Mistral agent.

Get Agent Version`mistral_get_agent_version`

Retrieve the configuration for a specific version of a Mistral agent. Use list\_agent\_versions to discover available vers...

Update Agent Active Version`mistral_update_agent_version`

Switch the active version of a Mistral agent to a specific version number.

List Agent Aliases`mistral_list_agent_aliases`

List all version aliases for a specific Mistral agent.

Create Or Update Agent Alias`mistral_create_or_update_agent_alias`

Create or update a named version alias for a Mistral agent.

Delete Agent Alias`mistral_delete_agent_alias`

Remove a named version alias from a Mistral agent.

List Conversations`mistral_list_conversations`

List all stored conversations in the Mistral AI organization.

Create Conversation`mistral_create_conversation`

Create a new persistent conversation and run an initial completion.

Get Conversation`mistral_get_conversation`

Retrieve metadata for a specific stored conversation.

Append Conversation Entries`mistral_append_conversation_entries`

Append new messages to an existing conversation and run a completion.

Delete Conversation`mistral_delete_conversation`

Permanently delete a stored conversation and its full message history.

Get Conversation History`mistral_get_conversation_history`

Retrieve the full entry history of a conversation including tool calls and results.

Get Conversation Messages`mistral_get_conversation_messages`

Retrieve all user and assistant messages in a conversation.

Restart Conversation`mistral_restart_conversation`

Restart a conversation from a specific entry point, branching the conversation history. Use get\_conversation\_history to...

List Libraries`mistral_list_libraries`

List all document libraries available in the Mistral AI organization.

Create Library`mistral_create_library`

Create a new document library for indexing documents for RAG retrieval.

Get Library`mistral_get_library`

Retrieve metadata for a specific document library.

Update Library`mistral_update_library`

Update the name or description of an existing document library.

Delete Library`mistral_delete_library`

Permanently delete a document library and all its indexed documents.

Upload Library Document`mistral_upload_library_document`

Upload a document to a Mistral document library for indexing and RAG search.

List Library Documents`mistral_list_library_documents`

List all documents in a specific Mistral document library.

Get Library Document`mistral_get_library_document`

Retrieve metadata for a specific document in a Mistral library.

Delete Library Document`mistral_delete_library_document`

Remove a document from a Mistral document library.

Get Library Document Text Content`mistral_get_library_document_text_content`

Retrieve the extracted text content of a specific document in a Mistral library.

Get Library Document Status`mistral_get_library_document_status`

Retrieve the processing status of a specific document in a Mistral library.

Get Library Document Signed URL`mistral_get_library_document_signed_url`

Retrieve a temporary signed URL to access a specific document in a Mistral library.

Get Library Document Extracted Text Signed URL`mistral_get_library_document_extracted_text_signed_url`

Retrieve a signed URL to access the OCR-extracted text of a document in a Mistral library.

Reprocess Library Document`mistral_reprocess_library_document`

Trigger reprocessing of a document in a Mistral library.

List Library Accesses`mistral_list_library_accesses`

List all entities that have been granted access to a Mistral library.

Create Or Update Library Access`mistral_create_or_update_library_access`

Grant or update access to a Mistral library for a user, workspace, or organization.

Delete Library Access`mistral_delete_library_access`

Revoke access to a Mistral library for a user, workspace, or organization. Use list\_library\_accesses to find the share\_w\...

Get Unified Credentials`mistral_unified_get_me`

Get the current Mistral AI connection's unified credentials and identity.

List Unified Groups`mistral_unified_list_groups`

List unified groups in Mistral AI.

Get Unified Group`mistral_unified_get_group`

Get a unified Mistral AI group by ID.

List Unified Organizations`mistral_unified_list_organizations`

List unified organizations in Mistral AI.

Get Unified Organization`mistral_unified_get_organization`

Get a unified Mistral AI organization by ID.

List Unified Roles`mistral_unified_list_roles`

List unified roles in Mistral AI.

Get Unified Role`mistral_unified_get_role`

Get a unified Mistral AI role by ID.

List Unified Users`mistral_unified_list_users`

List unified users in Mistral AI.

Get Unified User`mistral_unified_get_user`

Get a unified Mistral AI user by ID.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.