Skip to main content
GET
/
v3beta1
/
enterprise
/
consumption
/
daily
/
sessions
/
{session_id}
Get Session Daily Consumption
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/consumption/daily/sessions/{session_id} \
  --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. See Get Daily Consumption for details and examples.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

session_id
string
required

Query Parameters

time_before
integer | null
time_after
integer | null

Response

Successful Response

consumption_by_date
ConsumptionByDateResponse · object[]
required
total_acus
number
required