Tree BG 1
Tree
Tree
TreeLeaves
TreeLeaves
Cat IdleGrassGrassRockRock

Exécutions des workflows

Lister les exécutions

GET /v1/workflows/runs

200

Réponse réussie

Une liste d'exécutions de workflow

next_page_token
string|null

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'

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"
    }
  ]
}

Obtenir une exécution

GET /v1/workflows/runs/{run_id}

200

Réponse réussie

end_time
*date-time|null

L'heure de fin de l'exécution du workflow, si disponible

execution_id
*string

L'ID de l'exécution du workflow

parent_execution_id
string|null

L'ID d'exécution parent de l'exécution du workflow

result
*any|null

Le résultat de l'exécution du workflow, si disponible

root_execution_id
*string

L'ID d'exécution racine de l'exécution du workflow

run_id
string|null

L'identifiant unique de l'exécution (UUID de la base de données)

start_time
*date-time

L'heure de début de l'exécution du workflow

status
*"RUNNING"|"COMPLETED"|"FAILED"|"CANCELED"|"TERMINATED"|"CONTINUED_AS_NEW"|"TIMED_OUT"|"RETRYING_AFTER_ERROR"

Le statut de l'exécution du workflow

total_duration_ms
integer|null

La durée totale de la trace en millisecondes

workflow_name
*string

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'

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"
}

Obtenir l'historique d'une exécution

GET /v1/workflows/runs/{run_id}/history

200

Response Type
any

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'

200

null