---
title: "The balance this key can spend"
method: GET
path: "/wallet"
tags: ["Balance"]
---

# The balance this key can spend

`GET /wallet`

## Request

- Base URL: `https://api.phoenixlabs.space`
- URL: `https://api.phoenixlabs.space/wallet`
- Auth: HTTP bearer

## Response `200`

The wallet.

- object
  - `wallet` Wallet
    - `wallet_id` string
    - `balance_cents` integer
    - `spendable_cents` integer
    - `paused` boolean
    - `email` string: Only shown to the wallet key.
    - `agent_key` AgentKey
      - `id` string
      - `label` string
      - `limit_cents` integer
      - `spent_cents` integer
      - `remaining_cents` integer
      - `created_at` string
      - `last_used_at` string, nullable
      - `revoked` boolean

## Other responses

- `400`: Bad input. `detail` says what to fix.
- `401`: Missing or unrecognised key.
- `402`: The balance, or the agent key's limit, doesn't cover the price. `needs_topup` or `over_limit` says which.

---

[API](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api.md) · [All operations](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api/revisions/7648b94d8dd2?raw)
