---
title: "Get Credit Ledger"
method: GET
path: "/conglomerates/{conglomerate_id}/credit-ledger"
tags: ["conglomerates"]
---

# Get Credit Ledger

`GET /conglomerates/{conglomerate_id}/credit-ledger`

## Request

- Base URL: `https://api.nanocorp.so` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nanocorp.so/conglomerates/{conglomerate_id}/credit-ledger`
- Auth: HTTP bearer

Get credit transaction history with smart grouping.

TOKEN_USAGE_PARTIAL entries are grouped by run_id, summing credits.
TOOL_USAGE entries are also grouped by run_id when present (e.g. a worker
that fired N verify_email calls inside one task collapses to a single row).
Legacy TOOL_USAGE rows without run_id, and all other event types, are
returned as individual rows.

## Path parameters

- `conglomerate_id` string, uuid, required

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Successful Response

- CoreSchemasConglomerateCreditLedgerResponse
  - `entries` CoreSchemasConglomerateCreditLedgerEntry[], required
    - `id` string, required
    - `event_type` string, required
    - `credits` number, required
    - `description` string, nullable, required
    - `created_at` string, date-time, required
    - `metadata` object, nullable, required
  - `total` integer, required
  - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nanocorp/apis/nanocorp-api.md) - [All operations](https://skmtc.dev/nanocorp/apis/nanocorp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nanocorp/apis/nanocorp-api/revisions/291bb76b720b?raw)
