GET
/
v2
/
enterprise
/
consumption
/
daily
curl -X GET "https://api.devin.ai/v2/enterprise/consumption/daily" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "total_acus": 1250.5,
  "consumption_by_date": {
    "2024-01-01": 125.0,
    "2024-01-02": 200.5,
    "2024-01-03": 925.0
  },
  "consumption_by_org_id": {
    "org_123": 800.0,
    "org_456": 450.5
  }
}
Returns daily ACU consumption data for your enterprise, broken down by date and organization.

Query Parameters

start_date
string
Start date for the consumption period. Defaults to the beginning of the current billing cycle.
end_date
string
End date for the consumption period. Defaults to the current date.
org_ids
array
Array of organization IDs to filter consumption data. If not provided, returns data for all organizations.

Response

total_acus
number
required
Total ACUs consumed across all organizations and dates in the specified period
consumption_by_date
object
required
Object mapping dates (YYYY-MM-DD format) to ACU consumption amounts for that date
consumption_by_org_id
object
required
Object mapping organization IDs to total ACU consumption amounts for each organization
curl -X GET "https://api.devin.ai/v2/enterprise/consumption/daily" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "total_acus": 1250.5,
  "consumption_by_date": {
    "2024-01-01": 125.0,
    "2024-01-02": 200.5,
    "2024-01-03": 925.0
  },
  "consumption_by_org_id": {
    "org_123": 800.0,
    "org_456": 450.5
  }
}