Audit log
List audit events
GET
Returns a cursor-paginated list of audit log events for the organization. Requires owner access.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
from?stringFormat
date-timeto?stringFormat
date-timeactorId?stringLength
1 <= lengthaction?array<>source?array<>cursor?stringlimit?integerRange
1 <= value <= 200Default
50application/json- response
data*array<>nextCursor*string|nullcurl -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"
}