audit.list

List activity

GET/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

  • cursorstring

    0 to 200 characters

  • limitintegerrequired

    from 1 to 100default 50

  • operationstring

    1 to 120 characters

  • result"ok" | "denied" | "failed"

  • frominteger

    at least 0

  • tointeger

    at least 0

Output

  • eventslist of objectrequired

  • events[].idstringrequired

  • events[].operationstringrequired

  • events[].actorType"member" | "api_key" | "ai_client" | "staff" | "system"required

  • events[].via"session" | "oauth" | "api_key" | "staff" | "system"required

  • events[].userIdstring or nullrequired

  • events[].clientIdstring or nullrequired

  • events[].targetTypestring or nullrequired

  • events[].targetIdstring or nullrequired

  • events[].result"ok" | "denied" | "failed"required

  • events[].errorCodestring or nullrequired

  • events[].requestIdstring or nullrequired

  • events[].createdAtintegerrequired

  • nextCursorstring or nullrequired

All Operations