GET
/
v2
/
enterprise
/
consumption
/
daily
/
{user_id}
curl -X GET "https://api.devin.ai/v2/enterprise/consumption/daily/user_123" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "total_acus": 325.5,
  "consumption_by_date": {
    "2024-01-01": 50.0,
    "2024-01-02": 125.5,
    "2024-01-03": 150.0
  },
  "consumption_by_org_id": {
    "org_123": 200.0,
    "org_456": 125.5
  }
}
Returns daily ACU consumption data for a specific user within your enterprise.

Path Parameters

user_id
string
required
The unique identifier of the user to get consumption data for

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 the user has access to.

Response

total_acus
number
required
Total ACUs consumed by the user 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/user_123" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "total_acus": 325.5,
  "consumption_by_date": {
    "2024-01-01": 50.0,
    "2024-01-02": 125.5,
    "2024-01-03": 150.0
  },
  "consumption_by_org_id": {
    "org_123": 200.0,
    "org_456": 125.5
  }
}