# account

Canonical URL: https://developers.iagenify.com/sdk/agent/tools/account/
Language: en

`account({ action?: "overview" | "keys" })`

What the account has and what it has spent: credits, plan, this month by kind, and the devices registered on it. Free and instant. With action "keys", the account's API keys instead, for an audit.

Status: category: read · free · one optional action

## What it reports {#returns}

| Field | Is |
| --- | --- |
| Credits left | The balance. |
| Plan | Which pack the account is on. |
| This month | What was spent, by kind. |
| Devices | The computers and phones registered. |

## Why the agent has it {#why}

So it stops inventing figures. The system prompt tells it to read this before an expensive job, when the user asks what is left, and instead of guessing a price.

## A balance is not a cost {#balance}

> **Do not add what this returns to a run's credit total**
>
> The balance travels as a balance. Treating it as the tool's cost makes a run that reads it look like it spent the entire account — and makes a modest budget die on the first call.

## action "keys": the audit, not the keyring {#keys}

It lists each API key of the account with the day it was created and the day it was last used. A key is shown once, at creation, and never again — not here either. Creating one is not on the public API at all, and revoking one is the user's own call: a key cut off breaks whatever is using it, and the agent does not know what that is.

## It is in the read-only set {#subagents}

An investigating subagent can be given it: it reads a number and changes nothing.

- [cloud](/sdk/agent/tools/cloud): The storages, the space and the real model prices.
- [Credits](/sdk/concepts/credits): What a credit is.
- [Agent tools](/sdk/agent/tools): The 35, by family.
