Skip to main content

Constructor

Parameters

Returns

ConsumptionClient

Methods

getConsumptionCycles()

Parameters

Request-specific configuration.

Returns

ConsumptionCyclePaginatedResponseConsumptionCycle

getConsumptionDaily()

Get daily ACU consumption for the entire enterprise. Returns total ACUs and consumption broken down by date. 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).

Parameters

Request-specific configuration.

Returns

ConsumptionResponse

getOrgConsumptionDaily()

Get daily ACU consumption for a specific organization. Returns total ACUs and consumption broken down by date for the org. 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).

Parameters

Request-specific configuration.

Returns

ConsumptionResponse

getServiceUserConsumptionDaily()

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

Parameters

Request-specific configuration.

Returns

ConsumptionResponse

getSessionConsumptionDaily()

Get daily ACU consumption for a specific session. Returns total ACUs and consumption broken down by date for the session. 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).

Parameters

Request-specific configuration.

Returns

ConsumptionResponse

getUserConsumptionDaily()

Get daily ACU consumption for a specific user. Returns total ACUs and consumption broken down by date for the 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).

Parameters

Request-specific configuration.

Returns

ConsumptionResponse