Fetch Usage Report

GA
GET

Fetch the literal usage report for Task invocations.

Path parameters

org_idstringRequired

The unique identifier of the organization.

project_idstringRequired

The unique identifier of the project.

task_idstringRequired

The specific Task to reference.

Query parameters

aggregation"week" or "day"OptionalDefaults to day

The aggregation level for the report. Can be either ‘day’ or ‘week’.

Allowed values: weekday

Response

This endpoint returns an object.
input_tokensintegerOptionalDefaults to 0
output_tokensintegerOptionalDefaults to 0
total_tokensintegerOptionalDefaults to 0