Repository navigation
Releases
python - v3.9.0 - 2026-11-24 14:51:52
Generated by Speakeasy CLI
2026-11-24 14:42:03
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Beta surface changes
Removed from the beta surface (122):
ContextSearchIndexesGetDeploymentSummariesResponseGetDeploymentSummariesResponseDeploymentGetDeploymentSummariesResponseVespaDeploymentGetDeploymentSummariesResponseVespaIndexImportDatasetFromPlaygroundRequestIngestionPipelineTargetIndexRefPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIDImportsFromPlaygroundPostRequestRagSearchIndexesRegisterDeploymentRequestDeploymentRegisterDeploymentRequestVespaDeploymentRegisterDeploymentRequestVespaFieldRegisterDeploymentRequestVespaIndexRegisterSearchIndexResponseIndexUnknownGetDeploymentSummariesResponseDeploymentDeploymentUnregisterDeploymentV1RagDeploymentsDeploymentIDDeleteRequestUpdateIndexMetricsV1RagDeploymentsDeploymentIDMetricsPutRequestUpdateMetricsRequestDeploymentMetricsOfflineUpdateMetricsRequestDeploymentMetricsOnlineUpdateMetricsRequestIndexMetricsCreateIngestionPipelineConfigurationRequest.target_indexesGetDeploymentSummariesResponse.deploymentsGetDeploymentSummariesResponseDeployment.created_atGetDeploymentSummariesResponseDeployment.creator_idGetDeploymentSummariesResponseDeployment.deployment- ...and 97 more
Changed types or signatures in beta (10):
AudioChunk.type: Annotated[Annotated[Literal['input_audio'], AfterValidator(validate_const('input_audio'))], pydantic.Field(alias='type')] -> Annotated[Annotated[Optional[Literal['input_audio']], AfterValidator(validate_const('input_audio'))], pydantic.Field(alias='type')]BetaContext.search_indexes: ContextSearchIndexes -> SearchIndexesEvaluationRunV2Response.run_scores: Optional[Dict[str, EvaluationRunScoreV2]] -> Optional[Dict[str, EvaluationRunRunScoreV2]]EvaluationRunV2ResponseTypedDict.run_scores: NotRequired[Dict[str, EvaluationRunScoreV2TypedDict]] -> NotRequired[Dict[str, EvaluationRunRunScoreV2TypedDict]]EvaluationRunV2WithRefsResponse.run_scores: Optional[Dict[str, EvaluationRunScoreV2]] -> Optional[Dict[str, EvaluationRunRunScoreV2]]EvaluationRunV2WithRefsResponseTypedDict.run_scores: NotRequired[Dict[str, EvaluationRunScoreV2TypedDict]] -> NotRequired[Dict[str, EvaluationRunRunScoreV2TypedDict]]TurnDetectionEagerEndEvent.type: Annotated[Annotated[Optional[Literal['turn.eager_end']], AfterValidator(validate_const('turn.eager_end'))], pydantic.Field(alias='type')] -> Annotated[Annotated[Literal['turn.eager_end'], AfterValidator(validate_const('turn.eager_end'))], pydantic.Field(alias='type')]TurnDetectionEndEvent.type: Annotated[Annotated[Optional[Literal['turn.end']], AfterValidator(validate_const('turn.end'))], pydantic.Field(alias='type')] -> Annotated[Annotated[Literal['turn.end'], AfterValidator(validate_const('turn.end'))], pydantic.Field(alias='type')]TurnDetectionResumeEvent.type: Annotated[Annotated[Optional[Literal['turn.resume']], AfterValidator(validate_const('turn.resume'))], pydantic.Field(alias='type')] -> Annotated[Annotated[Literal['turn.resume'], AfterValidator(validate_const('turn.resume'))], pydantic.Field(alias='type')]TurnDetectionStartEvent.type: Annotated[Annotated[Optional[Literal['turn.start']], AfterValidator(validate_const('turn.start'))], pydantic.Field(alias='type')] -> Annotated[Annotated[Literal['turn.start'], AfterValidator(validate_const('turn.start'))], pydantic.Field(alias='type')]
API changes
Beta API changes
sdk.beta.observability.datasets: removedimport_from_playground(); addedcreate_records().- Removed beta operations:
sdk.beta.rag.search_indexes.get_deployment_summaries(),sdk.beta.rag.search_indexes.register_deployment(),sdk.beta.rag.search_indexes.unregister_deployment(), andsdk.beta.rag.search_indexes.update_index_metrics(). - Removed field
target_indexesfrom request insdk.beta.rag.ingestion_pipeline_configurations.register().
Added operations
Stable:
sdk.workflows.deployments.create_deployment_archive()
Schema changes
- Added response field
metadatainsdk.beta.observability.datasets.list(),sdk.beta.observability.datasets.create(),sdk.beta.observability.datasets.fetch(), andsdk.beta.observability.datasets.update(). - Added enum values
dataset_record_id_conflictandocsf_not_enabledacross beta observability datasets, beta observability datasets records, beta observability evaluations, beta observability evaluations projects, beta observability evaluations runs, beta observability evaluations records, beta observability evaluations optimizations, beta observability evaluations scorers, beta observability logs, beta observability traces, beta observability spans (62 operations). - Added request field
metadatainsdk.beta.observability.datasets.create()andsdk.beta.observability.datasets.update(). - Added response fields
display,goals,metric_directions,weight_key, andmetricsinsdk.beta.observability.evaluations.runs.search(),sdk.beta.observability.evaluations.runs.search_all(),sdk.beta.observability.evaluations.runs.get(), andsdk.beta.observability.evaluations.optimizations.list_trials(). - Added response fields
missingandsample_countacross beta observability evaluations runs, beta observability evaluations records, beta observability evaluations optimizations (8 operations). - Added request field
token_endpoint_auth_methodinsdk.beta.connectors.create()andsdk.beta.connectors.update(). - Added enum value
custom_connectors_disabledinsdk.beta.connectors.create(),sdk.beta.connectors.create_credentials(),sdk.beta.connectors.update_credentials(), andsdk.beta.connectors.update(). - Added field
status[403]across beta context search indexes (10 operations). - Added field
status[503]across beta context search indexes (15 operations). - Added field
status[402]insdk.beta.context.search_indexes.search(). - Added response fields
descriptionandtimestamp_patternacross beta triggers, beta webhooks (6 operations). - Added request fields
descriptionandtimestamp_patterninsdk.beta.webhooks.create(). - Added response field
prompt_tokens_detailsacross audio speech, audio transcriptions, chat, FIM, agents, embeddings (10 operations). - Added response variants
turn.eager_end,turn.end,turn.resume, andturn.startinsdk.audio.transcriptions.stream(). - Added response enum values
turn.eager_end,turn.end,turn.resume, andturn.startinsdk.audio.transcriptions.stream(). - Changed request fields
idandtypeacross chat, agents, classifiers (6 operations). - Changed response fields
typeandidacross chat, FIM, agents (6 operations). - Added request variants
Array<EmbeddingInput>,AudioChunk, andImageURLChunkinsdk.embeddings.create(). - Added request field
queriesinsdk.classifiers.moderate(). - Changed request field
union(Array<>)[]insdk.classifiers.moderate_chat(). - Added request field
call_contextinsdk.workflows.execute_workflow(),sdk.workflows.execute_workflow_registration(),sdk.workflows.executions.signal_workflow_execution(), andsdk.workflows.executions.update_workflow_execution().
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.807.0 (2.956.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.9.0] .
Releases
- [PyPI v3.9.0] https://pypi.org/project/mistralai/3.9.0 - .
Publishing Completed
python - v3.8.0 - 2026-11-18 21:15:53
Generated by Speakeasy CLI
2026-11-18 20:25:31
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Removed from the stable API surface (7):
ResponsesFunctionCallArgumentsDoneEvent.nameLiveKitTransport.add_function_handlersLiveKitTransport.send_session_updateStaticToolFiller.serialize_modelTransport.add_function_handlersTransport.send_session_updateVoiceAgentSession.update
Now required on an existing stable model (1):
ResponsesError.reason
Stable type changes
Changed types or signatures on the stable surface (21):
CustomConnector.authorization: OptionalNullable[CustomConnectorAuthorization] -> Annotated[OptionalNullable[CustomConnectorAuthorization], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]HangUpTool.filler: OptionalNullable[StaticToolFiller] -> OptionalNullable[HangUpToolFiller]HangUpToolTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[HangUpToolFillerTypedDict]]ListDeploymentsV1WorkflowsDeploymentsGetRequest.limit: Annotated[OptionalNullable[int], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))] -> Annotated[Optional[int], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))]ListDeploymentsV1WorkflowsDeploymentsGetRequestTypedDict.limit: NotRequired[Nullable[int]] -> NotRequired[int]ResponsesIncompleteDetails.reason: OptionalNullable[Reason] -> OptionalNullable[ResponsesIncompleteDetailsReason]ResponsesIncompleteDetailsTypedDict.reason: NotRequired[Nullable[Reason]] -> NotRequired[Nullable[ResponsesIncompleteDetailsReason]]StaticToolFiller.type: Annotated[Annotated[Optional[Literal['static']], AfterValidator(validate_const('static'))], pydantic.Field(alias='type')] -> Annotated[Annotated[Literal['static'], AfterValidator(validate_const('static'))], pydantic.Field(alias='type')]TransferCallTool.filler: OptionalNullable[StaticToolFiller] -> OptionalNullable[TransferCallToolFiller]TransferCallToolTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[TransferCallToolFillerTypedDict]]VoiceAgentCustomConnector.authorization: OptionalNullable[VoiceAgentCustomConnectorAuthorization] -> Annotated[OptionalNullable[VoiceAgentCustomConnectorAuthorization], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]VoiceAgentCustomConnector.filler: OptionalNullable[StaticToolFiller] -> OptionalNullable[VoiceAgentCustomConnectorFiller]VoiceAgentCustomConnectorTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[VoiceAgentCustomConnectorFillerTypedDict]]VoiceAgentDocumentLibraryTool.filler: OptionalNullable[StaticToolFiller] -> OptionalNullable[VoiceAgentDocumentLibraryToolFiller]VoiceAgentDocumentLibraryToolTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[VoiceAgentDocumentLibraryToolFillerTypedDict]]VoiceAgentFunctionTool.filler: OptionalNullable[StaticToolFiller] -> OptionalNullable[VoiceAgentFunctionToolFiller]VoiceAgentFunctionToolRequest.filler: OptionalNullable[StaticToolFiller] -> SerializeAsAny[OptionalNullable[VoiceAgentFunctionToolRequestFiller]]VoiceAgentFunctionToolRequestTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[VoiceAgentFunctionToolRequestFillerTypedDict]]VoiceAgentFunctionToolTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[VoiceAgentFunctionToolFillerTypedDict]]VoiceAgentWebSearchTool.filler: OptionalNullable[StaticToolFiller] -> OptionalNullable[VoiceAgentWebSearchToolFiller]VoiceAgentWebSearchToolTypedDict.filler: NotRequired[Nullable[StaticToolFillerTypedDict]] -> NotRequired[Nullable[VoiceAgentWebSearchToolFillerTypedDict]]
Beta surface changes
Removed from the beta surface (107):
CreateJudgeRequestDeleteJudgeV1ObservabilityJudgesJudgeIDDeleteRequestGetJudgeByIDV1ObservabilityJudgesJudgeIDGetRequestGetJudgesV1ObservabilityJudgesGetRequestJudgeJudgeClassificationOutputJudgeClassificationOutputOptionJudgeConversationRequestJudgeConversationV1ObservabilityJudgesJudgeIDLiveJudgingPostRequestJudgeDatasetRecordRequestJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIDLiveJudgingPostRequestJudgeOutputJudgeRegressionOutputJudgesListJudgesResponsePaginatedResultJudgePreviewUnknownJudgeOutputUnionUpdateJudgeRequestUpdateJudgeV1ObservabilityJudgesJudgeIDPutRequestVoiceAgentSessionUpdatedEventCreateJudgeRequest.descriptionCreateJudgeRequest.instructionsCreateJudgeRequest.model_nameCreateJudgeRequest.nameCreateJudgeRequest.output- ...and 82 more
Changed types or signatures in beta (5):
ConnectorToolResultMetadata.structured_content: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias='structuredContent')] -> Annotated[OptionalNullable[Any], pydantic.Field(alias='structuredContent')]ConnectorToolResultMetadataTypedDict.structured_content: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[Any]]OtelFieldDefinition.supported_operators: List[SupportedOperator] -> List[OtelFieldDefinitionSupportedOperator]Webhook.event_type_path: Nullable[str] -> Annotated[OptionalNullable[str], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]WebhookTypedDict.event_type_path: Nullable[str] -> NotRequired[Nullable[str]]
Now required on an existing beta model (4):
Beta.billingEvaluations.scorersPipelineResult.operation_namePipelineResult.tool_name
API changes
Migrating from legacy judges
Legacy judges were migrated to scorers, and client.beta.observability.judges and
client.beta.observability.datasets.records.judge() are removed. Use
client.beta.observability.evaluations.scorers (list, create, get, update);
migrated judges are already listed there. Older SDK versions calling the judge
endpoints get 410 Gone with error code JUDGE_WRITES_FROZEN. Scoring a single
conversation or dataset record on demand is no longer available; run scorers through
an evaluation pipeline or an evaluation run.
Breaking changes
- Changed field
limitinsdk.workflows.deployments.list_deployments(). - Removed field
namefrom response[].data.union(response.function_call_arguments.done)insdk.responses.create(). - Added enum values
data_residency_mismatchandmisalignment_policy_violationto responsecodeinsdk.responses.create(). - Added enum values
max_messagesandsteeredto responsereasoninsdk.responses.create(). - Added enum values
fastandultrafastto responseservice_tierinsdk.responses.create(). - Changed field
fillerinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Changed field
fillerinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Changed field
fillerinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Changed field
fillerinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Changed field
fillerinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Changed field
fillerinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Changed field
fillerinsdk.audio.agents.update()andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update()andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update()andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update()andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update()andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update()andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
fillerinsdk.audio.sessions.create(). - Changed field
fillerinsdk.audio.sessions.create(). - Changed field
fillerinsdk.audio.sessions.create(). - Changed field
fillerinsdk.audio.sessions.create(). - Changed field
fillerinsdk.audio.sessions.create(). - Changed field
fillerinsdk.audio.sessions.create(). - Changed field
fillerinsdk.audio.sessions.create().
Beta API changes
- Removed beta operations:
sdk.beta.observability.judges.update(),sdk.beta.observability.judges.delete(),sdk.beta.observability.judges.judge_conversation(),sdk.beta.observability.datasets.records.judge(),sdk.beta.observability.judges.create(),sdk.beta.observability.judges.fetch(), andsdk.beta.observability.judges.list(). - Added variant
date-timeto responsemetric_valueinsdk.beta.observability.traces.aggregate(),sdk.beta.observability.spans.aggregate(), and...
python - v3.7.0 - 2026-11-01 20:09:31
Generated by Speakeasy CLI
2026-11-01 13:00:38
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Removed from the stable API surface (1):
VoiceCreateRequest.slug
Stable type changes
Changed types or signatures on the stable surface (6):
DeploymentWorkerSpecInput.github_url: str -> OptionalNullable[str]DeploymentWorkerSpecInputTypedDict.github_url: str -> NotRequired[Nullable[str]]VoiceCreateRequest.gender: OptionalNullable[str] -> OptionalNullable[VoiceGender]VoiceCreateRequestTypedDict.gender: NotRequired[Nullable[str]] -> NotRequired[Nullable[VoiceGender]]VoiceUpdateRequest.gender: OptionalNullable[str] -> OptionalNullable[VoiceGender]VoiceUpdateRequestTypedDict.gender: NotRequired[Nullable[str]] -> NotRequired[Nullable[VoiceGender]]
Beta surface changes
Removed from the beta surface (41):
ManagedIndexesSearchIndexesRag.managed_indexesManagedIndexes.createManagedIndexes.create_asyncManagedIndexes.deleteManagedIndexes.delete_asyncManagedIndexes.delete_documentsManagedIndexes.delete_documents_asyncManagedIndexes.generate_index_summaryManagedIndexes.generate_index_summary_asyncManagedIndexes.getManagedIndexes.get_asyncManagedIndexes.get_chunkManagedIndexes.get_chunk_asyncManagedIndexes.get_index_summaryManagedIndexes.get_index_summary_asyncManagedIndexes.grepManagedIndexes.grep_asyncManagedIndexes.ingest_documentsManagedIndexes.ingest_documents_asyncManagedIndexes.listManagedIndexes.list_asyncManagedIndexes.navigateManagedIndexes.navigate_async- ...and 16 more
Changed types or signatures in beta (1):
Rag.search_indexes: SearchIndexes -> RagSearchIndexes
Now required on an existing beta model (3):
Beta.contextBeta.triggersBeta.webhooks
API changes
Breaking changes
- Changed field
genderinsdk.audio.voices.create()andsdk.audio.voices.update(). - Removed field
slugfrom request insdk.audio.voices.create().
Beta API changes
- Removed beta operations:
sdk.beta.rag.managed_indexes.list(),sdk.beta.rag.managed_indexes.create(),sdk.beta.rag.managed_indexes.get(),sdk.beta.rag.managed_indexes.update(),sdk.beta.rag.managed_indexes.delete(),sdk.beta.rag.managed_indexes.ingest_documents(),sdk.beta.rag.managed_indexes.delete_documents(),sdk.beta.rag.managed_indexes.search(),sdk.beta.rag.managed_indexes.navigate(),sdk.beta.rag.managed_indexes.read(),sdk.beta.rag.managed_indexes.grep(),sdk.beta.rag.managed_indexes.get_chunk(),sdk.beta.rag.managed_indexes.get_index_summary(), andsdk.beta.rag.managed_indexes.set_index_summary().
Added operations
Stable:
sdk.workflows.add_workflow_tags()sdk.workflows.deployments.get_deployment_archive()
Beta:
sdk.beta.context.search_indexes.list()sdk.beta.context.search_indexes.create()sdk.beta.context.search_indexes.get()sdk.beta.context.search_indexes.update()sdk.beta.context.search_indexes.delete()sdk.beta.context.search_indexes.ingest_documents()sdk.beta.context.search_indexes.delete_documents()sdk.beta.context.search_indexes.search()sdk.beta.context.search_indexes.navigate()sdk.beta.context.search_indexes.read()sdk.beta.context.search_indexes.grep()sdk.beta.context.search_indexes.get_chunk()sdk.beta.context.search_indexes.get_index_summary()sdk.beta.context.search_indexes.set_index_summary()sdk.beta.triggers.list()sdk.beta.triggers.create()sdk.beta.triggers.get()sdk.beta.triggers.delete()sdk.beta.triggers.list_events()sdk.beta.webhooks.list()sdk.beta.webhooks.create()sdk.beta.webhooks.get()sdk.beta.webhooks.delete()sdk.beta.webhooks.get_signing_secret()
Schema changes
- Added response fields
kindandspecinsdk.beta.observability.evaluations.runs.search(),sdk.beta.observability.evaluations.runs.search_all(),sdk.beta.observability.evaluations.runs.get(), andsdk.beta.observability.evaluations.optimizations.list_trials(). - Added response field
service_account_idacross beta observability logs, beta observability traces, beta observability spans (8 operations). - Added response field
openapi_specinsdk.beta.connectors.list(),sdk.beta.connectors.create(),sdk.beta.connectors.get(), andsdk.beta.connectors.update(). - Added response field
archive_idacross workflows deployments (8 operations). - Added field
requested_rolesacross workflows deployments (8 operations). - Added request field
archive_idinsdk.workflows.deployments.create_deployment()andsdk.workflows.deployments.update_deployment(). - Changed request field
github_urlinsdk.workflows.deployments.create_deployment().
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.7.0] .
Releases
- [PyPI v3.7.0] https://pypi.org/project/mistralai/3.7.0 - .
Publishing Completed
python - v3.6.0 - 2026-10-28 09:22:50
Generated by Speakeasy CLI
2026-10-27 16:51:27
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Removed from the stable API surface (27):
CompletionTokensDetailsMessageTokensPromptTokensDetailsUsageInfoDollarDefsCompletionTokensDetails.reasoning_tokensMessageTokens.roleMessageTokens.settings_tokensMessageTokens.total_tokensMessageTokens.truncatedMessageTokens.usage_countPromptTokensDetails.audio_tokensPromptTokensDetails.cached_tokensPromptTokensDetails.messagesUsageInfoDollarDefs.completion_tokensUsageInfoDollarDefs.completion_tokens_detailsUsageInfoDollarDefs.num_cached_tokensUsageInfoDollarDefs.prompt_audio_secondsUsageInfoDollarDefs.prompt_token_detailsUsageInfoDollarDefs.prompt_tokensUsageInfoDollarDefs.prompt_tokens_detailsUsageInfoDollarDefs.request_countUsageInfoDollarDefs.service_tierUsageInfoDollarDefs.total_tokensCompletionTokensDetails.serialize_modelMessageTokens.serialize_model- ...and 2 more
Stable type changes
Changed types or signatures on the stable surface (2):
SpeechStreamDone.usage: UsageInfoDollarDefs -> UsageInfoSpeechStreamDoneTypedDict.usage: UsageInfoDollarDefsTypedDict -> UsageInfoTypedDict
Beta surface changes
Changed types or signatures in beta (3):
ConnectionPreference.is_default: OptionalNullable[bool] -> Annotated[OptionalNullable[bool], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]ConnectionPreference.name: str -> Annotated[Optional[str], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]ConnectionPreferenceTypedDict.name: str -> NotRequired[str]
API changes
Breaking changes
- Removed fields
num_cached_tokens,prompt_tokens_details,completion_tokens_details,prompt_token_details, andrequest_countfrom responsedata.union(speech.audio.done).usageinsdk.audio.speech.complete().
Added operations
Stable:
sdk.audio.realtime_speech.connect()sdk.audio.realtime_speech.speak_stream()
Schema changes
- Added enum value
optimization_trial_observation_already_existsacross beta observability judges, beta observability datasets, beta observability datasets records, beta observability evaluations, beta observability evaluations projects, beta observability evaluations runs, beta observability evaluations records, beta observability evaluations optimizations, beta observability logs, beta observability traces, beta observability spans (65 operations). - Changed response field
nameinsdk.beta.connectors.list(),sdk.beta.connectors.create(),sdk.beta.connectors.get(), andsdk.beta.connectors.update(). - Added field
status[403]insdk.beta.rag.managed_indexes.create(). - Added request fields
diarize,context_bias,language,speaker_references, andturn_detectioninsdk.audio.realtime.connect(),sdk.audio.realtime.transcribe_stream(), andsdk.audio.realtime.connect().update_session(). - Added response variants
TurnDetectionStartEvent,TurnDetectionEagerEndEvent,TurnDetectionResumeEvent, andTurnDetectionEndEventinsdk.audio.realtime.connect()andsdk.audio.realtime.transcribe_stream().
Fixes
sdk.workflows.schedules.schedule_workflow()andsdk.workflows.schedules.update_schedule()now encryptschedule.inputwhen payload encryption is enabled; it was previously sent in cleartext.sdk.workflows.schedules.get_schedule()andsdk.workflows.schedules.get_schedules()decode it.- Partially encrypted workflow payloads are now serialized as compact JSON, matching the TypeScript SDK.
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.6.0] .
Releases
- [PyPI v3.6.0] https://pypi.org/project/mistralai/3.6.0 - .
Publishing Completed
python - v3.5.0 - 2026-10-25 19:52:34
Generated by Speakeasy CLI
2026-10-25 19:48:15
API changes
Schema changes
- Added response enum value
maxacross beta conversations, beta agents (10 operations). - Added request enum value
maxacross beta conversations, beta agents, chat, agents (7 operations).
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.5.0] .
Releases
- [PyPI v3.5.0] https://pypi.org/project/mistralai/3.5.0 - .
Publishing Completed
python - v3.4.0 - 2026-10-23 19:58:27
Generated by Speakeasy CLI
2026-10-23 17:08:24
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Now required on an existing stable model (1):
AudioAgentCreateRequest.configuration
Stable type changes
Changed types or signatures on the stable surface (4):
AudioAgentCreateRequest.configuration: OptionalNullable[AudioAgentConfigurationRequest] -> AudioAgentConfigurationRequestAudioAgentCreateRequestTypedDict.configuration: NotRequired[Nullable[AudioAgentConfigurationRequestTypedDict]] -> AudioAgentConfigurationRequestTypedDictOCRTableObject.format_: Annotated[Format, pydantic.Field(alias='format')] -> Annotated[FormatEnum, pydantic.Field(alias='format')]OCRTableObjectTypedDict.format_: Format -> FormatEnum
Beta surface changes
Changed types or signatures in beta (2):
PublicAuthenticationMethod.has_default_credentials: bool -> Annotated[Optional[bool], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]PublicAuthenticationMethodTypedDict.has_default_credentials: bool -> NotRequired[bool]
API changes
Breaking changes
sdk.audio.agents.create()now requiresconfiguration, amodels.AudioAgentConfigurationRequest. It can no longer be omitted or passed asNone.models.Format, the type ofOCRTableObject.format_, is renamed tomodels.FormatEnum. Imports ofFormatfrommistralai.client.modelsmust switch toFormatEnum.
New: Responses API
sdk.responses.create() generates a model response from text or image input. The output can contain text, reasoning and function calls. It is stateless: for multi-turn conversations, send the full history in input, including earlier output items and function results.
- Required:
modelandinput, either a string or a list of messages, output messages, function calls, function call outputs and reasoning items. - Optional:
instructions,tools(function and namespace tools; only client-executed function tools are supported),tool_choice("none","auto"(default),"required"or a specific function),parallel_tool_calls(defaultTrue),reasoning,text(outputformatandverbosity),max_output_tokens,max_tool_calls,temperature,top_p,metadataandprompt_cache_key. - Accepted only at fixed values:
truncation="disabled",background=False,store=Falseandtop_logprobs=0.previous_response_id,conversation,promptandmoderationmust beNone. Responses are not stored. stream=Truereturns anEventStream[models.ResponsesStreamFrame]instead of amodels.CreateResponseResponse.models.CreateResponseResponseincludesid,status,output,usage,error,incomplete_details,service_tier("auto","default","flex","scale"or"priority"),truncation("auto"or"disabled") andprompt_cache_retention("in_memory"or"24h").- Errors, in
errorand in error stream frames, are amodels.ResponsesErrorwithmessageandcode(models.Code):server_error,rate_limit_exceeded,invalid_prompt,bio_policy,vector_store_timeout, or one of 14 image errors:invalid_image,invalid_image_format,invalid_base64_image,invalid_image_url,image_too_large,image_too_small,image_parse_error,image_content_policy_violation,invalid_image_mode,image_file_too_large,unsupported_image_media_type,empty_image_file,failed_to_download_imageandimage_file_not_found.statusis"completed","failed","in_progress","cancelled","queued"or"incomplete", andincomplete_details.reason(models.Reason) is"max_output_tokens"or"content_filter".
sdk.responses.count_input_tokens() counts the input tokens of a Responses request without generating a response, including the conversation, instructions and tool definitions. It takes the same model, input, instructions, tools, tool_choice, parallel_tool_calls, reasoning and text as create(), and returns models.CountResponseInputTokensResponse with input_tokens.
New fields
- Keyword retrievers in
sdk.beta.rag.managed_indexes.search(), alone or inside anrrfretriever, take anoperator(models.Operator)."or", the default, matches chunks containing any of the query's words."and"matches only chunks containing all of them, the previous behaviour. models.AudioTTSConfig, thettsconfiguration ofsdk.audio.agents.create(),update()andsdk.audio.sessions.create(), takes an optionalexpressiveness, a number from 1 to 5.
Deprecated fields
has_default_credentialson connector authentication methods is deprecated and alwaysfalse: connector-level default credentials were removed. It is returned bysdk.beta.connectors.create(),list(),get(),update()andget_authentication_methods(). Responses may now omit it, and the SDK reads a missing value asfalse.
Added operations
Stable:
sdk.responses.create()sdk.responses.count_input_tokens()
Schema changes
- Added request field
expressivenessinsdk.audio.agents.create(),sdk.audio.sessions.create(), andsdk.audio.agents.update(). - Added response field
expressivenessacross audio agents (5 operations). - Changed response field
has_default_credentialsacross beta connectors (5 operations). - Added request field
operatorinsdk.beta.rag.managed_indexes.search(). - Added request enum values
ʁ,r,ɑ̃,ʀ,x,y,ɔ̃,ɐ,œ,ɛ̃,ʝ,ɲ,ts,ɥ,ʏ,ø,β,ɦ,pf,ʎ,ɣ,ɳ,ɔʏ,œ̃,ɟʝ,ɬ, andqinsdk.audio.speech.complete().
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.4.0] .
Releases
- [PyPI v3.4.0] https://pypi.org/project/mistralai/3.4.0 - .
Publishing Completed
python - v3.3.0 - 2026-10-20 17:02:07
Generated by Speakeasy CLI
2026-10-20 16:51:47
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Removed from the stable API surface (7):
SessionsUnknownAuthorizationUnknownAuthorization.is_unknownUnknownAuthorization.rawUnknownAuthorization.typeSessions.createSessions.create_async
Now required on an existing stable model (2):
Audio.agentsAudio.sessions
Stable type changes
Changed types or signatures on the stable surface (5):
CompletionTokensDetails.reasoning_tokens: Optional[int] -> OptionalNullable[int]CompletionTokensDetailsTypedDict.reasoning_tokens: NotRequired[int] -> NotRequired[Nullable[int]]CustomConnector.authorization: OptionalNullable[Authorization] -> OptionalNullable[CustomConnectorAuthorization]CustomConnectorTypedDict.authorization: NotRequired[Nullable[AuthorizationTypedDict]] -> NotRequired[Nullable[CustomConnectorAuthorizationTypedDict]]Realtime.sessions: Sessions -> RealtimeSessions
Beta surface changes
Removed from the beta surface (33):
CreateConnectorRequest.auth_dataCreateHTTPConnectorRequest.auth_dataHTTPConnector.activeMCPConnector.activePublicConnectorExecutionData.use_connectors_gatewayAnnotations.additional_propertiesAudioContent.additional_propertiesBlobResourceContents.additional_propertiesClientCapabilities.additional_propertiesClientTasksCapability.additional_propertiesClientTasksRequestsCapability.additional_propertiesElicitationCapability.additional_propertiesEmbeddedResource.additional_propertiesImageContent.additional_propertiesMCPServerIcon.additional_propertiesPromptArgument.additional_propertiesPromptsCapability.additional_propertiesPublicConnectorExecutionData.serialize_modelResourceLink.additional_propertiesResourcesCapability.additional_propertiesRootsCapability.additional_propertiesSamplingCapability.additional_propertiesServerCapabilities.additional_propertiesServerTasksCapability.additional_propertiesServerTasksRequestsCapability.additional_properties- ...and 8 more
Changed types or signatures in beta (30):
ClientTasksCapability.cancel: OptionalNullable[Dict[str, Any]] -> OptionalNullable[TasksCancelCapability]ClientTasksCapability.list: OptionalNullable[Dict[str, Any]] -> OptionalNullable[TasksListCapability]ClientTasksCapabilityTypedDict.cancel: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[TasksCancelCapabilityTypedDict]]ClientTasksCapabilityTypedDict.list: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[TasksListCapabilityTypedDict]]CredentialsResponse.connector_preset_credentials_for_auth: Optional[List[AuthenticationType]] -> Annotated[Optional[List[AuthenticationType]], pydantic.Field(deprecated='warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.')]ElicitationCapability.form: OptionalNullable[Dict[str, Any]] -> OptionalNullable[FormElicitationCapability]ElicitationCapability.url: OptionalNullable[Dict[str, Any]] -> OptionalNullable[URLElicitationCapability]ElicitationCapabilityTypedDict.form: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[FormElicitationCapabilityTypedDict]]ElicitationCapabilityTypedDict.url: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[URLElicitationCapabilityTypedDict]]MessageInputEntry.role: Role -> MessageInputEntryRoleOAuth2ClientCredentialsInput.client_secret: str -> OptionalNullable[str]OAuth2ClientCredentialsInputTypedDict.client_secret: str -> NotRequired[Nullable[str]]SamplingCapability.context: OptionalNullable[Dict[str, Any]] -> OptionalNullable[SamplingContextCapability]SamplingCapability.tools: OptionalNullable[Dict[str, Any]] -> OptionalNullable[SamplingToolsCapability]SamplingCapabilityTypedDict.context: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[SamplingContextCapabilityTypedDict]]SamplingCapabilityTypedDict.tools: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[SamplingToolsCapabilityTypedDict]]ServerCapabilities.completions: OptionalNullable[Dict[str, Any]] -> OptionalNullable[CompletionsCapability]ServerCapabilities.logging: OptionalNullable[Dict[str, Any]] -> OptionalNullable[LoggingCapability]ServerCapabilitiesTypedDict.completions: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[CompletionsCapabilityTypedDict]]ServerCapabilitiesTypedDict.logging: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[LoggingCapabilityTypedDict]]ServerTasksCapability.cancel: OptionalNullable[Dict[str, Any]] -> OptionalNullable[TasksCancelCapability]ServerTasksCapability.list: OptionalNullable[Dict[str, Any]] -> OptionalNullable[TasksListCapability]ServerTasksCapabilityTypedDict.cancel: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[TasksCancelCapabilityTypedDict]]ServerTasksCapabilityTypedDict.list: NotRequired[Nullable[Dict[str, Any]]] -> NotRequired[Nullable[TasksListCapabilityTypedDict]]TasksElicitationCapability.create: OptionalNullable[Dict[str, Any]] -> OptionalNullable[TasksCreateElicitationCapability]- ...and 5 more
API changes
Breaking changes
- Changed field
typeinsdk.chat.complete()andsdk.agents.complete(). - Changed field
typeinsdk.chat.complete()andsdk.agents.complete(). - Changed field
typeinsdk.chat.complete(),sdk.fim.complete(), andsdk.agents.complete(). - Removed fields
expressivenessandphoneme_hintsfrom responsedata[].configuration.ttsinsdk.audio.agents.list_versions()andsdk.audio.agents.list(). - Removed fields
expressivenessandphoneme_hintsfrom requestconfiguration.ttsinsdk.audio.agents.update()andsdk.audio.agents.create(). - Removed fields
expressivenessandphoneme_hintsfrom responseconfiguration.ttsinsdk.audio.agents.update(),sdk.audio.agents.get(), andsdk.audio.agents.create(). - Changed field
typeinsdk.classifiers.moderate_chat(). - Changed field
typeinsdk.classifiers.classify_chat(). - Removed fields
expressivenessandphoneme_hintsfrom requestttsinsdk.audio.sessions.create().
Beta API changes
- Removed enum value
orgfrom requestshare_with_typeinsdk.beta.libraries.accesses.update_or_create()andsdk.beta.libraries.accesses.delete(). - Removed fields
connection_configandexecution_envfrom responseitems[].union(http)insdk.beta.connectors.list(). - Removed fields
connection_configandexecution_envfrom responseitems[].union(mcp)insdk.beta.connectors.list(). - Removed fields
connection_configandexecution_envfrom responseunion(http)insdk.beta.connectors.create(),sdk.beta.connectors.get(), andsdk.beta.connectors.update(). - Removed fields
connection_configandexecution_envfrom responseunion(mcp)insdk.beta.connectors.create(),sdk.beta.connectors.get(), andsdk.beta.connectors.update().
Added operations
Beta:
sdk.beta.rag.managed_indexes.get_index_summary()sdk.beta.rag.managed_indexes.set_index_summary()
Schema changes
- Added request field
speaker_referencesinsdk.audio.transcriptions.complete(). - Added response fields
audio_speech_capabilitiesandaudio_transcription_capabilitiesinsdk.models.retrieve()andsdk.models.list().
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.3.0] .
Releases
- [PyPI v3.3.0] https://pypi.org/project/mistralai/3.3.0 - .
Publishing Completed
python - v3.2.0 - 2026-10-09 09:41:13
Generated by Speakeasy CLI
2026-10-09 08:29:55
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable type changes
Changed types or signatures on the stable surface (2):
VoiceCreateRequest.sample_audio: str -> OptionalNullable[str]VoiceCreateRequestTypedDict.sample_audio: str -> NotRequired[Nullable[str]]
Beta surface changes
Removed from the beta surface (64):
CreatePipelineConfigRequestDeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequestDetectionDefinitionExportDefinitionGetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequestJudgeDefinitionListPipelineConfigsV1ObservabilityPipelineConfigsGetRequestModerationDefinitionPaginatedResultPipelineConfigPipelineConfigsResponseUpdatePipelineConfigRequestUpdatePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDPutRequestCreatePipelineConfigRequest.definitionCreatePipelineConfigRequest.descriptionCreatePipelineConfigRequest.enabledCreatePipelineConfigRequest.nameCreatePipelineConfigRequest.pipeline_kindCreatePipelineConfigRequest.selectorsDeletePipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDDeleteRequest.pipeline_config_idDetectionDefinition.patternsDetectionDefinition.target_attributesExportDefinition.destinationGetPipelineConfigV1ObservabilityPipelineConfigsPipelineConfigIDGetRequest.pipeline_config_idJudgeDefinition.mappingJudgeDefinition.slug- ...and 39 more
Changed types or signatures in beta (6):
CreatePipelineRequest.definitions: List[JudgeDefinition] -> List[LlmJudgeReference]CreatePipelineRequestTypedDict.definitions: List[JudgeDefinitionTypedDict] -> List[LlmJudgeReferenceTypedDict]SetServiceAccountRolesRequest.role_ids: Optional[List[str]] -> List[str]SetServiceAccountRolesRequestTypedDict.role_ids: NotRequired[List[str]] -> List[str]UpdatePipelineRequest.definitions: Optional[List[JudgeDefinition]] -> Optional[List[LlmJudgeReference]]UpdatePipelineRequestTypedDict.definitions: NotRequired[List[JudgeDefinitionTypedDict]] -> NotRequired[List[LlmJudgeReferenceTypedDict]]
Now required on an existing beta model (2):
PipelineConfig.slugSetServiceAccountRolesRequest.role_ids
API changes
Beta API changes
- Removed beta operations:
sdk.beta.observability.evaluations.get_pipeline_config(),sdk.beta.observability.evaluations.delete_pipeline_config(),sdk.beta.observability.evaluations.update_pipeline_config(),sdk.beta.observability.evaluations.create_pipeline_config(), andsdk.beta.observability.evaluations.list_pipeline_configs(). - Changed field
role_idsinsdk.beta.service_accounts.set_roles(). - Removed variants
DetectionDefinition,ExportDefinition,JudgeDefinition, andModerationDefinitionfrom responsedefinitioninsdk.beta.observability.evaluations.update_pipeline(),sdk.beta.observability.evaluations.get_pipeline(),sdk.beta.observability.evaluations.create_pipeline(), andsdk.beta.observability.evaluations.list_pipelines(). - Added variants
DetectionDefinitionV1,ExportDefinitionV1,JudgeDefinitionV1, andModerationDefinitionV1to responsedefinitioninsdk.beta.observability.evaluations.update_pipeline(),sdk.beta.observability.evaluations.get_pipeline(),sdk.beta.observability.evaluations.create_pipeline(), andsdk.beta.observability.evaluations.list_pipelines(). - Removed fields
definitionsanddescriptionfrom responsepipeline_configs[]insdk.beta.observability.evaluations.update_pipeline(),sdk.beta.observability.evaluations.get_pipeline(), andsdk.beta.observability.evaluations.create_pipeline(). - Removed enum values
detection,export,judge, andmoderationfrom responsepipeline_kindinsdk.beta.observability.evaluations.update_pipeline(),sdk.beta.observability.evaluations.get_pipeline(),sdk.beta.observability.evaluations.create_pipeline(), andsdk.beta.observability.evaluations.list_pipelines(). - Removed fields
definitionsanddescriptionfrom responsepipelines.results[].pipeline_configs[]insdk.beta.observability.evaluations.list_pipelines().
Added operations
Beta:
sdk.beta.observability.spans.search_pipeline_results()sdk.beta.users.whoami()
Schema changes
- Added request field
samplinginsdk.beta.observability.evaluations.update_pipeline()andsdk.beta.observability.evaluations.create_pipeline(). - Added response enum values
detection_v1,export_v1,judge_v1, andmoderation_v1insdk.beta.observability.evaluations.update_pipeline(),sdk.beta.observability.evaluations.get_pipeline(),sdk.beta.observability.evaluations.create_pipeline(), andsdk.beta.observability.evaluations.list_pipelines(). - Added response fields
samplingandsluginsdk.beta.observability.evaluations.update_pipeline(),sdk.beta.observability.evaluations.get_pipeline(),sdk.beta.observability.evaluations.create_pipeline(), andsdk.beta.observability.evaluations.list_pipelines(). - Added request fields
logprobs,min_tokens,prompt_logprobs,repetition_penalty,top_k,top_logprobs, andtop_prompt_logprobsinsdk.chat.complete()andsdk.agents.complete(). - Added response fields
logprobsandprompt_logprobsinsdk.chat.complete(),sdk.fim.complete(), andsdk.agents.complete(). - Changed request field
sample_audioinsdk.audio.voices.create().
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.2.0] .
Releases
- [PyPI v3.2.0] https://pypi.org/project/mistralai/3.2.0 - .
Publishing Completed
python - v3.1.0 - 2026-10-06 15:53:07
Generated by Speakeasy CLI
2026-10-06 15:20:33
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Removed from the stable API surface (7):
RunsRuns.get_runRuns.get_run_asyncRuns.get_run_historyRuns.get_run_history_asyncRuns.list_runsRuns.list_runs_async
Stable type changes
Changed types or signatures on the stable surface (1):
Workflows.runs: Runs -> WorkflowsRuns
Beta surface changes
Removed from the beta surface (16):
RecordsAuthenticationMethodCreateOrUpdateRequest.auth_directionHTTPConnector.system_prompt_routeMCPConnector.system_prompt_routeRecords.bulk_deleteRecords.bulk_delete_asyncRecords.deleteRecords.delete_asyncRecords.fetchRecords.fetch_asyncRecords.judgeRecords.judge_asyncRecords.update_payloadRecords.update_payload_asyncRecords.update_propertiesRecords.update_properties_async
Changed types or signatures in beta (27):
AuthenticationConfiguration.authentication_type: OutboundAuthenticationType -> AuthenticationTypeAuthenticationMethodCreateOrUpdateRequest.method_type: MethodType -> AuthenticationTypeAuthenticationMethodCreateOrUpdateRequestTypedDict.method_type: MethodTypeTypedDict -> AuthenticationTypeConnectorGetAuthURLV1Request.method_type: Annotated[Optional[OutboundAuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))] -> Annotated[Optional[AuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))]ConnectorGetAuthURLV1RequestTypedDict.method_type: NotRequired[OutboundAuthenticationType] -> NotRequired[AuthenticationType]ConnectorListOrganizationCredentialsV1Request.auth_type: Annotated[OptionalNullable[OutboundAuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))] -> Annotated[OptionalNullable[AuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))]ConnectorListOrganizationCredentialsV1RequestTypedDict.auth_type: NotRequired[Nullable[OutboundAuthenticationType]] -> NotRequired[Nullable[AuthenticationType]]ConnectorListUserCredentialsV1Request.auth_type: Annotated[OptionalNullable[OutboundAuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))] -> Annotated[OptionalNullable[AuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))]ConnectorListUserCredentialsV1RequestTypedDict.auth_type: NotRequired[Nullable[OutboundAuthenticationType]] -> NotRequired[Nullable[AuthenticationType]]ConnectorListWorkspaceCredentialsV1Request.auth_type: Annotated[OptionalNullable[OutboundAuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))] -> Annotated[OptionalNullable[AuthenticationType], FieldMetadata(query=QueryParamMetadata(style='form', explode=True))]ConnectorListWorkspaceCredentialsV1RequestTypedDict.auth_type: NotRequired[Nullable[OutboundAuthenticationType]] -> NotRequired[Nullable[AuthenticationType]]CredentialsResponse.connector_preset_credentials_for_auth: Optional[List[OutboundAuthenticationType]] -> Optional[List[AuthenticationType]]CredentialsResponseTypedDict.connector_preset_credentials_for_auth: NotRequired[List[OutboundAuthenticationType]] -> NotRequired[List[AuthenticationType]]Datasets.records: Records -> DatasetsRecordsOAuth2AuthorizationCodeAuthMethod.oauth2_server_metadata: ExtendedOAuthServerMetadata -> OptionalNullable[ExtendedOAuthServerMetadata]OAuth2AuthorizationCodeAuthMethodTypedDict.oauth2_server_metadata: ExtendedOAuthServerMetadataTypedDict -> NotRequired[Nullable[ExtendedOAuthServerMetadataTypedDict]]OrderByClause.direction: Optional[Direction] -> Optional[OrderByClauseDirection]OrderByClauseTypedDict.direction: NotRequired[Direction] -> NotRequired[OrderByClauseDirection]PublicAuthenticationMethod.method_type: OutboundAuthenticationType -> AuthenticationTypeUpdatePipelineRequest.definitions: List[JudgeDefinition] -> Optional[List[JudgeDefinition]]UpdatePipelineRequest.enabled: bool -> Optional[bool]UpdatePipelineRequest.name: str -> Optional[str]UpdatePipelineRequest.selectors: List[PipelineConfigSelector] -> Optional[List[PipelineConfigSelector]]UpdatePipelineRequestTypedDict.definitions: List[JudgeDefinitionTypedDict] -> NotRequired[List[JudgeDefinitionTypedDict]]UpdatePipelineRequestTypedDict.enabled: bool -> NotRequired[bool]- ...and 2 more
Now required on an existing beta model (6):
Dataset.slugDatasetPreview.slugEvaluations.optimizationsEvaluations.projectsEvaluations.recordsEvaluations.runs
API changes
Beta API changes
- Removed field
system_prompt_routefrom responseitems[].union(http)insdk.beta.connectors.list(). - Removed field
system_prompt_routefrom responseitems[].union(mcp)insdk.beta.connectors.list(). - Removed field
system_prompt_routefrom responseunion(http)insdk.beta.connectors.create(),sdk.beta.connectors.get(), andsdk.beta.connectors.update(). - Removed field
system_prompt_routefrom responseunion(mcp)insdk.beta.connectors.create(),sdk.beta.connectors.get(), andsdk.beta.connectors.update(). - Removed field
auth_directionfrom requestbody.union(http).auth_methods[].union(AuthenticationMethodCreateOrUpdateRequest)insdk.beta.connectors.update(). - Changed field
method_typeinsdk.beta.connectors.update(). - Changed field
auth_methods[]insdk.beta.connectors.update().
Added operations
Beta:
sdk.beta.observability.evaluations.list()sdk.beta.observability.evaluations.get()sdk.beta.observability.evaluations.projects.list()sdk.beta.observability.evaluations.projects.get()sdk.beta.observability.evaluations.runs.search()sdk.beta.observability.evaluations.runs.search_all()sdk.beta.observability.evaluations.runs.get()sdk.beta.observability.evaluations.runs.get_statistics()sdk.beta.observability.evaluations.runs.compute_statistics()sdk.beta.observability.evaluations.records.get()sdk.beta.observability.evaluations.records.search()sdk.beta.observability.evaluations.optimizations.list()sdk.beta.observability.evaluations.optimizations.get()sdk.beta.observability.evaluations.optimizations.list_trials()
Schema changes
- Changed request field
oauth2_server_metadatainsdk.beta.connectors.create()andsdk.beta.connectors.update(). - Added enum values
optimization_not_foundandproject_not_foundacross beta observability judges, beta observability datasets, beta observability datasets records, beta observability evaluations, beta observability logs, beta observability traces, beta observability spans (55 operations). - Added response field
sluginsdk.beta.observability.datasets.list(),sdk.beta.observability.datasets.create(),sdk.beta.observability.datasets.fetch(), andsdk.beta.observability.datasets.update(). - Changed request fields
definitions,enabled,name, andselectorsinsdk.beta.observability.evaluations.update_pipeline(). - Added request enum value
agentic_safetyinsdk.files.list()andsdk.files.upload(). - Added response enum value
agentic_safetyinsdk.files.list(),sdk.files.upload(), andsdk.files.retrieve(). - Added request variants
resourceandresource_linkinsdk.chat.complete(),sdk.agents.complete(),sdk.classifiers.moderate_chat(), andsdk.classifiers.classify_chat(). - Added response variants
resourceandresource_linkinsdk.chat.complete(),sdk.fim.complete(), andsdk.agents.complete(). - Changed request field
union(Array<ContentChunk>)[]insdk.chat.complete(),sdk.agents.complete(),sdk.classifiers.moderate_chat(), andsdk.classifiers.classify_chat(). - Added response field
kindacross audio voices (6 operations). - Added request field
workflow_nameinsdk.workflows.get_workflow_registrations().
Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
Generated
- [python v3.1.0] .
Releases
- [PyPI v3.1.0] https://pypi.org/project/mistralai/3.1.0 - .
Publishing Completed
Python - v3.0.0
Generated SDK baseline differences
The published SDK or generator baseline differs from the baseline used by the OpenAPI changelog.
Generated surface details
Stable compatibility changes
Removed from the stable API surface (24):
DeploymentKoyebBackendSpecUnknownDeploymentWorkerSpecResponseBackendSpecDeploymentKoyebBackendSpec.build_directoryDeploymentKoyebBackendSpec.dockerfile_pathDeploymentKoyebBackendSpec.typeDeploymentResourceConfig.cpu_limitDeploymentResourceConfig.cpu_requestDeploymentResourceConfig.memory_limitDeploymentResourceConfig.memory_requestDeploymentResourceConfigUpdate.cpu_limitDeploymentResourceConfigUpdate.cpu_requestDeploymentResourceConfigUpdate.memory_limitDeploymentResourceConfigUpdate.memory_requestDeploymentWorkerSpecInput.entrypointDeploymentWorkerSpecInput.working_dirDeploymentWorkerSpecResponse.commit_shaDeploymentWorkerSpecResponse.entrypointDeploymentWorkerSpecResponse.working_dirUnknownDeploymentWorkerSpecResponseBackendSpec.is_unknownUnknownDeploymentWorkerSpecResponseBackendSpec.rawUnknownDeploymentWorkerSpecResponseBackendSpec.typeWorkflowsWorkerSpecUpdate.entrypointWorkflowsWorkerSpecUpdate.working_dirDeploymentKoyebBackendSpec.serialize_model
Stable type changes
Changed types or signatures on the stable surface (143):
ActivityTaskCompletedResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskCompletedResponse.continued_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskCompletedResponse.first_execution_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskCompletedResponse.schedule_id: Nullable[str] -> OptionalNullable[str]ActivityTaskCompletedResponseTypedDict.chain_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskCompletedResponseTypedDict.continued_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskCompletedResponseTypedDict.first_execution_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskCompletedResponseTypedDict.schedule_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskFailedResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskFailedResponse.continued_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskFailedResponse.first_execution_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskFailedResponse.schedule_id: Nullable[str] -> OptionalNullable[str]ActivityTaskFailedResponseTypedDict.chain_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskFailedResponseTypedDict.continued_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskFailedResponseTypedDict.first_execution_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskFailedResponseTypedDict.schedule_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskRetryingResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskRetryingResponse.continued_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskRetryingResponse.first_execution_run_id: Nullable[str] -> OptionalNullable[str]ActivityTaskRetryingResponse.schedule_id: Nullable[str] -> OptionalNullable[str]ActivityTaskRetryingResponseTypedDict.chain_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskRetryingResponseTypedDict.continued_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskRetryingResponseTypedDict.first_execution_run_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskRetryingResponseTypedDict.schedule_id: Nullable[str] -> NotRequired[Nullable[str]]ActivityTaskStartedResponse.chain_run_id: Nullable[str] -> OptionalNullable[str]- ...and 118 more
Beta surface changes
Removed from the beta surface (20):
ConnectorDeleteOrganizationCredentialsV1RequestConnectorDeleteUserCredentialsV1RequestConnectorDeleteWorkspaceCredentialsV1RequestConnectorDeleteOrganizationCredentialsV1Request.connector_id_or_nameConnectorDeleteOrganizationCredentialsV1Request.credentials_nameConnectorDeleteUserCredentialsV1Request.connector_id_or_nameConnectorDeleteUserCredentialsV1Request.credentials_nameConnectorDeleteWorkspaceCredentialsV1Request.connector_id_or_nameConnectorDeleteWorkspaceCredentialsV1Request.credentials_nameConnectorGetV1Request.fetch_customer_dataConnectorListToolsV1Request.pageConnectorsQueryFilters.activeCreatePipelineConfigRequest.definitionsUpdatePipelineConfigRequest.definitionsConnectors.delete_organization_credentialsConnectors.delete_organization_credentials_asyncConnectors.delete_user_credentialsConnectors.delete_user_credentials_asyncConnectors.delete_workspace_credentialsConnectors.delete_workspace_credentials_async
Changed types or signatures in beta (10):
PipelineConfig.definitions: List[PipelineConfigDefinition] -> Optional[List[PipelineConfigDefinition]]PipelineConfigTypedDict.definitions: List[PipelineConfigDefinitionTypedDict] -> NotRequired[List[PipelineConfigDefinitionTypedDict]]SearchRequest.retriever: Retriever -> SearchRequestRetrieverSearchRequestTypedDict.retriever: RetrieverTypedDict -> SearchRequestRetrieverTypedDictUsersAPIGetIdentitySecurity.dashboard_user_context_auth: Annotated[str, FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))] -> Annotated[Optional[str], FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))]UsersAPIGetIdentitySecurityTypedDict.dashboard_user_context_auth: str -> NotRequired[str]UsersAPIListOrganizationsSecurity.dashboard_user_context_auth: Annotated[str, FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))] -> Annotated[Optional[str], FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))]UsersAPIListOrganizationsSecurityTypedDict.dashboard_user_context_auth: str -> NotRequired[str]UsersAPIListWorkspacesSecurity.dashboard_user_context_auth: Annotated[str, FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))] -> Annotated[Optional[str], FieldMetadata(security=SecurityMetadata(scheme=True, scheme_type='apiKey', sub_type='header', field_name='x-api-key'))]UsersAPIListWorkspacesSecurityTypedDict.dashboard_user_context_auth: str -> NotRequired[str]
Now required on an existing beta model (4):
CreatePipelineConfigRequest.definitionManagedIndexResponse.creator_idPipelineConfig.definitionUpdatePipelineConfigRequest.definition
API changes
Highlights
- The SDK uses HTTPX2 instead of HTTPX, and the
mcpandagentsextras MCP 2.2. A client passed asclient=orasync_client=must be anhttpx2client, and raw requests, responses and transport errors arehttpx2types. See MIGRATION.md for every breaking change in this release. - Chat and agents completions no longer accept the
code_interpreter,web_searchandweb_search_premiumtools; use them through the Conversations API or an agent. - Workflow deployments: the
koyebbackend is nowmistral_cloud(DeploymentKoyebBackendSpecis replaced byDeploymentMistralCloudBackendSpec), the Kubernetes backend can no longer be set, the CPU/memory,entrypoint,working_dirandcommit_shafields are removed, andUnknownDeploymentWorkerSpecResponseBackendSpecis renamedUnknownBackendSpec. - New:
Mistral()authenticates from a service-account token atMISTRAL_SA_TOKEN_PATH;beta.connectors.mcp_client()andbeta.connectors.http_client()call connectors directly through the Connectors Gateway, whose own failures raiseConnectorsGatewayError.
Breaking changes
- Removed fields
cpu_limit,cpu_request,memory_limit, andmemory_requestfrom responseresourcesacross workflows deployments (6 operations). - Changed field
typeacross workflows deployments (6 operations). - Removed fields
commit_sha,entrypoint, andworking_dirfrom responsespecacross workflows deployments (6 operations). - Removed fields
cpu_limit,cpu_request,memory_limit, andmemory_requestfrom requestresourcesinsdk.workflows.deployments.update_deployment()andsdk.workflows.deployments.create_deployment(). - Changed field
backend_specinsdk.workflows.deployments.update_deployment()andsdk.workflows.deployments.create_deployment(). - Removed fields
entrypointandworking_dirfrom requestspecinsdk.workflows.deployments.update_deployment()andsdk.workflows.deployments.create_deployment(). - Removed fields
cpu_limit,cpu_request,memory_limit, andmemory_requestfrom responsemanaged.resourcesinsdk.workflows.deployments.get_deployment(). - Changed field
typeinsdk.workflows.deployments.get_deployment(). - Removed fields
commit_sha,entrypoint, andworking_dirfrom responsemanaged.specinsdk.workflows.deployments.get_deployment(). - Removed fields
cpu_limit,cpu_request,memory_limit, andmemory_requestfrom responsedeployments[].managed.resourcesinsdk.workflows.deployments.list_deployments(). - Changed field
typeinsdk.workflows.deployments.list_deployments(). - Removed fields
commit_sha,entrypoint, andworking_dirfrom responsedeployments[].managed.specinsdk.workflows.deployments.list_deployments(). - Removed variants
code_interpreter,web_search, andweb_search_premiumfrom requesttools[]insdk.chat.complete(), `sdk.chat....