Fetch Task Agent Timing Report
Retrieve timing metrics for Task Agent executions.
This report includes:
- Average Task Agent run duration
- Aggregated timing metrics by hour or day
- Completed run counts for each time bucket
Defaults:
- `aggregation=hour` returns the last 24 hours when no date range is provided
- `aggregation=day` returns the last 7 days when no date range is provided
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
start_date
Start date for the report (e.g., ‘2023-06-01’, ‘24 hours ago’, ‘yesterday’).
end_date
End date for the report (e.g., ‘2023-06-30’, ‘now’, ‘today’).
aggregation
The aggregation level for the report. Can be either 'hour' or 'day'
Allowed values:
Response
Task Agent timing 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.
data
Average duration and run counts for each aggregation bucket.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
