Mistral AI

54 tools available

Mistral AI is a research lab building state-of-the-art open-source language models and providing APIs for developers and enterprises to integrate these models into their applications.

Connect Mistral AI to Definable to route to the best model per task, mix providers in one workflow, fall back on rate-limits. Personas call Mistral AI's 54 tools directly from chat or scheduled flows. Add it to your persona's available models and route requests to it where it fits best.

Common workflows with Mistral AI

01

Multi-provider routing

  1. Persona decides which model fits
  2. Calls this provider when its strengths apply
  3. Falls back to alternatives on rate-limits
02

Specialised pipeline

  1. Use this provider for one stage
  2. Pipe to a different model for the next
  3. Combine outputs in the response

Mistral AI actions 54

Every Mistral AI action below is a callable tool any Definable persona can invoke.

Append to conversation

Tool to append new entries to an existing conversation in Mistral AI. Use when you need to continue a conversation by adding new messages or inputs. This is a beta endpoint.

Create Agent

Tool to create a new AI agent with custom configuration (Beta). Use when you need to create an agent with specific model, name, instructions, and tools.

Create Agents Completion

Tool to generate completions using a Mistral AI agent with specific instructions and tools. Use when you need an agent to process messages and generate responses. Agents can use tools, follow instructions, and maintain conversation context.

Create Audio Transcription

Transcribe audio files to text using Mistral AI's Voxtral models. Use this action to convert speech in audio files to written text. Supports multiple input methods: file upload, file_id from previously uploaded files, or file_url for publicly accessible audio. The transcription supports 13 languages with automatic language detection, speaker diarization, and configurable timestamp granularities (segment or word level). Key features: - Multi-language support (English, Chinese, Hindi, Spanish, Arabic, French, Portuguese, Russian, German, Japanese, Korean, Italian, Dutch) - Speaker diarization to identify different speakers - Word and segment-level timestamps - Context biasing for domain-specific terminology - Supports common audio formats (mp3, wav, m4a, etc.) Note: Exactly one of file, file_id, or file_url must be provided. The action does not support streaming mode.

Create Chat Completion

Generate conversational responses from Mistral AI models. Supports streaming, function calling, and various model parameters. Use when you need to create chat completions with Mistral AI models for conversation, question answering, or function calling scenarios.

Create Chat Moderation

Tool to classify chat content for moderation purposes across 9 categories. Use when you need to detect harmful content, inappropriate messages, or policy violations in chat conversations.

Create Embeddings

Tool to generate vector embeddings for input text using Mistral AI embedding models. Use when you need to convert text into numerical vectors for semantic search, similarity comparison, or RAG applications.

Create FIM Completion

Generate code completions using fill-in-the-middle functionality. Use when you need to complete code between a prefix and suffix, or continue code from a prompt. Ideal for code completion, function implementation, and context-aware code generation.

Create library

Tool to create a new document library. Use when you need to group documents into a new library. Use after confirming authentication.

Create library share

Create or update sharing permissions for a library. Use to grant access to users, workspaces, or organizations. Specify the access level (Viewer or Editor) and the entity to share with. This is a beta endpoint.

Create Moderation

Tool to classify text content for moderation purposes across 9 categories. Use when you need to detect harmful content, inappropriate text, or policy violations in raw text inputs.

Create OCR

Extract text and structured data from images and documents using Mistral AI's OCR capabilities. Supports PDFs, images, tables, headers, footers, and custom structured extraction. Use when you need to digitize documents, extract invoice data, parse forms, or convert scanned documents to text.

Create or Update Agent Alias

Tool to create or update an agent version alias. Use when you need to assign a version alias (like 'production' or 'staging') to a specific agent version.

Delete agent

Permanently deletes an agent by its ID (Beta feature). Use this tool when you need to remove an agent that is no longer needed. This operation is irreversible - the agent will be permanently removed from the system.

Delete Conversation

Tool to delete a conversation by its ID (Beta). Use when you need to permanently remove a conversation. This is a beta feature.

Delete File

Delete a file by its ID from Mistral AI. Permanently removes the file and its metadata. Use List Files action first to obtain valid file IDs.

Delete library

Permanently deletes a library and all of its documents from Mistral AI. Use this tool when you need to remove an entire library including all its documents. This operation is irreversible - the library and all its documents will be permanently removed. Returns the deleted library details on success. Common errors: - 404: Library not found (already deleted or invalid library_id) - 422: Invalid UUID format for library_id

Delete library document

Permanently deletes a document from a Mistral AI library. Use this tool when you need to remove a specific document from a library. Both library_id and document_id must be valid UUIDs. This operation is irreversible - the document will be permanently removed. Returns an empty response on success (HTTP 204). Common errors: - 404: Document not found (already deleted or invalid document_id) - 422: Invalid UUID format for library_id or document_id

Delete library share

Remove sharing permissions for a library from a user, workspace, or organization. Use when you need to revoke access to a library that was previously shared. This is a beta feature.

Download File

Download the content of a previously uploaded file from Mistral AI. Returns the raw binary content of the file. Use this when you need to retrieve file data for processing, such as training data files (.jsonl) for fine-tuning. Requires a valid file_id which can be obtained from the list_files or upload_file actions.

Get Agent

Tool to retrieve details of a specific Mistral AI agent by its ID. Returns comprehensive agent information including model, instructions, tools, and configuration. Use when you need to inspect or verify an agent's settings.

Get Agent Version

Retrieve a specific version of an agent (Beta). Use when you need to get details about a particular agent version, including its configuration, tools, and metadata.

Get Conversation

Tool to retrieve details of a specific conversation. Use when you need to fetch conversation metadata including timestamps, configuration, and associated model or agent information.

Get Conversation History

Retrieve the full history of a conversation in Mistral AI. Returns all entries including messages, tool calls, function results, and agent handoffs. Use this to review conversation context or export conversation data. Note: This is a beta endpoint.

Get Conversation Messages

Retrieve all messages from a Mistral AI conversation. Use when you need to fetch the complete message history for a specific conversation.

Get document extracted text URL

Retrieve a signed URL to download the extracted text from a document in a Mistral AI library. This is a beta endpoint. Note: Only documents that undergo OCR processing (such as PDFs) will have extracted text available; plain text files that don't require OCR will return a 404 error.

Get document signed URL

Get a signed URL to download a document from a Mistral AI library. Returns a temporary URL that provides direct access to download the document content. Use this when you need to retrieve document files from a library. The signed URL is typically valid for 30 minutes.

Get Document Status

Retrieve the processing status of a document in a Mistral AI library. Use this to check if a document has finished processing after upload. Returns the document ID and its current processing status.

Get Document Text Content

Retrieve the extracted text content of a specific document from a Mistral AI library (Beta). Returns the full text content extracted from the document. Use the List Libraries action first to obtain valid library IDs, then use List Library Documents to get document IDs.

Get File Signed URL

Get a time-limited signed URL for downloading a file from Mistral AI. Use when you need a temporary download link that can be shared or used externally. The URL expires after the specified number of hours (default 24).

List Fine Tuning Jobs

List fine-tuning jobs with optional filtering and pagination. Use this tool to retrieve all fine-tuning jobs for your organization. Supports filtering by model, status, creation time, and W&B integration. Results are paginated; use 'page' and 'page_size' to navigate large result sets.

Get library

Retrieve detailed information about a specific library. Returns complete library metadata including name, description, document counts, size, timestamps, and ownership details. Use List Libraries action first to obtain valid library IDs.

Get Library Document

Retrieve metadata for a specific document in a Mistral AI library. Returns detailed information including processing status, size, summary, token counts, and timestamps. Use this to check document status after upload or to retrieve details for a known document.

Get Model

Tool to retrieve detailed information about a specific Mistral AI model by its ID. Returns model metadata including capabilities, context length, and ownership. Use when you need to inspect model specifications before using it.

List agent aliases

Retrieve all aliases for an agent version. Use to view and manage version aliases for an agent. Note: This is a beta endpoint.

List Agents

Tool to list all configured agents (Beta). Use when you need to retrieve a list of agents available in your organization.

List Agent Versions

List all versions of a specific agent. Use when you need to view the version history of an agent. Note: This is a beta endpoint.

List Batch Jobs

Tool to retrieve a list of all batch jobs with optional filtering and pagination. Use when you need to view or manage batch processing jobs.

List Conversations

List all created conversations (Beta). Use to retrieve conversation history or manage existing conversations. Supports pagination and metadata filtering.

List Files

Tool to list all files available to the user. Use when you need to view or manage uploaded files, supports pagination.

List libraries

List all document libraries accessible to your organization. Returns library metadata including id, name, description, document counts, and timestamps. Use to discover available libraries before listing or uploading documents. Note: This is a beta endpoint.

List Library Documents

List all documents in a Mistral AI document library. Returns document metadata including name, processing status, size, summary, and timestamps. Use the List Libraries action first to obtain valid library IDs. Supports pagination for large libraries.

List library shares

List all sharing permissions for a document library. Returns details about who has access to the library, including role, share type, and user/organization identifiers. Use the List Libraries action first to obtain valid library IDs. Note: This is a beta endpoint.

List Models

Tool to retrieve all available Mistral AI models including base models and fine-tuned models. Use when you need to see what models are available for chat completions, embeddings, or fine-tuning.

Reprocess document

Reprocess a document in a Mistral AI library (Beta). Use when you need to trigger reprocessing of a document, such as after updating library settings or to refresh document embeddings. Both library_id and document_id must be valid UUIDs. Returns an empty response on success (HTTP 204).

Restart Conversation

Tool to restart a conversation from a specific point (Beta). Use when you need to branch a conversation or replay it from a particular message. Creates a new conversation starting from the specified entry.

Retrieve File

Retrieve metadata of a file uploaded to Mistral AI. Returns file details including size, filename, purpose, and creation time. Use List Files action first to obtain valid file IDs.

Start Conversation

Tool to start a new conversation with a Mistral AI agent or base model. Use when initiating a conversational interaction that requires context tracking. Either 'model' or 'agent_id' must be provided. Returns a conversation_id for continuing the conversation.

Update Agent

Tool to update an existing agent's configuration. Use when you need to modify an agent's name, description, model, instructions, tools, or other settings.

Update agent version

Tool to update the current version of an agent (Beta). Use when you need to switch an agent to a different version from its available versions.

Update library

Tool to update an existing document library's properties. Use when you need to modify a library's name or description. Note: This is a beta endpoint.

Update library document

Update the metadata of a document in a Mistral AI library. Use this to modify a document's name or add/update custom attributes without re-uploading the file content. This is a beta endpoint.

Upload File

Upload a file to Mistral AI for use in fine-tuning, batch processing, or OCR. Use this tool to: - Upload .jsonl files for fine-tuning models - Upload files for batch processing requests - Upload documents for OCR processing Maximum file size: 512 MB. For fine-tuning, only .jsonl files are supported.

Upload Library Document

Upload a document to a Mistral AI library for use with RAG-enabled agents. Use this action to add documents to a library that can be accessed by Mistral AI agents. The uploaded document will be processed and indexed for retrieval-augmented generation. Prerequisites: - First obtain a valid library_id using MISTRAL_AI_LIST_LIBRARIES or MISTRAL_AI_CREATE_LIBRARY. - Supported file formats include PDF, TXT, DOC, DOCX, and other common document types. - Maximum file size is 100 MB per document.

Frequently asked questions

What can I automate with Mistral AI on Definable?

Anything Mistral AI exposes through its API. Common artificial intelligence workflows on Definable include route to the best model per task, mix providers in one workflow, fall back on rate-limits. Personas can call any of the 54 Mistral AI tools directly, then chain the result into another integration without you writing code.

How does Mistral AI authentication work?

Mistral AI uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Mistral AI integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 54 Mistral AI tools. You only need a separate Mistral AI subscription if Mistral AI itself charges per seat or per API call.

Is using Mistral AI through Definable secure?

Every call from a persona to Mistral AI is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Mistral AI on Definable?

Sign up for Definable, open the integrations page, find Mistral AI, and connect via OAuth or API key. You can immediately attach Mistral AI to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Mistral AI actions does Definable expose?

Definable exposes all 54 Mistral AI actions as callable tools — including `Append to conversation`, `Create Agent`, `Create Agents Completion`, plus 51 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Mistral AI?

Wire it up in minutes. No coding required.

← All integrations