Skip to main content
GET
List all task usages

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

task_id
string

Filter by specific task ID

status
enum<string>

Filter by task status

Available options:
completed,
error,
failed,
aborted,
blocked
model
string

Filter by model

from
string<date-time>

Filter from datetime (ISO 8601)

to
string<date-time>

Filter to datetime (ISO 8601)

limit
integer
default:50

Number of results (1-200, default 50)

Required range: 1 <= x <= 200
offset
integer
default:0

Pagination offset (default 0)

Required range: x >= 0

Filter tasks by task ID or email (case-insensitive partial match)

email
string

Filter by team member email (exact match, only for team admins)

is_byok
boolean

Filter by BYOK status (true = only BYOK tasks, false = only non-BYOK tasks)

Response

List of tasks with aggregated usage

data
object[]
required
has_more
boolean
required

Whether there are more records

total
integer
required

Total number of records