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_idstringRequiredformat: "uuid"
The organization ID
project_idstringRequiredformat: "uuid"
The project ID
task_agent_idstringRequiredformat: "uuid"
The task agent ID

Query parameters

start_datestringOptional

Start date for the report (e.g., ‘2023-06-01’, ‘24 hours ago’, ‘yesterday’).

end_datestringOptional

End date for the report (e.g., ‘2023-06-30’, ‘now’, ‘today’).

aggregationenumOptionalDefaults to hour
The aggregation level for the report. Can be either 'hour' or 'day'
Allowed values:

Response

Task Agent timing report
task_agent_idstringformat: "uuid"
Unique identifier of the TaskAgent.
date_rangemap from strings to strings
Time period covered by the report.
aggregationenum
Time bucket granularity used for the report.
datamap from strings to objects
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