v1

latestOpenAPI 3.1.02026-07-26269227514.8 KB
consumption

Get Service User Daily Consumption

Get daily ACU consumption for a specific service user.

Returns total ACUs and consumption broken down by date for sessions created by the given service user.

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, pass Unix timestamps that align with this timezone offset (e.g., 1733385600 for December 5, 2025 at midnight PST).

get/v3/enterprise/consumption/daily/service-users/{service_user_id}

Path parameters

service_user_idstring required
Example:service-user-abc123def456

Service user ID (prefix: service-user-)

Query parameters

time_beforeinteger nullable
time_afterinteger nullable

Response

Successful Response

Example response

{
  "data": [
    {
      "timestamp": "2026-05-01",
      "user_email": "alice@example.com",
      "model_uid": "claude-4-sonnet",
      "ide": "windsurf",
      "ide_version": "1.0.0"
    }
  ]
}