---
title: "List usage grants"
method: GET
path: "/billing/usage-grants"
tags: ["Billing"]
---

# List usage grants

`GET /billing/usage-grants`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/billing/usage-grants`
- Auth: none declared
- TypeScript: <https://skmtc.dev/sazabi/apis/sazabi-public-api/docs/billing/usage-grants/get.ts> (a function with typed inputs; its response is checked against the schema)

List the organization's usage grants, newest first, with what settled cycles used and what is left.

## Query parameters

- `organizationId` string: Organization to list usage grants for. Auto-filled from CLI and SDK context when omitted.

## Response `200`

OK

- object
  - `items` object[], required
    - `id` string, required
    - `program` string, required: Program the grant came from, such as yc-batch or yc-alum.
    - `programDisplayName` string, required
    - `productKey` 'logs_ingested_bytes' | 'logs_accepted_bytes' | 'logs_query_bytes_scanned' | 'log_questions_answered' | 'log_queries_executed' | 'input_tokens' | 'output_tokens' | 'ai_tokens' | 'issues_created' | 'automation_runs_completed' | 'pull_requests_created' | 'pull_request_reviews_completed', required: Product the grant covers, keyed by the usage dimension vocabulary.
    - `displayName` string, required: Display name of the covered product.
    - `grantedQuantity` string, required: Units granted, in the product's metered unit (bytes for logs).
    - `usedQuantity` string, required: Units settled usage invoices drew from the grant. Open-cycle usage is drawn when the cycle settles.
    - `remainingQuantity` string, required
    - `effectiveAt` string, date-time, required
    - `endsAt` string, date-time, required: When the grant stops covering usage: its expiry or revocation.
    - `status` 'scheduled' | 'active' | 'exhausted' | 'expired' | 'revoked', required: scheduled before it starts; active while it covers usage; exhausted once fully used; expired after its end date; revoked when ended early.

## Changes

- **2026-10-29** `cc7fabd7b7f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/billing/usage-grants/get.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/5de516719158?raw)
