La référence de l'API est publiée en anglais.
Read a reusable workflow and its Markdown prompt
/api/workflows/{id}Read a reusable workflow and its Markdown prompt.
Requires enableCases and organization access. Definitions are organization-shared. Writes enforce the current agent run fence and source-trust policy. Editing a definition does not change existing case task documents. Individual reads return an ETag containing a SHA-256 content fingerprint; pass it without quotes or the optional W/ prefix as snapshot to reject a changed definition with 409.
Autorisation
Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Fonctionnement des clés.
Paramètres de chemin
Paramètres de requête
pattern: ^[a-f0-9]{64}$Réponses
details names each field that failed.Les erreurs renvoient {"error": "..."}, souvent avec un code et des details. Voir erreurs et limites.