Mistral AI
AI platform for chat completions, embeddings, models, files, agents, and generated responses.
Handles Mistral AI work across text generation, embeddings, batch jobs, model lists, files, and batch completion events.
Use Mistral AI with Snow
Snow is a personal AI assistant that builds real apps for you, and they can put Mistral AI to work.
What Snow can do with Mistral AI
These are the Mistral AI operations Snow and the apps you build with it can run. Sign in to choose which ones Snow may run without asking.
Reads34
Look at your data without changing it.
- 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 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.
- 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.
Creates6
Add something new to your account.
- 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 library
Tool to create a new document library. Use when you need to group documents into a new library. Use after confirming authentication.
- 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.
- 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.
- 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.
- 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.
Updates8
Change something that is already there.
- 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 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.
- 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.
- 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.
- 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).
- 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 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.
Deletes6
Remove something. This often cannot be undone.
- 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 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 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.
Related integrations
Ready to put Mistral AI to work?
Sign up free, build an app by chatting, and connect Mistral AI in minutes. No credit card required.