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

# Get org usage

> **Token scope:** `account` · `org` — read-only tokens allowed.

Org usage across the 5 billing dimensions + per-project breakdown over a window (default current cycle)



## OpenAPI

````yaml /openapi/org.json get /orgs/{orgId}/usage
openapi: 3.1.0
info:
  title: InstaCloud API — Organization level
  version: 0.1.0
  description: >-
    Endpoints under `/orgs/{orgId}`: members, projects, billing, domains.
    Callable with an account-wide token or a token bound to that organization.


    Generated from the platform's own OpenAPI document
    (https://api.instacloud.com/openapi.json); see the [API
    overview](/reference/api/overview) for authentication and token scopes.
servers:
  - url: https://api.instacloud.com
    description: InstaCloud
security:
  - bearerAuth: []
tags:
  - name: Organization
    description: 'The organization itself: name, members, invitations.'
  - name: Projects
    description: Projects inside an organization.
  - name: Audit
    description: The project's event timeline, including agent-ingested events.
  - name: Domains
    description: >-
      Domains bought through InstaCloud, bring-your-own zones and their DNS
      records.
  - name: Billing
    description: Usage, cycles, invoices and credits.
paths:
  /orgs/{orgId}/usage:
    get:
      tags:
        - Billing
      summary: Get org usage
      description: >-
        **Token scope:** `account` · `org` — read-only tokens allowed.


        Org usage across the 5 billing dimensions + per-project breakdown over a
        window (default current cycle)
      operationId: getOrgUsage
      parameters:
        - schema:
            type: integer
          in: query
          name: from
          required: false
          description: unix seconds (default current cycle start)
        - schema:
            type: integer
          in: query
          name: to
          required: false
          description: unix seconds (default current cycle end)
        - schema:
            format: uuid
            type: string
          in: path
          name: orgId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgUsage'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    OrgUsage:
      type: object
      properties:
        from:
          type: integer
        to:
          type: integer
        org:
          type: object
          properties:
            dimensions:
              type: array
              items:
                $ref: '#/components/schemas/DimensionUsage'
            totalCostUsd:
              type: number
        projects:
          type: array
          items:
            type: object
            properties:
              projectId:
                format: uuid
                type: string
              name:
                type: string
              deletedAt:
                format: date-time
                description: >-
                  when the project was deleted — its usage history outlives it;
                  null for a live project
                type:
                  - string
                  - 'null'
              totalCostUsd:
                type: number
              dimensions:
                type: array
                items:
                  $ref: '#/components/schemas/DimensionUsage'
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    DimensionUsage:
      type: object
      properties:
        dimension:
          type: string
          enum:
            - ram
            - cpu
            - volume
            - storage
            - egress
        quantity:
          type: number
        unit:
          example: GB·min
          type: string
        costUsd:
          description: quantity × unit price for this dimension in the window
          type: number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Session access JWT or an API token (`insta_<prefix>_<secret>`).

````