Fetch Timing Report
Retrieve timing metrics for task executions.
This endpoint provides detailed timing data about task runs, including:
- Average response times
- Processing durations
- LLM call latencies
- Aggregated metrics by hour or day
Use this data to:
1. Monitor task performance
2. Identify performance bottlenecks
3. Track timing trends over time
4. Optimize task configurations
Authentication
AuthorizationBearer
Bearer token authentication using JWT tokens from Ory Kratos/Hydra
Path parameters
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
task_id
The specific Task to reference.
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
Timing report retrieved successfully
task_id
The unique identifier of the Task.
date_range
The time range for the report, with start and end timestamps.
aggregation
The time interval for data aggregation. 'hour' shows last 24 hours in hourly blocks, 'day' shows last 7 days in daily blocks.
Allowed values:
total_task_runs
Total number of task runs for each time interval.
task_revisions
Timing data broken down by task revision, showing performance metrics for each active revision.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
