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 'day' or 'week'.
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.
