Skip to main content
GET
/
v1
/
tenants
/
me
/
billing
/
charges
Tenant credit-pool charges
curl --request GET \
  --url https://api.usezombie.com/v1/tenants/me/billing/charges \
  --header 'Authorization: Bearer <token>'
{
  "next_cursor": "<string>",
  "items": [
    {
      "id": "<string>",
      "tenant_id": "<string>",
      "workspace_id": "<string>",
      "zombie_id": "<string>",
      "event_id": "<string>",
      "charge_type": "receive",
      "posture": "platform",
      "model": "<string>",
      "credit_deducted_cents": 123,
      "recorded_at": 123,
      "token_count_input": 123,
      "token_count_output": 123,
      "wall_ms": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Query Parameters

limit
integer<int32>
default:50

Page size (1–200, default 50).

Required range: 1 <= x <= 200
cursor
string

Opaque pagination token returned in next_cursor from a previous page. Omit for the first page. Treat as a black-box string — the encoded (recorded_at, id) tuple is an implementation detail.

Response

Newest-first telemetry rows scoped to the caller's tenant.

next_cursor
string | null
required

Opaque token for the next page; null when no more rows.

items
object[]
required