billing
[In development] Get credits timeseries
This endpoint is in development with restricted availability. We do not recommend using this endpoint in production. Functionality might change without notice. Contact Cribl Support to request access.
Get credit consumption timeseries data for the specified Organization, broken down by dimensions such as product and usage type.
get/v1/organizations/{organizationId}/billing/credits/timeseries
Path parameters
organizationIdstring required
The <code>id</code> of the Organization.
Query parameters
startingOnstring date-time required
Example:2025-05-01T00:00:00.000Z
Inclusive start of the query date range in ISO 8601 format.
endingBeforestring date-time required
Example:2025-06-01T00:00:00.000Z
Exclusive end of the query date range in ISO 8601 format.
window'monthly' | 'daily' required
Aggregation granularity for timeseries data.
Response
Credits timeseries data.
Example response
{
"items": [
{
"date": "2025-05-01T00:00:00.000Z",
"credits": 147722.92,
"dimensions": [
{
"dimension": "stream",
"credits": 42150.5
}
]
}
],
"count": 12
}