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

# Get Daily Usage Breakdown

> Read a daily usage breakdown only for organizations with pricing configured. The currently verified unpriced account receives 400; no charge amounts should be inferred from that absence.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/organizations/usage/daily-breakdown
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/organizations/usage/daily-breakdown:
    get:
      tags:
        - Organizations
      summary: Get Daily Usage Breakdown
      description: >-
        Read a daily usage breakdown only for organizations with pricing
        configured. The currently verified unpriced account receives 400; no
        charge amounts should be inferred from that absence.
      operationId: get_daily_usage_breakdown_api_v1_organizations_usage_daily_breakdown_get
      parameters:
        - name: days
          in: query
          required: false
          schema:
            type: integer
            maximum: 30
            minimum: 1
            description: Number of days to include
            default: 7
            title: Days
          description: Number of days to include
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DailyUsageBreakdownResponse'
        '400':
          description: Bad Request
        '401':
          description: Authentication is missing or invalid.
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal Server Error
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    DailyUsageBreakdownResponse:
      properties:
        breakdown:
          items:
            $ref: '#/components/schemas/DailyUsageItem'
          type: array
          title: Breakdown
        total_minutes:
          type: number
          title: Total Minutes
        total_cost_usd:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Cost Usd
        total_dograh_tokens:
          type: number
          title: Total Dograh Tokens
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
      type: object
      required:
        - breakdown
        - total_minutes
        - total_dograh_tokens
      title: DailyUsageBreakdownResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DailyUsageItem:
      properties:
        date:
          type: string
          title: Date
        minutes:
          type: number
          title: Minutes
        cost_usd:
          anyOf:
            - type: number
            - type: 'null'
          title: Cost Usd
        dograh_tokens:
          type: number
          title: Dograh Tokens
        call_count:
          type: integer
          title: Call Count
      type: object
      required:
        - date
        - minutes
        - dograh_tokens
        - call_count
      title: DailyUsageItem
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.