v1
latestOpenAPI 3.0.02026-07-2628145109.6 KBusage
Get usage costs
Retrieves the costs of a given group type, broken down by the given date modality.
get/organizations/{organization_id}/usage
Path parameters
organization_idstring uuid required
The UUID of the organization — this UUID is provided in the response on organization creation.
Query parameters
start_datestring date required
Start date, inclusive
end_datestring date required
End date, exclusive
group_by'job' | 'project' | 'user' required
QPU Usage grouping
Example:project
QPU Usage grouping
modality'daily' | 'weekly' | 'monthly' required
Report modality
Example:daily
Report modality
Response
Successfully retrieved a list of projects.
Example response
{
"amount_total": 151.31,
"group_type": "project",
"job_count": 514,
"modality": "daily",
"organization": "71d164e-6ebe-4126-8839-f1529bb01a00",
"time_us_total": 1566154.312523,
"usage_data": [
{
"amount": 1614.23,
"from": "2023-07-01",
"group_usages": [
{
"amount": 144.39,
"group_id": "2bfd0fd5-5854-4916-917f-a907af586755",
"group_name": "Project Jumping Lemming",
"job_count": 9,
"time_us": 1566154.312523
}
],
"job_count": 10,
"time_us": 5143166.13413
}
],
"usage_from": "2025-10-01T00:00:00Z",
"usage_to": "2025-11-01T00:00:00Z",
"usage_unit": "USD"
}