> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Activity API: Request Log, Usage Counts and Audit Log

> Read what agents did with the OneCLI API: the request log, usage counts, totals for the overview, and the organization's audit log.

Every request an agent makes through the gateway is recorded: where it went and what the gateway decided. No header value, body or credential is stored.

Use these endpoints to read the request log and its counts for the vaults you can use, and the audit log of what people changed in the organization.

## Related guides

* [How it works: vaults, the gateway and approvals](/docs/how-it-works.md)
* [Trust and threat model](/docs/guides/trust-model.md)

## Endpoints

| Endpoint | Method and path | What it does |
| - | - | - |
| [List activity](/docs/api-reference/activity/list-activity.md) | `GET /v2/activity` | The requests agents made on the vaults you can use, newest first. |
| [Read usage](/docs/api-reference/activity/read-usage.md) | `GET /v2/usage` | Counts of the requests agents made on the vaults you can use, over the last 4 or 30 days. |
| [Read counts](/docs/api-reference/activity/read-counts.md) | `GET /v2/counts` | Totals of the vaults, items and agents you can use, in one call. |
| [Read the audit log](/docs/api-reference/activity/read-the-audit-log.md) | `GET /v2/audit` | What was done in this organization, newest first. |

## Next steps

* [API overview](/docs/api-reference.md): base URLs, authentication, and pagination
* [Errors](/docs/api-reference/errors.md): status codes and the error format
* [Editions](/docs/api-reference/editions.md): which endpoints each edition serves


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.