List all task usages
List usage data for all tasks with aggregated metrics. Each task may contain multiple streams (executions), and this endpoint returns the combined totals for each task including cost, tool calls, and execution times.
Access control:
- Solo users (not in a team): Can view their own tasks only
- Team admins: Can view all team members’ tasks (with email field and optional email filter)
- Team members/viewers: No access (returns 403)
Authorizations
JWT authentication token
Query Parameters
Filter by specific task ID
Filter by task status
completed, error, failed, aborted, blocked Filter by model
Filter from datetime (ISO 8601)
Filter to datetime (ISO 8601)
Number of results (1-200, default 50)
1 <= x <= 200Pagination offset (default 0)
x >= 0Filter tasks by task ID or email (case-insensitive partial match)
Filter by team member email (exact match, only for team admins)
Filter by BYOK status (true = only BYOK tasks, false = only non-BYOK tasks)

