Executions
Each run of a task, with logs, events, pending items and text search.
| Command | HTTP | Description |
|---|---|---|
executions list | GET /v1/executions | List executions |
executions get | GET /v1/executions/{id} | Get execution details |
executions cancel | POST /v1/executions/{id}/cancel | Cancel the execution |
executions continue | POST /v1/executions/{id}/continue | Continue the conversation (next round) |
executions search list | GET /v1/executions/search | Text search across executions |
executions logs | GET /v1/executions/{id}/logs | Execution logs |
executions events | GET /v1/executions/{id}/events | Execution events |
executions todos | GET /v1/executions/{id}/todos | Pending 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​
- Memories
- Schema introspection — every parameter this resource accepts.