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

# List Credit Grants

> Credit grants awarded to an organization, most recent first.

Credit grants awarded to an organization, most recent first.


## OpenAPI

````yaml GET /orgs/{org_id}/credit-grants
openapi: 3.1.0
info:
  title: Timbal Platform API
  description: Public API documentation for the Timbal platform
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.timbal.ai
    description: Production
  - url: https://api.dev.timbal.ai
    description: Development
security: []
tags:
  - name: ace
    description: Action Control Engine (ACE) operations
  - name: alarms
    description: Metric series and threshold alarms
  - name: analytics
    description: Org and project analytics
  - name: billing
    description: Subscriptions, usage, and payment-related operations
  - name: channels
    description: Delivery channels alarms notify through
  - name: content
    description: Re-sign stored content URLs
  - name: files
    description: File operations
  - name: iam
    description: IAM — actions, roles, users, and authorization introspection
  - name: k2
    description: Knowledge Bases v2 operations
  - name: orgs
    description: Organization operations
  - name: projects
    description: Project operations
  - name: runs
    description: Execution operations
  - name: templates
    description: Public project template catalog
  - name: users
    description: Authenticated user profile
paths:
  /orgs/{org_id}/credit-grants:
    get:
      tags:
        - billing
      description: Credit grants awarded to an organization, most recent first.
      operationId: handler
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Credit grants for the organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCreditGrantsResBody'
        '403':
          description: Forbidden
      security:
        - bearer_auth: []
components:
  schemas:
    ListCreditGrantsResBody:
      type: object
      required:
        - credit_grants
      properties:
        credit_grants:
          type: array
          items:
            $ref: '#/components/schemas/CreditGrant'
    CreditGrant:
      type: object
      description: A single credit grant on an organization.
      required:
        - uid
        - source
        - source_metadata
        - amount_credits
        - consumed_credits
        - starts_at
        - created_at
      properties:
        amount_credits:
          type: integer
          format: int64
          description: >-
            Credits awarded by this grant. Always positive; corrections ship as
            a

            separate grant rather than a negative amount.
        consumed_credits:
          type: integer
          format: int64
          description: >-
            Credits already drawn from this grant by attributed costs. Bounded
            by

            `amount_credits`; remaining headroom is `amount_credits -
            consumed_credits`.
        created_at:
          type: string
          format: date-time
          description: Grant creation timestamp.
        exhausted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: |-
            Set once the grant has been fully consumed by usage; `null` while
            the grant still has unspent credits or hasn't been reconciled yet.
        expires_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the grant stops being spendable. `null` = never expires.
        granted_by_user_id:
          type:
            - integer
            - 'null'
          format: int64
          description: User who triggered the grant. `null` for system-issued grants.
        source:
          type: string
          description: |-
            Where the grant came from (e.g. `onboarding`, `promo`, `support`,
            `referral`, `refund`).
        source_metadata:
          description: Source-specific payload. Shape depends on `source`.
        starts_at:
          type: string
          format: date-time
          description: When the grant became (or will become) spendable.
        uid:
          type: string
          format: uuid
          description: Stable public identifier for this grant.
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: >-
        Timbal API key. Obtain your API key from the Timbal platform settings.
        See [Authentication](/api-reference/authentication) for more
        information.

````