# The record of calls

An agent calls tools under the same rules as the owner, and each call is recorded under its name.
There are two records, and they answer different questions.

| | The contour's record | The machine's own record |
|---|---|---|
| Holds | who called which tool on which machine, when, and how it ended; tasks; agent sessions | the calls and tasks of that one machine |
| Arguments | not kept: only a fingerprint | kept as the call sent them |
| Read with | the page, [`history_search`](https://docs.cmdop.ai/reference/mcp.md#history_search), [`GET /api/v1/calls`](https://docs.cmdop.ai/reference/http/get-calls.md) | [`journal_search`](https://docs.cmdop.ai/reference/tools/journal_search.md), `cmdop control journal.tail` |
| Kept | on the server, for the contour | 30 days or 500 MiB on the machine |

## Who sees what

- The owner sees every agent's calls.
- An agent searching the machine's record sees its own calls with their arguments, and other
  authors' calls without them. It sees other authors' arguments only where the machine's ceiling
  has `secrets` on or the agent may run commands there, since it could then read them anyway.
- A sealed call's arguments never reach the contour's record; it is marked as sealed.

Screen and control actions also go to a separate log on the machine, kept 7 days or 200 MiB:
`cmdop control audit.tail`.

## Related

[Tokens](https://docs.cmdop.ai/concepts/tokens.md) · [Tasks](https://docs.cmdop.ai/concepts/tasks.md) · [Limits](https://docs.cmdop.ai/reference/limits.md)
