Skip to main content

Workflow runs

The chains of HTTP requests agents returned under workflow, and what each destination answered. Read-only — a run is created by an agent run, never by a caller. See the WorkflowRun model and Agent workflows.

CommandHTTPDescription
workflow-runs listGET /workflow-runsList workflow runs. Steps are not embedded.
workflow-runs getGET /workflow-runs/{id}One run with every step in execution order, request/response and duration.

Examples​

# List runs produced by one agent run
kobana inbox workflow-runs list \
--params '{"agent_run_id": "AGENT_RUN_ID"}' \
--fields "id,status,created_at"

# List failed runs
kobana inbox workflow-runs list \
--params '{"status": "failed"}' \
--page-all

# Get one, with every step
kobana inbox workflow-runs get --params '{"id": "WORKFLOW_RUN_ID"}'

Next steps​