TaskList
Paginated task list response for GET /tasks.
Pagination is cursor-based. next_cursor is the task_id of the last item in the current page — pass it as ?cursor= on the next request. next_cursor is None when has_more is False.
items object[]required
task_id object
- string
- null
delivery objectrequired
Describes how a triggered condition delivers its alert.
Validation rules (enforced at model construction time): webhook → endpoint is required notification → channel is required email → channel is required workflow → workflow_id is required
Possible values: [webhook, notification, email, workflow]
endpoint object
- string
- null
channel object
- string
- null
workflow_id object
- string
- null
Full set of task statuses.
active — evaluated by the application on its own schedule. paused — skipped; no evaluation or alerts until resumed. deleted — soft-deleted; retained for audit, no evaluation. Irreversible via API. preview — dry_run result only; MUST NEVER be persisted to the DB.
Possible values: [active, paused, deleted, preview]
activecreated_at object
- string<date-time>
- null
last_triggered_at object
- string<date-time>
- null
context_version object
- string
- null
context_warning object
- string
- null
guardrails_version object
- string
- null
next_cursor object
- string
- null
{
"items": [
{
"task_id": "string",
"intent": "string",
"concept_id": "string",
"concept_version": "string",
"condition_id": "string",
"condition_version": "string",
"action_id": "string",
"action_version": "string",
"entity_scope": "string",
"delivery": {
"type": "webhook",
"endpoint": "string",
"channel": "string",
"workflow_id": "string"
},
"status": "active",
"created_at": "2024-07-29T15:51:28.071Z",
"last_triggered_at": "2024-07-29T15:51:28.071Z",
"context_version": "string",
"context_warning": "string",
"guardrails_version": "string"
}
],
"has_more": true,
"next_cursor": "string",
"total_count": 0
}