audit.list
List activity
/api/v1/audit- Permission
audit:read- MCP tool
audit.list
What it does
Read this Account's Audit Events, newest first: who acted, how they signed in, which Operation ran, its target, the result and the request id. Owner and Admin only. Supports a keyset cursor, a limit, an Operation filter, a result filter and a time range (milliseconds since the epoch).
Input
cursorstring0 to 200 characters
limitintegerrequiredfrom 1 to 100default 50
operationstring1 to 120 characters
result"ok" | "denied" | "failed"fromintegerat least 0
tointegerat least 0
Output
eventslist of objectrequiredevents[].idstringrequiredevents[].operationstringrequiredevents[].actorType"member" | "api_key" | "ai_client" | "staff" | "system"requiredevents[].via"session" | "oauth" | "api_key" | "staff" | "system"requiredevents[].userIdstring or nullrequiredevents[].clientIdstring or nullrequiredevents[].targetTypestring or nullrequiredevents[].targetIdstring or nullrequiredevents[].result"ok" | "denied" | "failed"requiredevents[].errorCodestring or nullrequiredevents[].requestIdstring or nullrequiredevents[].createdAtintegerrequirednextCursorstring or nullrequired