# Account

GET /v1/account, your balance and default routing mode.

Source: https://docs.noduma.dev/api/account/

`GET https://app.noduma.dev/v1/account`

The balance of the account that owns the key, in credits.

```sh
curl https://app.noduma.dev/v1/account -H "Authorization: Bearer $NODUMA_API_KEY"
```

```json
{
  "id": "...",
  "name": "...",
  "available": 48210,
  "reserved": 4096,
  "pending": 0,
  "routing": "any"
}
```

| Field | Meaning |
|---|---|
| `id`, `name` | The account |
| `available` | Credits you can spend now |
| `reserved` | Credits held for answers in progress; released or charged when each ends |
| `pending` | Earnings not yet available. Earnings are available as soon as their answer is settled, so this is 0 except for earnings held under an earlier rule, which become available at their recorded time |
| `routing` | The default routing mode when a request sends no `Noduma-Routing` header |

`noduma credits` shows the same. Credits are not money: they cannot be bought or paid out.
