> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# User Daily Consumption

> Return daily consumption for a specific user

Requires an enterprise admin personal API key.

Returns daily ACU consumption data for a specific user within your enterprise.

## 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 timestamps with this timezone offset. See [Daily Consumption](/api-reference/v2/consumption/daily-consumption#timezone-behavior) for details and examples.

## Filtering by organization

When filtering by `org_ids`, the results will only include Devin session ACUs. ACUs consumed by Cascade and Terminal are omitted, as usage for these products is not tied to any organization.


## OpenAPI

````yaml /v2-openapi.yaml GET /v2/enterprise/consumption/daily/{user_id}
openapi: 3.1.0
info:
  description: Devin v2 API with Personal API Keys for Enterprise Admins
  title: Devin API v2
  version: 2.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v2/enterprise/consumption/daily/{user_id}:
    get:
      tags:
        - consumption
      summary: User Daily Consumption Endpoint
      description: >-
        Return daily consumption for a specific user. Defaults to current
        billing cycle.


        **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 timestamps with this timezone
        offset

        (e.g., `2025-12-05T08:00:00Z` for December 5, 2025 PST).
      operationId: >-
        user_daily_consumption_endpoint_v2_enterprise_consumption_daily__user_id__get
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            title: User Id
            type: string
        - in: query
          name: start_date
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            title: Start Date
        - in: query
          name: end_date
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            title: End Date
        - in: query
          name: start
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            title: Start
        - in: query
          name: end
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            title: End
        - in: query
          name: org_ids
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            title: Org Ids
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserConsumptionResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    UserConsumptionResponse:
      properties:
        consumption_by_date:
          additionalProperties:
            type: number
          propertyNames:
            format: date
          title: Consumption By Date
          type: object
        consumption_by_org_id:
          additionalProperties:
            type: number
          title: Consumption By Org Id
          type: object
        total_acus:
          title: Total Acus
          type: number
      required:
        - total_acus
        - consumption_by_date
        - consumption_by_org_id
      title: UserConsumptionResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearerAuth:
      description: Personal API Key (apk_user_*) for Enterprise Admins only
      scheme: bearer
      type: http

````