Skip to main content

Executions

Each run of a task, with logs, events, pending items and text search.

CommandHTTPDescription
executions listGET /v1/executionsList executions
executions getGET /v1/executions/{id}Get execution details
executions cancelPOST /v1/executions/{id}/cancelCancel the execution
executions continuePOST /v1/executions/{id}/continueContinue the conversation (next round)
executions search listGET /v1/executions/searchText search across executions
executions logsGET /v1/executions/{id}/logsExecution logs
executions eventsGET /v1/executions/{id}/eventsExecution events
executions todosGET /v1/executions/{id}/todosPending items (todos) of the execution

Examples​

--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits the fields that come back — worth using on every list/get to save context. See Global flags for the full reference.

# List executions
kobana kadu executions list --fields "id"

# Get execution details
kobana kadu executions get --params '{"id": "EXECUTION_ID"}'

# Cancel the execution
kobana kadu executions cancel \
--params '{"id": "EXECUTION_ID"}' \
--dry-run

# Continue the conversation (next round)
kobana kadu executions continue \
--params '{"id": "EXECUTION_ID"}' \
--json '{"message": "MESSAGE"}' \
--dry-run

# Text search across executions
kobana kadu executions search list --fields "id"

# Execution logs
kobana kadu executions logs --params '{"id": "EXECUTION_ID"}'

# Execution events
kobana kadu executions events --params '{"id": "EXECUTION_ID"}'

# Pending items (todos) of the execution
kobana kadu executions todos --params '{"id": "EXECUTION_ID"}'

Next steps​