Skip to content

Tags: mistralai/client-python

Tags

v2.4.5

Toggle v2.4.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy-sdk…

…-regen-25492313905] 2.4.5 (#518)

* ## Python SDK Changes:
* `mistral.workflows.executions.stream()`:  `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload` **Changed** (Breaking ⚠️)
* `mistral.workflows.events.get_stream_events()`:  `response.[].data.data` **Changed** (Breaking ⚠️)
* `mistral.workflows.events.get_workflow_events()`:  `response.events[]` **Changed** (Breaking ⚠️)
* `mistral.events.get_stream_events()`:  `response.[].data.data.union(CustomTaskInProgressResponse).attributes.payload` **Changed** (Breaking ⚠️)
* `mistral.events.get_workflow_events()`:  `response.events[]` **Changed** (Breaking ⚠️)
* `mistral.beta.connectors.get_authentication_methods()`:  `response.[].has_default_credentials` **Added**

* chore: align pyproject.toml and uv.lock to version 2.4.5

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.4.4

Toggle v2.4.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
## Python SDK Changes: (#506)

* `mistral.beta.libraries.update()`:  `request.name` **Changed** (Breaking ⚠️)
* `mistral.beta.libraries.documents.update()`:  `request.name` **Changed** (Breaking ⚠️)
* `mistral.beta.rag.ingestion_pipeline_configurations.update_run_info()`: **Added**
* `mistral.workflows.schedules.pause_schedule()`: **Added**
* `mistral.workflows.schedules.resume_schedule()`: **Added**
* `mistral.beta.rag.ingestion_pipeline_configurations.list()`:  `response.[]` **Changed**
* `mistral.beta.rag.ingestion_pipeline_configurations.register()`: 
  *  `request.pipeline_composition` **Added**
  *  `response` **Changed**
* `mistral.workflows.schedules.get_schedules()`:  `response.schedules[]` **Changed**
* `mistral.workflows.schedules.schedule_workflow()`: 
  *  `request.schedule.max_executions` **Added**

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>

v2.4.3

Toggle v2.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.3 (#503)

* ## Python SDK Changes:
* `mistral.ocr.process()`:  `request.id` **Removed** (Breaking ⚠️)
* `mistral.beta.rag.ingestion_pipeline_configurations.register()`: **Added**

* chore: align pyproject.toml and uv.lock to version 2.4.3

* chore: trigger CI

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Louis Sanna <louis.sanna@mistral.ai>

v2.4.2

Toggle v2.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.2 (#501)

* ## Python SDK Changes:
* `mistral.beta.observability.chat_completion_events.search()`:  `response.completion_events.results[].extra_fields.Map<extra_fields>.union(Map<string>)` **Added** (Breaking ⚠️)
* `mistral.beta.observability.chat_completion_events.fetch()`:  `response.extra_fields.Map<extra_fields>.union(Map<string>)` **Added** (Breaking ⚠️)
* `mistral.beta.observability.chat_completion_events.fetch_similar_events()`:  `response.completion_events.results[].extra_fields.Map<extra_fields>.union(Map<string>)` **Added** (Breaking ⚠️)
* `mistral.beta.observability.campaigns.list_events()`:  `response.completion_events.results[].extra_fields.Map<extra_fields>.union(Map<string>)` **Added** (Breaking ⚠️)
* `mistral.workflows.execute_workflow_registration()`:  `request.encoded_input` **Removed** (Breaking ⚠️)
* `mistral.workflows.execute_workflow()`:  `request.encoded_input` **Removed** (Breaking ⚠️)
* `mistral.chat.complete()`:  `request.prompt_cache_key` **Added**
* `mistral.beta.connectors.update()`: 
  *  `request.title` **Added**
  *  `response.title` **Added**
* `mistral.beta.connectors.get()`:  `response.title` **Added**
* `mistral.chat.stream()`:  `request.prompt_cache_key` **Added**
* `mistral.fim.complete()`:  `request.prompt_cache_key` **Added**
* `mistral.fim.stream()`:  `request.prompt_cache_key` **Added**
* `mistral.agents.complete()`:  `request.prompt_cache_key` **Added**
* `mistral.agents.stream()`:  `request.prompt_cache_key` **Added**
* `mistral.beta.connectors.list()`:  `response.items[].title` **Added**
* `mistral.beta.connectors.create()`: 
  *  `request.title` **Added**
  *  `response.title` **Added**

* chore: align pyproject.toml and uv.lock to version 2.4.2

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.4.1

Toggle v2.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.1 (#498)

* ## Python SDK Changes:
* `mistral.beta.conversations.restart_stream()`: 
  *  `request` **Changed** (Breaking ⚠️)
  *  `response.[].data.union(message.output.delta).content.union(OutputContentChunks).union(ThinkChunk).signature` **Added**
* `mistral.workflows.executions.get_workflow_execution_trace_events()`:  `response` **Changed** (Breaking ⚠️)
* `mistral.workflows.executions.get_workflow_execution_trace_summary()`:  `response` **Changed** (Breaking ⚠️)
* `mistral.workflows.executions.get_workflow_execution_trace_otel()`:  `response` **Changed** (Breaking ⚠️)
* `mistral.beta.connectors.update()`:  `response.tools` **Removed** (Breaking ⚠️)
* `mistral.beta.connectors.get()`:  `response.tools` **Removed** (Breaking ⚠️)
* `mistral.beta.connectors.list()`:  `response.items[].tools` **Removed** (Breaking ⚠️)
* `mistral.beta.connectors.create()`:  `response.tools` **Removed** (Breaking ⚠️)
* `mistral.beta.agents.get_version()`:  `response.metadata` **Changed** (Breaking ⚠️)
* `mistral.beta.agents.list_versions()`:  `response.[].metadata` **Changed** (Breaking ⚠️)
* `mistral.beta.agents.update_version()`:  `response.metadata` **Changed** (Breaking ⚠️)
* `mistral.audio.speech.complete()`:  `request.metadata` **Changed** (Breaking ⚠️)
* `mistral.audio.voices.get_sample_audio()`:  `response.status[200]` **Changed** (Breaking ⚠️)
* `mistral.beta.conversations.start()`: 
  *  `request` **Changed** (Breaking ⚠️)
  *  `response.outputs[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added**
* `mistral.beta.conversations.list()`:  `response.[]` **Changed** (Breaking ⚠️)
* `mistral.beta.conversations.get()`:  `response` **Changed** (Breaking ⚠️)
* `mistral.beta.agents.update()`: 
  *  `request.metadata` **Changed** (Breaking ⚠️)
  *  `response.metadata` **Changed** (Breaking ⚠️)
* `mistral.beta.agents.get()`:  `response.metadata` **Changed** (Breaking ⚠️)
* `mistral.beta.agents.list()`:  `response.[].metadata` **Changed** (Breaking ⚠️)
* `mistral.beta.conversations.restart()`: 
  *  `request` **Changed** (Breaking ⚠️)
  *  `response.outputs[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added**
* `mistral.beta.conversations.start_stream()`: 
  *  `request` **Changed** (Breaking ⚠️)
  *  `response.[].data.union(message.output.delta).content.union(OutputContentChunks).union(ThinkChunk).signature` **Added**
* `mistral.beta.agents.create()`: 
  *  `request.metadata` **Changed** (Breaking ⚠️)
  *  `response.metadata` **Changed** (Breaking ⚠️)
* `mistral.beta.conversations.get_history()`:  `response.entries[].union(MessageInputEntry).content.union(Array<MessageInputContentChunks>)[].union(ThinkChunk).signature` **Added**
* `mistral.classifiers.moderate_chat()`: 
  *  `request.inputs.union(Array<>)[].union(system).content.union(Array<SystemMessageContentChunks>)[].union(thinking).signature` **Added**
* `mistral.beta.conversations.get_messages()`:  `response.messages[].union(MessageInputEntry).content.union(Array<MessageInputContentChunks>)[].union(ThinkChunk).signature` **Added**
* `mistral.beta.connectors.get_authentication_methods()`: **Added**
* `mistral.beta.conversations.append()`: 
  *  `request.inputs.union(Array<InputEntries>)[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added**
  *  `response.outputs[].union(MessageOutputEntry).content.union(Array<MessageOutputContentChunks>)[].union(ThinkChunk).signature` **Added**
* `mistral.beta.rag.ingestion_pipeline_configurations.list()`: **Added**
* `mistral.beta.connectors.delete_user_credentials()`: **Added**
* `mistral.beta.connectors.delete_workspace_credentials()`: **Added**
* `mistral.beta.libraries.create()`:  `request.owner_type` **Added**
* `mistral.beta.libraries.documents.text_content()`:  `request` **Changed**
* `mistral.beta.observability.chat_completion_events.fields.list()`:  `response.field_definitions[].type.enum(map)` **Added**
* `mistral.beta.connectors.delete_organization_credentials()`: **Added**
* `mistral.beta.connectors.create_or_update_user_credentials()`: **Added**
* `mistral.beta.connectors.get_auth_url()`:  `request.credentials_name` **Added**
* `mistral.beta.connectors.list_tools()`:  `request.credentials_name` **Added**
* `mistral.beta.connectors.list_user_credentials()`: **Added**
* `mistral.beta.connectors.create_or_update_workspace_credentials()`: **Added**
* `mistral.chat.complete()`: 
  *  `request` **Changed**
  *  `response.choices[].message.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.chat.stream()`: 
  *  `request` **Changed**
  *  `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.fim.complete()`: 
  *  `request` **Changed**
  *  `response.choices[].message.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.fim.stream()`: 
  *  `request` **Changed**
  *  `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.agents.complete()`: 
  *  `request` **Changed**
  *  `response.choices[].message.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.agents.stream()`: 
  *  `request` **Changed**
  *  `response.[].data.choices[].delta.content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.beta.conversations.append_stream()`: 
  *  `request.inputs.union(Array<InputEntries>)[].union(MessageInputEntry).content.union(Array<MessageInputContentChunks>)[].union(ThinkChunk).signature` **Added**
  *  `response.[].data.union(message.output.delta).content.union(OutputContentChunks).union(ThinkChunk).signature` **Added**
* `mistral.classifiers.classify_chat()`: 
  *  `request.input.union(InstructRequest).messages[].union(tool).content.union(Array<ContentChunk>)[].union(thinking).signature` **Added**
* `mistral.workflows.get_workflow_registrations()`:  `response.workflow_registrations[]` **Changed**
* `mistral.workflows.execute_workflow()`: 
  *  `request.extensions` **Added**
  *  `response.union(WorkflowExecutionResponse).run_id` **Added**
* `mistral.workflows.execute_workflow_registration()`: 
  *  `request.extensions` **Added**
  *  `response.union(WorkflowExecutionResponse).run_id` **Added**
* `mistral.workflows.get_workflow()`:  `response.workflow.on_behalf_of` **Added**
* `mistral.workflows.update_workflow()`:  `response.workflow.on_behalf_of` **Added**
* `mistral.workflows.get_workflow_registration()`:  `response.workflow_registration` **Changed**
* `mistral.workflows.archive_workflow()`:  `response.workflow.on_behalf_of` **Added**
* `mistral.workflows.unarchive_workflow()`:  `response.workflow.on_behalf_of` **Added**
* `mistral.workflows.executions.get_workflow_execution()`:  `response.run_id` **Added**
* `mistral.beta.connectors.list_workspace_credentials()`: **Added**
* `mistral.beta.connectors.create_or_update_organization_credentials()`: **Added**
* `mistral.beta.connectors.list_organization_credentials()`: **Added**
* `mistral.workflows.executions.stream()`:  `response.[].data.data.union(WorkflowExecutionStartedResponse).attributes.display_name` **Added**
* `mistral.workflows.runs.list_runs()`: 
  *  `request.user_id` **Added**
  *  `response.executions[].run_id` **Added**
* `mistral.workflows.runs.get_run()`:  `response.run_id` **Added**
* `mistral.workflows.events.get_stream_events()`:  `response.[].data.data.union(WorkflowExecutionStartedResponse).attributes.display_name` **Added**
* `mistral.workflows.events.get_workflow_events()`:  `response.events[].union(WorkflowExecutionStartedResponse).attributes.display_name` **Added**
* `mistral.workflows.deployments.list_deployments()`:  `response.deployments[].location` **Added**
* `mistral.workflows.deployments.get_deployment()`:  `response.location` **Added**
* `mistral.events.get_stream_events()`:  `response.[].data.data.union(WorkflowExecutionStartedResponse).attributes.display_name` **Added**
* `mistral.events.get_workflow_events()`:  `response.events[].union(WorkflowExecutionStartedResponse).attributes.display_name` **Added**

* chore: align pyproject.toml and uv.lock to version 2.4.1

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.4.0

Toggle v2.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.0 (#491)

* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.1

* chore: align pyproject.toml and uv.lock to version 2.4.0

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.4.0rc2

Toggle v2.4.0rc2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.0rc2 (#489)

* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.1

* chore: align pyproject.toml and uv.lock to version 2.4.0rc2

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.4.0rc1

Toggle v2.4.0rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.4.0rc1 (#487)

* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.1

* chore: align pyproject.toml and uv.lock to version 2.4.0rc1

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.3.2

Toggle v2.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.3.2 (#484)

* ## Python SDK Changes:
* `mistral.chat.complete()`:  `response.choices[].messages[]` **Changed** (Breaking ⚠️)
* `mistral.agents.complete()`:  `response.choices[].messages[]` **Changed** (Breaking ⚠️)
* `mistral.fim.complete()`:  `response.choices[].messages[]` **Changed** (Breaking ⚠️)
* `mistral.beta.observability.datasets.delete()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.campaigns.delete()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.chat_completion_events.judge()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.chat_completion_events.fields.list()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.chat_completion_events.fields.fetch_options()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.chat_completion_events.fields.fetch_option_counts()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.judges.create()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.judges.list()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.judges.fetch()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.judges.delete()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.judges.update()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.judges.judge_conversation()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.campaigns.create()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.campaigns.list()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.campaigns.fetch()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.list_records()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.campaigns.fetch_status()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.campaigns.list_events()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.create()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.list()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.fetch()`:  `error.detail.error_code` **Changed**
* `mistral.beta.libraries.list()`:  `request` **Changed**
* `mistral.beta.observability.chat_completion_events.fetch_similar_events()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.update()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.records.update_properties()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.import_from_campaign()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.import_from_explorer()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.import_from_file()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.import_from_playground()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.import_from_dataset_records()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.export_to_jsonl()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.fetch_task()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.list_tasks()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.records.fetch()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.records.delete()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.records.bulk_delete()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.records.judge()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.records.update_payload()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.datasets.create_record()`:  `error.detail.error_code` **Changed**
* `mistral.beta.observability.chat_completion_events.fetch()`:  `error.detail.error_code` **Changed**
* `mistral.chat.stream()`:  `response.[].data.choices[].delta` **Changed**
* `mistral.beta.observability.chat_completion_events.search_ids()`:  `error.detail.error_code` **Changed**
* `mistral.fim.stream()`:  `response.[].data.choices[].delta` **Changed**
* `mistral.beta.observability.chat_completion_events.search()`:  `error.detail.error_code` **Changed**
* `mistral.agents.stream()`:  `response.[].data.choices[].delta` **Changed**
* `mistral.workflows.deployments.get_deployment()`:  `response.workers[].is_active` **Added**

* chore: align pyproject.toml and uv.lock to version 2.3.2

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>

v2.3.1

Toggle v2.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 2.3.1 (#477)

* ## Python SDK Changes:
* `mistral.ocr.process()`: 
  *  `request` **Changed** (Breaking ⚠️)
  *  `response.pages[]` **Changed**
* `mistral.chat.complete()`:  `response.choices[]` **Changed**
* `mistral.fim.complete()`:  `response.choices[]` **Changed**
* `mistral.agents.complete()`:  `response.choices[]` **Changed**
* `mistral.workflows.executions.stream()`:  `request.event_source` **Changed**

* chore: align pyproject.toml and uv.lock to version 2.3.1

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Action <action@github.com>