---
title: "Get Ledger"
method: GET
path: "/api/billing/ledger"
tags: ["billing"]
---

# Get Ledger

`GET /api/billing/ledger`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/billing/ledger`
- Auth: none declared

Merged money ledger (credits, adjustments, debits, optional own-key
activity) for the calling identity - or, for an owner passing
``target_identity_id``, for an identity they control.
See services/billing/ledger.py.

## Query parameters

- `cursor` string, nullable
- `limit` integer
- `entry_type` string[], nullable
- `credit_source` string, nullable
- `provider` string[], nullable
- `model` string, nullable
- `capability` string[], nullable
- `actor_identity_id` string, uuid, nullable
- `spender_identity_id` string, uuid, nullable
- `agent_identity_id` string, uuid, nullable
- `provider_key_id` string, uuid, nullable
- `date_from` string, date-time, nullable
- `date_to` string, date-time, nullable
- `include_byok` boolean
- `target_identity_id` string, uuid, nullable

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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