Skip to main content
GET
/
v3beta1
/
enterprise
/
consumption
/
daily
Get Daily Consumption
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/consumption/daily \
  --header 'Authorization: Bearer <token>'
{
  "consumption_by_date": [
    {
      "acus": 123,
      "acus_by_product": {
        "devin": 123,
        "cascade": 123,
        "terminal": 123
      },
      "date": 123
    }
  ],
  "total_acus": 123
}

Product-Level Breakdown

Each date entry in the response includes an acus_by_product object that breaks down the total ACU consumption into its product components: devin, cascade, and terminal. This allows you to see how consumption is distributed across products for each day. When product-level data is not available for a given product, its value defaults to 0.0.

Permissions

Requires a service user with the ManageBilling permission at the enterprise level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

time_before
integer | null
time_after
integer | null

Response

Successful Response

consumption_by_date
ConsumptionByDateResponse · object[]
required
total_acus
number
required