Mistral AI Models API

Model management operations

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /models List available models · Mistral AI List available models #
Ask an LLM
“Which Mistral models are available to me?”
“Can I see both platform and my own fine-tuned models in one list?”
Tell an agent
List all available models.
Show every model I can use.
GET /models/{model_id} Get a model's details · Mistral AI Get model details #
Ask an LLM
“What are the details of a specific model?”
“Can I look up one model by its ID?”
Tell an agent
Get the details of model {model_id}.
Show me the metadata of model {model_id}.
PATCH /models/{model_id} Rename or redescribe a fine-tuned model · Mistral AI Update a fine-tuned model #
Ask an LLM
“Can I rename a fine-tuned model?”
“Is it possible to change a model's description?”
Tell an agent
Rename my model {model_id} to {name}.
Update the description of model {model_id} to {description}.
DELETE /models/{model_id} Delete a fine-tuned model · Mistral AI Delete a fine-tuned model #
Ask an LLM
“Can I delete a fine-tuned model I no longer use?”
“Are platform models deletable?”
Tell an agent destructive · confirm first
Delete my fine-tuned model {model_id}.
Remove model {model_id} permanently.
POST /models/{model_id}/archive Archive a fine-tuned model · Mistral AI Archive a fine-tuned model #
Ask an LLM
“Can I archive a fine-tuned model so it can't be used for inference?”
“What happens to an archived model?”
Tell an agent
Archive my fine-tuned model {model_id}.
Remove model {model_id} from the active models list.
POST /models/{model_id}/unarchive Restore an archived fine-tuned model · Mistral AI Unarchive a fine-tuned model #
Ask an LLM
“Can I bring an archived model back into use?”
“How do I restore a fine-tuned model I archived?”
Tell an agent
Unarchive my fine-tuned model {model_id}.
Restore model {model_id} so it can be used for inference again.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mistral:mistral-models-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mistral-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mistral AI Models API
  description: Models management API for listing available models, retrieving model details, and managing fine-tuned models including archiving, unarchiving, and updating model metadata.
  version: '1.0'
  contact:
    name: Mistral AI Support
    url: https://docs.mistral.ai/
    email: support@mistral.ai
  termsOfService: https://mistral.ai/terms/
servers:
- url: https://api.mistral.ai/v1
  description: Mistral AI Production
security:
- bearerAuth: []
tags:
- name: Models
  description: Model management operations
paths:
  /models:
    get:
      operationId: listModels
      summary: Mistral AI List available models
      description: Retrieve a list of all available models, including both Mistral platform models and user fine-tuned models.
      tags:
      - Models
      responses:
        '200':
          description: List of models
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
        '401':
          description: Unauthorized
  /models/{model_id}:
    get:
      operationId: getModel
      summary: Mistral AI Get model details
      description: Retrieve details of a specific model by ID.
      tags:
      - Models
      parameters:
      - $ref: '#/components/parameters/modelId'
      responses:
        '200':
          description: Model details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        '401':
          description: Unauthorized
        '404':
          description: Model not found
    patch:
      operationId: updateModel
      summary: Mistral AI Update a fine-tuned model
      description: Update metadata of a fine-tuned model, such as its name or description. Only applicable to user fine-tuned models.
      tags:
      - Models
      parameters:
      - $ref: '#/components/parameters/modelId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateModelRequest'
      responses:
        '200':
          description: Model updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Model not found
    delete:
      operationId: deleteModel
      summary: Mistral AI Delete a fine-tuned model
      description: Delete a user fine-tuned model. Platform models cannot be deleted.
      tags:
      - Models
      parameters:
      - $ref: '#/components/parameters/modelId'
      responses:
        '200':
          description: Model deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteModelResponse'
        '401':
          description: Unauthorized
        '404':
          description: Model not found
  /models/{model_id}/archive:
    post:
      operationId: archiveModel
      summary: Mistral AI Archive a fine-tuned model
      description: Archive a fine-tuned model to remove it from the active models list. Archived models cannot be used for inference.
      tags:
      - Models
      parameters:
      - $ref: '#/components/parameters/modelId'
      responses:
        '200':
          description: Model archived
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        '401':
          description: Unauthorized
        '404':
          description: Model not found
  /models/{model_id}/unarchive:
    post:
      operationId: unarchiveModel
      summary: Mistral AI Unarchive a fine-tuned model
      description: Restore an archived fine-tuned model so it can be used for inference again.
      tags:
      - Models
      parameters:
      - $ref: '#/components/parameters/modelId'
      responses:
        '200':
          description: Model unarchived
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        '401':
          description: Unauthorized
        '404':
          description: Model not found
components:
  schemas:
    UpdateModelRequest:
      type: object
      properties:
        name:
          type: string
          description: New name for the model
        description:
          type: string
          description: New description for the model
    DeleteModelResponse:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
          - model
        deleted:
          type: boolean
    ModelList:
      type: object
      properties:
        object:
          type: string
          enum:
          - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Model'
    Model:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the model
        object:
          type: string
          enum:
          - model
        created:
          type: integer
          description: Unix timestamp when the model was created
        owned_by:
          type: string
          description: Organization that owns the model
        name:
          type:
          - string
          - 'null'
          description: Human-readable name of the model
        description:
          type:
          - string
          - 'null'
          description: Description of the model
        max_context_length:
          type: integer
          description: Maximum context length in tokens
        aliases:
          type: array
          items:
            type: string
          description: Alternative names that can be used to reference the model
        deprecation:
          type:
          - string
          - 'null'
          format: date-time
          description: Deprecation date if the model is deprecated
        capabilities:
          type: object
          properties:
            completion_chat:
              type: boolean
            completion_fim:
              type: boolean
            function_calling:
              type: boolean
            fine_tuning:
              type: boolean
            vision:
              type: boolean
          description: Model capabilities
        type:
          type: string
          enum:
          - base
          - fine-tuned
          description: Whether this is a base or fine-tuned model
  parameters:
    modelId:
      name: model_id
      in: path
      required: true
      description: The unique identifier of the model
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Mistral AI API key passed as a Bearer token
externalDocs:
  description: Mistral AI Models API Documentation
  url: https://docs.mistral.ai/api/endpoint/models