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

# Get usage summary

> Summarizes what the org's tasks used between from and to: totals of tasks, agent runs, tokens, VM uptime, credits and spend, daily series, and groups by one dimension.

Use this tool when you need to:
- Report what the org's tasks used and spent over a period
- Break usage down by project, agent, model, VM size, status, member or payer
- Compare a period with the one before it

Examples:
- GET /orgs/{orgID}/usage/summary?from=2026-10-01&to=2026-10-26&group_by=model
- GET /orgs/{orgID}/usage/summary?from=2026-10-01T00:00:00Z&to=2026-10-08T00:00:00Z&project_id=6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21&compare=true

Hints:
- from and to are required, RFC 3339 timestamps or YYYY-MM-DD dates in UTC; to must be after from and the range at most 366 days.
- Filters are optional and comma-separated: project_id and user_id (uuids), agent_type, model, status (running, awaiting_input, approved, awaiting_ci, merged, unmerged, errored, archived) and vm_size (small, medium, large, xl).
- group_by is none, project (the default), agent, model, vm_size, status, user or payer (per turn, by what paid); compare true adds totals_previous for the equally long window just before from.
- Use listUsageTasks instead to page through the individual tasks under the same range and filters.
- Owners, admins and members of the org; a viewer or billing member is refused with 403 org_role_insufficient.
- Refused with 400 for a bad range, an unknown agent_type, status or vm_size, or a user_id filter or group_by user on a personal org, and 422 for a project_id or user_id that is not a uuid.



## OpenAPI

````yaml api-reference/openapi.json GET /orgs/{orgID}/usage/summary
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}/usage/summary:
    get:
      tags:
        - usage
      summary: Get usage summary
      description: >-
        Summarizes what the org's tasks used between from and to: totals of
        tasks, agent runs, tokens, VM uptime, credits and spend, daily series,
        and groups by one dimension.


        Use this tool when you need to:

        - Report what the org's tasks used and spent over a period

        - Break usage down by project, agent, model, VM size, status, member or
        payer

        - Compare a period with the one before it


        Examples:

        - GET
        /orgs/{orgID}/usage/summary?from=2026-10-01&to=2026-10-26&group_by=model

        - GET
        /orgs/{orgID}/usage/summary?from=2026-10-01T00:00:00Z&to=2026-10-08T00:00:00Z&project_id=6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21&compare=true


        Hints:

        - from and to are required, RFC 3339 timestamps or YYYY-MM-DD dates in
        UTC; to must be after from and the range at most 366 days.

        - Filters are optional and comma-separated: project_id and user_id
        (uuids), agent_type, model, status (running, awaiting_input, approved,
        awaiting_ci, merged, unmerged, errored, archived) and vm_size (small,
        medium, large, xl).

        - group_by is none, project (the default), agent, model, vm_size,
        status, user or payer (per turn, by what paid); compare true adds
        totals_previous for the equally long window just before from.

        - Use listUsageTasks instead to page through the individual tasks under
        the same range and filters.

        - Owners, admins and members of the org; a viewer or billing member is
        refused with 403 org_role_insufficient.

        - Refused with 400 for a bad range, an unknown agent_type, status or
        vm_size, or a user_id filter or group_by user on a personal org, and 422
        for a project_id or user_id that is not a uuid.
      operationId: getUsageSummary
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
        - explode: false
          in: query
          name: from
          required: true
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: to
          required: true
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: project_id
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: user_id
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: agent_type
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: model
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: status
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: vm_size
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: group_by
          schema:
            enum:
              - none
              - project
              - agent
              - model
              - vm_size
              - status
              - user
              - payer
            type: string
        - explode: false
          in: query
          name: compare
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSummary'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageErrorResponse'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageErrorResponse'
          description: Internal Server Error
components:
  schemas:
    UsageSummary:
      additionalProperties: false
      properties:
        data_notes:
          $ref: '#/components/schemas/UsageDataNotes'
        device_runtime_series_by_kind:
          items:
            $ref: '#/components/schemas/UsageDeviceRuntimeKindSeriesPoint'
          type: array
        generated_at:
          format: date-time
          type: string
        group_by:
          enum:
            - none
            - project
            - agent
            - model
            - vm_size
            - status
            - user
            - payer
          type: string
        group_series:
          items:
            $ref: '#/components/schemas/UsageGroupSeries'
          type: array
        groups:
          items:
            $ref: '#/components/schemas/UsageGroup'
          type: array
        range:
          $ref: '#/components/schemas/UsageSummaryRange'
        series:
          items:
            $ref: '#/components/schemas/UsageSeriesPoint'
          type: array
        totals:
          $ref: '#/components/schemas/UsageTotals'
        totals_previous:
          $ref: '#/components/schemas/UsageTotals'
        vm_runtime_series_by_tier:
          items:
            $ref: '#/components/schemas/UsageVMRuntimeTierSeriesPoint'
          type: array
      required:
        - range
        - group_by
        - totals
        - series
        - vm_runtime_series_by_tier
        - device_runtime_series_by_kind
        - group_series
        - groups
        - data_notes
        - generated_at
      type: object
    UsageErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - bad_gateway
            - bad_request
            - cli_upgrade_required
            - client_outdated
            - conflict
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - method_not_allowed
            - not_acceptable
            - not_found
            - not_implemented
            - payment_required
            - precondition_failed
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - service_unavailable
            - unauthenticated
            - unsupported_media_type
            - validation_failed
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    UsageDataNotes:
      additionalProperties: false
      properties:
        cache_tokens_available:
          type: boolean
        cost_available:
          type: boolean
        hardware_breakdown_available:
          type: boolean
        reasoning_tokens_available:
          type: boolean
        running_runtime_intervals_included:
          type: boolean
        spend_coverage_start:
          format: date-time
          type: string
      required:
        - cost_available
        - cache_tokens_available
        - reasoning_tokens_available
        - hardware_breakdown_available
        - running_runtime_intervals_included
        - spend_coverage_start
      type: object
    UsageDeviceRuntimeKindSeriesPoint:
      additionalProperties: false
      properties:
        credits_per_hour:
          format: double
          minimum: 0
          type: number
        credits_used:
          format: double
          minimum: 0
          type: number
        date:
          minLength: 1
          type: string
        device_seconds:
          format: int64
          minimum: 0
          type: integer
        kind:
          enum:
            - android
            - ios
            - xcode
            - gradle
          type: string
        kind_label:
          minLength: 1
          type: string
        task_count:
          format: int64
          minimum: 0
          type: integer
      required:
        - date
        - kind
        - kind_label
        - task_count
        - device_seconds
        - credits_per_hour
        - credits_used
      type: object
    UsageGroupSeries:
      additionalProperties: false
      properties:
        key:
          type: string
        label:
          type: string
        series:
          items:
            $ref: '#/components/schemas/UsageSeriesPoint'
          type: array
        sublabel:
          type: string
      required:
        - key
        - label
        - series
      type: object
    UsageGroup:
      additionalProperties: false
      properties:
        agent_run_count:
          format: int64
          minimum: 0
          type: integer
        credits_used:
          format: double
          minimum: 0
          type: number
        key:
          description: >-
            The group's identity. For group_by=user it is the member's user id,
            or "organization" for usage no member is attributed to (tasks whose
            creator's account was deleted).
          type: string
        label:
          type: string
        spend:
          $ref: '#/components/schemas/UsageSpend'
        sublabel:
          type: string
        task_count:
          format: int64
          minimum: 0
          type: integer
        tokens_in:
          format: int64
          minimum: 0
          type: integer
        tokens_out:
          format: int64
          minimum: 0
          type: integer
        total_tokens:
          format: int64
          minimum: 0
          type: integer
        vm_uptime_seconds:
          format: int64
          minimum: 0
          type: integer
      required:
        - key
        - label
        - task_count
        - agent_run_count
        - tokens_in
        - tokens_out
        - total_tokens
        - vm_uptime_seconds
        - credits_used
        - spend
      type: object
    UsageSummaryRange:
      additionalProperties: false
      properties:
        bucket:
          enum:
            - day
          type: string
        from:
          format: date-time
          type: string
        to:
          format: date-time
          type: string
      required:
        - from
        - to
        - bucket
      type: object
    UsageSeriesPoint:
      additionalProperties: false
      properties:
        agent_run_count:
          format: int64
          minimum: 0
          type: integer
        credits_used:
          format: double
          minimum: 0
          type: number
        date:
          minLength: 1
          type: string
        spend:
          $ref: '#/components/schemas/UsageSpend'
        task_count:
          format: int64
          minimum: 0
          type: integer
        tokens_in:
          format: int64
          minimum: 0
          type: integer
        tokens_out:
          format: int64
          minimum: 0
          type: integer
        total_tokens:
          format: int64
          minimum: 0
          type: integer
        vm_uptime_seconds:
          format: int64
          minimum: 0
          type: integer
      required:
        - date
        - task_count
        - agent_run_count
        - tokens_in
        - tokens_out
        - total_tokens
        - vm_uptime_seconds
        - credits_used
        - spend
      type: object
    UsageTotals:
      additionalProperties: false
      properties:
        agent_run_count:
          format: int64
          minimum: 0
          type: integer
        credits_used:
          format: double
          minimum: 0
          type: number
        spend:
          $ref: '#/components/schemas/UsageSpend'
        task_count:
          format: int64
          minimum: 0
          type: integer
        tokens_in:
          format: int64
          minimum: 0
          type: integer
        tokens_out:
          format: int64
          minimum: 0
          type: integer
        total_tokens:
          format: int64
          minimum: 0
          type: integer
        vm_uptime_seconds:
          format: int64
          minimum: 0
          type: integer
      required:
        - task_count
        - agent_run_count
        - tokens_in
        - tokens_out
        - total_tokens
        - vm_uptime_seconds
        - credits_used
        - spend
      type: object
    UsageVMRuntimeTierSeriesPoint:
      additionalProperties: false
      properties:
        billing_model:
          enum:
            - reserved
            - metered
          type: string
        credits_per_hour:
          format: double
          minimum: 0
          type: number
        credits_used:
          format: double
          minimum: 0
          type: number
        date:
          minLength: 1
          type: string
        hardware:
          $ref: '#/components/schemas/UsageHardwareSnapshot'
        task_count:
          format: int64
          minimum: 0
          type: integer
        vm_size:
          enum:
            - small
            - medium
            - large
            - xl
          type: string
        vm_size_label:
          minLength: 1
          type: string
        vm_uptime_seconds:
          format: int64
          minimum: 0
          type: integer
      required:
        - date
        - vm_size
        - vm_size_label
        - billing_model
        - hardware
        - task_count
        - vm_uptime_seconds
        - credits_per_hour
        - credits_used
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    UsageSpend:
      additionalProperties: false
      properties:
        api_key_estimate_microdollars:
          format: int64
          minimum: 0
          type: integer
        money_microdollars:
          format: int64
          minimum: 0
          type: integer
        subscription_tokens:
          format: int64
          minimum: 0
          type: integer
        unpriced_slices:
          format: int64
          minimum: 0
          type: integer
      required:
        - money_microdollars
        - api_key_estimate_microdollars
        - subscription_tokens
        - unpriced_slices
      type: object
    UsageHardwareSnapshot:
      additionalProperties: false
      properties:
        cpu_kind:
          enum:
            - shared
            - performance
          type: string
        cpus:
          format: int64
          maximum: 16
          minimum: 1
          type: integer
        gpu_kind:
          enum:
            - a10
            - l40s
            - a100-40gb
            - a100-80gb
          type:
            - string
            - 'null'
        memory_mb:
          format: int64
          maximum: 32768
          minimum: 256
          type: integer
        volume_size_gb:
          format: int64
          maximum: 500
          minimum: 1
          type: integer
      required:
        - cpu_kind
        - cpus
        - memory_mb
        - volume_size_gb
        - gpu_kind
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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