Skip to Content
OpenPerf

Audit log

List audit events

GET
/api/v1/audit-log/events

Returns a cursor-paginated list of audit log events for the organization. Requires owner access.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Query Parameters

from?string
Formatdate-time
to?string
Formatdate-time
actorId?string
Length1 <= length
action?array<>
source?array<>
cursor?string
limit?integer
Range1 <= value <= 200
Default50

Response Body

application/json
  1. response
data*array<>
nextCursor*string|null
Example Request
curl -X GET 'https://api.example.com/api/v1/audit-log/events'
Example Response
{
  "data": [
    {
      "id": "string",
      "occurredAt": "string",
      "action": "mcp.tool_called",
      "source": "web",
      "outcome": "success",
      "errorCode": "string",
      "actor": {
        "type": "user",
        "id": "string",
        "label": "string"
      },
      "oauthClient": {
        "id": "string",
        "name": "string"
      },
      "target": {
        "type": "string",
        "id": "string",
        "label": "string"
      },
      "projectId": "string",
      "durationMs": 0,
      "ip": "string",
      "userAgent": "string",
      "requestId": "string",
      "details": {
        "property1": null,
        "property2": null
      }
    }
  ],
  "nextCursor": "string"
}