Skip to main content
This page covers two workflow read endpoints. Creating and editing workflows is not available through the API. Use the dashboard.

Get workflow detail

Response fields


workflowActions action definitions

Every action the playbook defines. agentAuditLog.steps in an analysis response holds only the actions that actually ran, so use this array as the denominator when you compute an execution rate.
Action names are generated from your policy text and are not deterministic — regenerating a playbook from the same policy can produce different names. Match actions by workId, never by actionName.

workflowActions.engines


engines engine catalog

The full list of engines this workflow can choose from. isSelected tells you which ones it actually uses.

policyDocuments


aiModel

For the models you can choose, see AI model selection.

Example response

policyText, playbookContent, and outputSchema are much longer in practice, and workflowActions and engines hold more entries than shown here.
The values inside aiModel depend on the model you pick in the dashboard, so they are placeholders above. When you do not select an AI model, aiModelId and aiModelProvider are null and the default model runs.

Get workflow summary

Returns metadata only, without the policy, playbook, or schema bodies. Use it for lightweight reads such as list screens.

Error codes

Common errors (400 validation · 401 authentication · 403 permission · 500 server) are listed in the API overview.