List task execution history (or stats)
Scheduled Tasks API
List task execution history (or stats)
Returns past runs of scheduled tasks, each linked to the conversationId
of the run (fetch it with GET /getConversation). Filter to one task with
taskId. Pass stats=true for aggregate counts instead of the list.
GET
List task execution history (or stats)
Authorizations
JWT token from Clerk authentication.
Must be from a user with org:admin role.
Query Parameters
When true, returns aggregate counts instead of the execution list.
ISO date-time; with stats=true, only count runs after this time.
Response
An array of executions, or (with stats=true) an object like
{ total, completed, failed, in_progress }.
