What your agent has called
get_activityWhat this token has called, newest first — the log of your own use.
Every call is recorded: the tool, the arguments you sent, how long it took, whether it succeeded, and the refusal text when it did not. Refusals are the useful half — "why did my agent stop" is the question a log exists to answer, and a cap being hit looks identical to a broken tool without it.
Use it to see what your agent actually did, to find the call that failed, or
to check how much of today's caps you have spent (get_plan gives the caps
themselves).
SCOPE IS THE ACCOUNT, NOT THE TOKEN. It returns every call made under your account — across a re-mint, and across both ways in, since a pasted token and an OAuth login resolve to one account. So a token minted a minute ago still shows the history that came before it: replacing a token you lost must not erase what you did with the old one. There is no argument that widens it beyond your own account, and none that narrows it to a single credential. (The exception is a hand-minted token from before self-serve, which carries no account and therefore sees only itself.)
limit is 1-500, newest first. Read-only, and unmetered against your corpus
allowance — auditing your own use should never cost you a question.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | calls to return, 1-500, newest first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | Newest first, across re-mints and across both ways in. | |
| count | No | How many were returned. This is the size of `calls` after `limit`, NOT your lifetime total. | |
| scope | No | What the log covers, said plainly — the ACCOUNT, not the credential. Never null; read it before concluding a call is missing, because a call made under a token you have since replaced still appears here. | |
| succeeded | No | How many of the returned calls answered. Never null: a log with no successes reports 0. | |
| refused_or_failed | No | count - succeeded. A refusal is counted here, so a run of these is the thing to read when an agent looks stuck. |