Une liste d'exécutions de workflow













Exécutions des workflows












Exemples
Exemples réels de code
Lister les exécutions
GET /v1/workflows/runs
200
Réponse réussie
next_page_token
Jeton à utiliser pour récupérer la page suivante de résultats. Null si c'est la dernière page.
Playground
Testez les endpoints en direct
curl https://api.mistral.ai/v1/workflows/runs \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/workflows/runs \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"executions": [
{
"end_time": null,
"execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"root_execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"start_time": "2025-12-17T10:25:07.818693Z",
"status": "RUNNING",
"workflow_name": "support-workflow"
}
]
}{
"executions": [
{
"end_time": null,
"execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"root_execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"start_time": "2025-12-17T10:25:07.818693Z",
"status": "RUNNING",
"workflow_name": "support-workflow"
}
]
}Obtenir une exécution
GET /v1/workflows/runs/{run_id}
run_id
200
Réponse réussie
end_time
L'heure de fin de l'exécution du workflow, si disponible
execution_id
L'ID de l'exécution du workflow
parent_execution_id
L'ID d'exécution parent de l'exécution du workflow
result
Le résultat de l'exécution du workflow, si disponible
root_execution_id
L'ID d'exécution racine de l'exécution du workflow
run_id
L'identifiant unique de l'exécution (UUID de la base de données)
start_time
L'heure de début de l'exécution du workflow
status
Le statut de l'exécution du workflow
total_duration_ms
La durée totale de la trace en millisecondes
workflow_name
Nom du workflow
Playground
Testez les endpoints en direct
curl https://api.mistral.ai/v1/workflows/runs/{run_id} \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/workflows/runs/{run_id} \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"end_time": null,
"execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"result": null,
"root_execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"start_time": "2025-12-17T10:25:07.818693Z",
"status": "RUNNING",
"workflow_name": "support-workflow"
}{
"end_time": null,
"execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"result": null,
"root_execution_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"start_time": "2025-12-17T10:25:07.818693Z",
"status": "RUNNING",
"workflow_name": "support-workflow"
}Obtenir l'historique d'une exécution
GET /v1/workflows/runs/{run_id}/history
run_id
decode_payloads
200
Réponse réussie
Playground
Testez les endpoints en direct
curl https://api.mistral.ai/v1/workflows/runs/{run_id}/history \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/workflows/runs/{run_id}/history \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
nullnull