unstale

npm / @mistralai/mistralai

@mistralai/mistralai

What changed in @mistralai/mistralai 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.

103 breaking1 deprecations91 new APIs and options3 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.12 on npm

@mistralai/mistralai 352 changes

Breaking changes 13

  • The gender field type changed from string to VoiceGender.

    3.5.0release notes

  • The request no longer accepts the slug field.

    3.5.0release notes

  • The gender field type changed from string to VoiceGender.

    3.5.0release notes

  • The beta managedIndexes operations and related beta surface were removed.

    3.5.0release notes

  • The spec request field changed; the notes do not specify the new shape.

    3.5.0release notes

  • Added serviceAccountId to beta observability logs, traces, and spans responses; it is also now required on the listed observability models.

    3.5.0release notes

  • The existing stable SystemV2 model now requires kind.

    3.5.0release notes

  • Removed the organization-credentials deletion API.

    3.0.0release notes

  • Removed the user-credentials deletion API.

    3.0.0release notes

  • Removed the workspace-credentials deletion API.

    3.0.0release notes

  • Removed from the stable API surface.

    3.0.0release notes

  • The code field is now required on the stable SecurityError model.

    3.0.0release notes

  • The runs property now uses WorkflowsRuns instead of Runs.

    3.0.0release notes

Deprecations 1

New APIs and options 37

Behavior and default changes 1

  • The githubUrl request field changed; the generated type now allows string, null, or undefined.

    3.5.0release notes

@mistralai/mistralai 2148 changes

Breaking changes 90

  • Added this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Removed this API operation.

    2.7.0release notes

  • Is now a union of HTTPConnector and MCPConnector, discriminated on protocol; fields that were flat now live on the variant.

    2.7.0release notes

  • Now takes a single request object; named arguments are no longer accepted.

    2.7.0release notes

  • Now takes a request_body; named arguments are no longer accepted.

    2.7.0release notes

  • Three fields are now required.

    2.7.0release notes

  • Required on the create payload in TypeScript; it no longer defaults to "mcp". Python still defaults it.

    2.7.0release notes

  • The service_tier field has been removed.

    2.7.0release notes

  • The errorCode schema changed across observability operations, affecting error handling.

    2.2.1release notes

  • The request schema changed, so callers may need to update the request they send.

    2.2.1release notes

  • The choices response schema changed, which may require updates to response handling.

    2.2.1release notes

  • The metadata request schema changed and may require changes to speech completion requests.

    2.2.1release notes

  • Agent metadata schemas changed across create, get, list, and version operations.

    2.2.1release notes

  • Connector create, get, update, and list responses no longer include tools.

    2.2.1release notes

  • The conversations list response schema changed.

    2.2.1release notes

  • The start request schema changed and may require updates to conversation creation calls.

    2.2.1release notes

  • The start stream request schema changed.

    2.2.1release notes

  • The request schema changed, so callers may need to update the request they send.

    2.2.1release notes

  • The choices response schema changed, which may require updates to response handling.

    2.2.1release notes

  • The request schema changed, so callers may need to update the request they send.

    2.2.1release notes

  • The error.detail.errorCode field changed across beta observability APIs, which may affect code handling their error responses.

    2.2.0release notes

  • The request and response.choices[] shapes changed; the notes mark both as breaking changes.

    2.2.0release notes

  • The request and streamed tool-call type changed; the notes mark both as breaking changes.

    2.2.0release notes

  • The response shape changed; the notes mark this as a breaking change.

    2.2.0release notes

  • The request and response.choices[] shapes changed; the notes mark both as breaking changes.

    2.2.0release notes

  • The request and streamed tool-call type changed; the notes mark both as breaking changes.

    2.2.0release notes

  • The toolCalls[].type request field changed; the notes mark this as a breaking change.

    2.2.0release notes

  • The toolCalls[].type request field changed; the notes mark this as a breaking change.

    2.2.0release notes

  • The choices response schema changed, which may require updates to response handling.

    2.2.0release notesrelease notes

  • The streamed tool-call type changed; the notes mark this as a breaking change.

    2.2.0release notes

  • The response shape changed; the notes mark this as a breaking change.

    2.2.0release notes

  • The request shape changed as a breaking change, and response.pages[] also changed.

    2.2.0release notes

  • The request.tools[] field changed in a breaking change.

    2.1.1release notes

  • The response.tools[] field changed in a breaking change.

    2.1.1release notes

  • The response.tools[] field changed in a breaking change.

    2.1.1release notes

  • The response tools[] field changed in a breaking change.

    2.1.1release notes

  • The response tools[] field changed in a breaking change.

    2.1.1release notes

  • The request tools[] field changed in a breaking change.

    2.1.1release notes

  • The response.tools[] field changed in a breaking change.

    2.1.1release notes

  • The response tools[] field changed in a breaking change.

    2.1.1release notes

  • The response tools[] field changed in a breaking change.

    2.1.1release notes

  • The request.tools[] field changed in a breaking change.

    2.1.1release notes

  • The request.tools[] field changed in a breaking change.

    2.1.1release notes

  • The request changed in a breaking change.

    2.1.0release notesrelease notes

  • The request changed in a breaking change.

    2.1.0release notesrelease notes

  • The request type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response item type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response item type changed, which may require updates to code using this API.

    2.1.0release notes

  • The updateAgentRequest type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response type changed, which may require updates to code using this API.

    2.1.0release notes

  • The response type changed, which may require updates to code using this API.

    2.1.0release notes

  • The conversation retrieval response schema changed.

    2.1.0release notesrelease notes

  • The response item type changed, which may require updates to code using this API.

    2.1.0release notes

  • The conversation restart request schema changed.

    2.1.0release notesrelease notes

  • The conversation restart stream request schema changed.

    2.1.0release notesrelease notes

  • The request type changed, which may require updates to code using this API.

    2.1.0release notes

  • The request type changed, which may require updates to code using this API.

    2.1.0release notes

  • The request changed in a breaking change.

    2.1.0release notesrelease notes

  • The request changed in a breaking change.

    2.1.0release notesrelease notes

  • Entity types use the entity name without a request or response suffix; this is an example of the 42 type renames.

    2.0.0release notes

  • Entity types use the entity name without a request or response suffix; this is an example of the 42 type renames.

    2.0.0release notes

  • Request body types follow the {Verb}{Entity}Request naming convention; this is an example of the 42 type renames.

    2.0.0release notes

  • The SDK ships as ESM only; CommonJS require() is no longer supported.

    2.0.0release notes

  • Response types follow the {Verb}{Entity}Response naming convention; this is an example of the 42 type renames.

    2.0.0release notes

  • The GCP SDK class is renamed to MistralGCP.

    2.0.0release notes

  • The GCP SDK error class is renamed to MistralGCPError.

    2.0.0release notes

  • Ambiguous type names are automatically resolved during generation; for example, Tools becomes ConversationRequestTool.

    2.0.0release notes

  • Runtime validation is upgraded from Zod v3 to Zod v4; directly imported SDK schemas are now Zod v4 schemas.

    2.0.0release notes

New APIs and options 54

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added this API operation.

    2.7.0release notes

  • Added an API to create or update organization credentials.

    2.2.1release notes

  • Added an API to create or update user credentials.

    2.2.1release notes

  • Added an API to create or update workspace credentials.

    2.2.1release notes

  • Added an API to delete organization credentials.

    2.2.1release notes

  • Added an API to delete user credentials.

    2.2.1release notes

  • Added an API to delete workspace credentials.

    2.2.1release notes

  • Added an API to retrieve authentication methods.

    2.2.1release notes

  • The authentication URL request now accepts credentialsName.

    2.2.1release notes

  • Added an API to list organization credentials.

    2.2.1release notes

  • The list tools request now accepts credentialsName.

    2.2.1release notes

  • Added an API to list user credentials.

    2.2.1release notes

  • Added an API to list workspace credentials.

    2.2.1release notes

  • Library creation requests now accept ownerType.

    2.2.1release notes

  • Added an API to list ingestion pipeline configurations.

    2.2.1release notes

  • Deployment list entries now include location.

    2.2.1release notes

  • Workflow execution requests now accept extensions, and the response includes runId.

    2.2.1release notes

  • Workflow registration execution requests now accept extensions, and the response includes runId.

    2.2.1release notes

  • Workflow responses now include onBehalfOf.

    2.2.1release notes

  • Run listing requests now accept userId, and listed executions include runId.

    2.2.1release notes

  • Think chunks can now include a signature in conversation inputs, outputs, and streams, and in classifier inputs.

    2.2.1release notes

  • Added the type field to the request for listing audio voices.

    2.2.0release notes

  • Added an API to delete batch jobs.

    2.2.0release notes

  • Added credentialsName to the callTool request.

    2.2.0release notes

  • Added request and pagination response fields, and support for a 422 error response.

    2.2.0release notes

  • Added APIs to retrieve stream events and workflow events.

    2.2.0release notes

  • Added workflow APIs for managing workflows and registrations, executions, runs, schedules, events, metrics, and deployments.

    2.2.0release notes

  • Added the connectors listTools API to the Mistral beta client.

    2.1.2release notes

  • Added the audio speech completion API.

    2.1.0release notes

  • Added the audio voice creation API.

    2.1.0release notes

  • Added the audio voice deletion API.

    2.1.0release notes

  • Added the audio voice retrieval API.

    2.1.0release notes

  • Added the audio voice sample retrieval API.

    2.1.0release notes

  • Added the audio voices list API.

    2.1.0release notes

  • Added the audio voice update API.

    2.1.0release notes

  • Added reasoningEffort to completionArgs in the conversation append request.

    2.1.0release notes

  • Added reasoningEffort to completionArgs in the conversation append stream request.

    2.1.0release notes

  • Added the reasoning capability field to model items in the list response.

    2.1.0release notes

  • Added the reasoning capability field to the retrieved model response.

    2.1.0release notes

  • Discriminated unions gain an Unknown variant so older SDK versions can handle new API values.

    2.0.0release notes

Behavior and default changes 2

  • authorization_endpoint is now optional.

    2.7.0release notes

  • Enums accept unknown values, so new API values will not crash older SDK versions.

    2.0.0release notes

Fixes and other changes 2

  • The end field is now nullable because the API can return null for diarized transcriptions.

    2.7.0release notes

  • The start field is now nullable because the API can return null for diarized transcriptions.

    2.7.0release notes