Read the Activity Log
listAuditEventsRead the workspace's activity log, newest first: who changed what and when, and how (in the web app, with an API key, or by nopaque staff). Covers API keys, members and roles, billing, tests and their schedules, load tests, batches, sweeps, mapping jobs, imports, phone numbers and caller ID, alert rules and destinations. Filters: category (access, keys, billing, workspace, testing, numbers, assistant), action (e.g. api_key.created), actor (a user id or API key id), target (type:id, e.g. test:), from/to (dates), limit (at most 100) and cursor (nextCursor from the previous page, sent with from = the previous window.from). Use cases: "who changed our API keys last week" (category keys), "who deleted that test" (target test:), "what did this key do" (actor ). Entries hold ids, not names: name a test with getTestConfig or getMissionTestConfig. nopaque staff show with no id. Only entries inside the plan's window (window in the response) are returned. Needs an Enterprise workspace and an API key created by an owner or admin with the audit:read scope by name; a key with full access (*) or with no scopes is refused (403), and a key made by a billing admin reads only the billing category. Every call through this server counts as a call with an API key. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "listAuditEvents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the range. A date alone means the whole of that day. | |
| from | No | Start of the range. Earlier than the plan's window counts as the window's start. | |
| actor | No | Only actions by this user id or API key id. | |
| limit | No | Entries per page, at most 100. | |
| action | No | Only this action, e.g. `api_key.created`. | |
| cursor | No | `nextCursor` from the previous page. Send `from` = the previous `window.from` with it. | |
| target | No | Only actions on this record, as `type:id`, e.g. `test:3f2a...`. | |
| category | No | Only this category. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | How far back the workspace's plan shows the log. | |
| entries | Yes | ||
| nextCursor | No | Pass back as `cursor`, with `from` set to `window.from`, for the next page. | |
| windowApplied | Yes | True when the plan's window set the start of the range. |