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,
      "date": 123
    }
  ],
  "total_acus": 123
}

Permissions

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

Timezone behavior

Billing cycles use midnight PST (Pacific Standard Time) as the day boundary, which corresponds to 08:00:00 UTC. To match the consumption data shown in the Devin dashboard, you must pass Unix timestamps that align with this timezone offset. For example, to query consumption for a billing cycle from December 5, 2025 to January 5, 2026, convert the PST midnight times to Unix timestamps:
  • December 5, 2025 at midnight PST = 2025-12-05T08:00:00Z = 1733385600
  • January 5, 2026 at midnight PST = 2026-01-05T08:00:00Z = 1736064000
curl "https://api.devin.ai/v3beta1/enterprise/consumption/daily?time_after=1733385600&time_before=1736064000" \
  -H "Authorization: Bearer YOUR_API_KEY"
If you pass timestamps that don’t align with midnight PST, the consumption totals may differ slightly from what’s shown in the dashboard.

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