Fetch Credit Report
Retrieve detailed credit usage statistics for a specific task.
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’).
show_reporting_group
If true, include reporting group in the report.
Response
Successful Response
task_id
The unique identifier of the Task.
task_revisions
Timing data broken down by task revision, showing performance metrics for each active revision.
total_credits
Total credits charged for the Task.
total_task_runs
Total number of task runs for each time interval.
date_range
The time range for the report, with start and end timestamps.
