Add execute_workflow_and_wait + workflow execution examples#451
Merged
mistralai-nfau merged 4 commits intoMar 27, 2026
Conversation
anth2o
approved these changes
Mar 27, 2026
HHK1
reviewed
Mar 27, 2026
78e7337
into
antoinehoorelbeke/migrate-workflows-client-core-mistralai
anth2o
pushed a commit
that referenced
this pull request
Mar 30, 2026
* Add execute_workflow_and_wait feature * Add workflow execution examples * Fix SDK generation issue * Do not include deprecated task-queue param anymore
anth2o
added a commit
that referenced
this pull request
Mar 30, 2026
* ## Python SDK Changes: * `mistral.models.list()`: `response.data[].union(fine-tuned).job` **Changed** (Breaking⚠️ ) * `mistral.beta.connectors.list_tools()`: `response` **Changed** (Breaking⚠️ ) * `mistral.models.update()`: `response` **Changed** (Breaking⚠️ ) * `mistral.models.retrieve()`: `response.union(fine-tuned).job` **Changed** (Breaking⚠️ ) * `mistral.workflows.metrics.get_workflow_metrics()`: **Added** * `mistral.workflows.get_workflow()`: **Added** * `mistral.workflows.update_workflow()`: **Added** * `mistral.workflows.get_workflow_registration()`: **Added** * `mistral.workflows.archive_workflow()`: **Added** * `mistral.workflows.unarchive_workflow()`: **Added** * `mistral.workflows.executions.get_workflow_execution()`: **Added** * `mistral.workflows.executions.get_workflow_execution_history()`: **Added** * `mistral.workflows.executions.signal_workflow_execution()`: **Added** * `mistral.workflows.executions.query_workflow_execution()`: **Added** * `mistral.workflows.executions.terminate_workflow_execution()`: **Added** * `mistral.workflows.executions.batch_terminate_workflow_executions()`: **Added** * `mistral.workflows.executions.cancel_workflow_execution()`: **Added** * `mistral.workflows.executions.batch_cancel_workflow_executions()`: **Added** * `mistral.workflows.executions.reset_workflow()`: **Added** * `mistral.workflows.executions.update_workflow_execution()`: **Added** * `mistral.workflows.executions.get_workflow_execution_trace_otel()`: **Added** * `mistral.workflows.executions.get_workflow_execution_trace_summary()`: **Added** * `mistral.workflows.executions.get_workflow_execution_trace_events()`: **Added** * `mistral.workflows.executions.stream()`: **Added** * `mistral.workflows.runs.get_run()`: **Added** * `mistral.batch.jobs.delete()`: **Added** * `mistral.workflows.runs.list_runs()`: **Added** * `mistral.workflows.runs.get_run_history()`: **Added** * `mistral.workflows.schedules.get_schedules()`: **Added** * `mistral.workflows.schedules.schedule_workflow()`: **Added** * `mistral.workflows.schedules.unschedule_workflow()`: **Added** * `mistral.workflows.events.receive_workflow_event()`: **Added** * `mistral.workflows.events.receive_workflow_events_batch()`: **Added** * `mistral.workflows.events.get_stream_events()`: **Added** * `mistral.workflows.events.get_workflow_events()`: **Added** * `mistral.workflows.deployments.list_deployments()`: **Added** * `mistral.workflows.deployments.get_deployment()`: **Added** * `mistral.events.receive_workflow_event()`: **Added** * `mistral.events.receive_workflow_events_batch()`: **Added** * `mistral.events.get_stream_events()`: **Added** * `mistral.events.get_workflow_events()`: **Added** * `mistral.audio.voices.list()`: `request.type` **Added** * `mistral.workflows.execute_workflow_registration()`: **Added** * `mistral.workflows.execute_workflow()`: **Added** * `mistral.workflows.get_workflow_registrations()`: **Added** * `mistral.beta.libraries.list()`: * `request` **Changed** * `response.pagination` **Added** * `error.status[422]` **Added** * `mistral.beta.connectors.call_tool()`: `request.credentials_name` **Added** * `mistral.workflows.get_workflows()`: **Added** * chore: align pyproject.toml and uv.lock to version 2.2.0rc1 * Add execute_workflow_and_wait + workflow execution examples (#451) * Add execute_workflow_and_wait feature * Add workflow execution examples * Fix SDK generation issue * Do not include deprecated task-queue param anymore * rename wait_for_workflow_completion as public method --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: GitHub Action <[email protected]> Co-authored-by: Nicolas Faurie <[email protected]> Co-authored-by: Antoine Hoorelbeke <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
execute_workflow_and_wait/execute_workflow_and_wait_asynchelper methods to execute a workflow and wait for completion.Also added some workflow execution examples