List audit logs
GET
/audit-logs
Returns paginated audit logs for the current tenant. Supports filtering by resource, action, channel, date range, and free-text search.
Authorizations
BearerAuth
JWT token from login
Type
HTTP (bearer)
or
AccessToken
Personal access token. Value: Token <your-token>
Type
API Key (header: Authorization)
Parameters
Query Parameters
resource
Type
string
Valid values
"note""memory""url""project""link""user""passkey""conversation""trash"action
Type
string
Valid values
"create""update""delete""search""login""export""import""restore""reindex"channel
Type
string
Valid values
"web""api""mcp"mcp_client
Filter by MCP client name
Type
string
q
Free-text search across resource_id, token_label, mcp_client
Type
string
from
Start date (inclusive)
Type
string
Format
"date"to
End date (inclusive)
Type
string
Format
"date"page
Type
integer
Default
1per_page
Type
integer
Default
50Responses
OK
application/json
JSON "logs": [ { "_id": "string", "action": "string", "resource": "string", "resource_id": "string", "user_id": "string", "host_id": "string", "channel": "string", "token_label": "string", "mcp_client": "string", "details": { }, "ip": "string", "user_agent": "string", "createdAt": "string" } ], "total": 0, "page": 0, "pages": 0
{
}