Usage Monitoring Endpoints
Monitor your usage with these endpoints:| Description | Endpoints |
|---|---|
| List your contracts | GET /billing/contracts |
| Get contract details | GET /billing/contracts/{contract_id} |
| Get daily usage summary | GET /billing/contracts/{contract_id}/consumption |
| Get usage range for your organization | GET /billing/contracts/{contract_id}/consumption/api-owner |
| Get usage range for specific user | GET /billing/contracts/{contract_id}/consumption/leaf-user/{leaf_user_id} |
List your contracts
GET/billing/contracts
Get a list of all usage monitoring contracts available for your organization. Each contract represents a different service or feature you can monitor.
Request
Response
id: Unique identifier for this contractproduct: Which service this tracksstartDate: When usage monitoring began for this contractendDate: When usage monitoring ends for this contractregion: Geographic region, if applicable
Get contract details
GET/billing/contracts/{contract_id}
Get detailed information about a specific usage monitoring contract.
Parameters
| Parameter | Type | Description |
|---|---|---|
contract_id | path | UUID of the contract |
Request
Response
Get daily usage summary
GET/billing/contracts/{contract_id}/consumption
Get usage metrics for a specific contract for a single day. If you don’t specify a date, it returns today’s usage.
Parameters
| Parameter | Type | Description |
|---|---|---|
contract_id | path | UUID of the contract |
timestamp | query (optional) | Date to get usage for in ISO format YYYY-MM-DDTHH:MM:SS.sssZ |
Request
Response
areaUnit: Unit of measurement,AcreorHectaredate: The date this usage data representstotalUniqueArea: Total unique area processed, removing overlaps between usersleafUsersAreas: Breakdown of usage by individual users
Get usage range for your organization
GET/billing/contracts/{contract_id}/consumption/api-owner
Get usage metrics for your entire organization over a date range. Shows daily breakdown of total and cumulative usage.
Parameters
| Parameter | Type | Description |
|---|---|---|
contract_id | path | UUID of the contract |
startTime | query | Start date in ISO format YYYY-MM-DDTHH:MM:SS.sssZ |
endTime | query | End date in ISO format YYYY-MM-DDTHH:MM:SS.sssZ |
Request
Response
areaUnit: Unit of measurement,AcreorHectareareaPerDay: Array of daily usage datadate: The date for this data pointtotalArea: Cumulative area processed up to this datedailyArea: New area processed on this specific date
Get usage range for specific user
GET/billing/contracts/{contract_id}/consumption/leaf-user/{leaf_user_id}
Get usage metrics for a specific Leaf user over a date range. Shows how much area this user has processed day by day.
Parameters
| Parameter | Type | Description |
|---|---|---|
contract_id | path | UUID of the contract |
leaf_user_id | path | UUID of the Leaf user |
startTime | query | Start date in ISO format YYYY-MM-DDTHH:MM:SS.sssZ |
endTime | query | End date in ISO format YYYY-MM-DDTHH:MM:SS.sssZ |
Request
Response
areaUnit: Unit of measurement,AcreorHectareareaPerDay: Array of daily usage data for this userdate: The date for this data pointtotalArea: Cumulative area processed by this user up to this datedailyArea: New area processed by this user on this specific date

