Fetch Task Agent Usage Report
Retrieve Task Agent run counts over time.
This report includes:
- Run counts grouped by time bucket
- Optional filtering to error runs only
- Total run count across the reporting window
Defaults:
- `aggregation=day` returns the last 24 hours in hourly buckets
- `aggregation=week` returns the last 7 days in daily buckets
Authentication
AuthorizationBearer
Bearer token authentication using JWT tokens from Ory Kratos/Hydra
Path parameters
org_id
The organization ID
project_id
The project ID
task_agent_id
The task agent ID
Query parameters
aggregation
The aggregation level for the report. Can be either 'day' or 'week'.
Allowed values:
status
Run outcome filter for the report. Can be ALL, SUCCESS, or FAIL.
Allowed values:
errors_only
If true, only include runs with errors in the report
Response
Task Agent usage report
task_agent_id
Unique identifier of the TaskAgent.
date_range
Time period covered by the report.
aggregation
Time bucket granularity used for the report.
status
Run outcome filter applied to the report.
data
Run counts for each aggregation bucket.
total_runs
Total number of runs included in the report.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
