Skip to navigation

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).

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Path parameters

service_user_idstringRequired

Service user ID (prefix: service-user-)

Query parameters

time_beforeinteger or nullOptional
time_afterinteger or nullOptional

Response

Successful Response
consumption_by_datelist of objects
total_acusdouble

Errors

422
Unprocessable Entity Error