This documentation is for the federal deployments of Devin. Back to Devin Docs
A request may contain either the typed
acu_consumption_query described here or the legacy custom query_requests, but not both.Request
string
required
Your service key with the Analytics Read permission.
string
Start of a historical window in RFC 3339 format (for example
2025-01-01T00:00:00Z). Required for historical queries; must be omitted for current_cycle queries.string
End of a historical window in RFC 3339 format. The window is inclusive and may span at most 90 days.
object
required
The typed ACU consumption query.
Response
object
Behavior
- Group attribution uses current membership. Group totals and group user rows reflect who is in the group now, not who was in it during the period. Users in multiple requested groups are counted in each.
- Team rows retain former users. Team-scoped user rows include users who have since left the team or could not be resolved; their
current_memberflag isfalse. - Only users with ACU usage appear. Users with no ACU consumption in the period are omitted from user rows.
- Historical vs. current cycle. Historical windows cover up to 90 inclusive days of recorded usage.
current_cyclereturns near-real-time usage for the active billing cycle; if the team has no active cycle bounds, the metadata period fields reflect that. - Consistency. Totals and the user-row page in a single response are computed from one consistent snapshot.

