API Reference
Audit
Query the audit trail with filtering and cursor-based pagination.
GET
Query audit logs with optional filters for resource type, actor, action, and date range. Results are returned newest first with cursor-based pagination.
resourceType?stringFilter by resource type
resourceId?stringFilter by resource ID
actorId?stringFilter by actor ID
action?stringFilter by action
from?stringStart date (ISO 8601)
Format
date-timeto?stringEnd date (ISO 8601)
Format
date-timelimit?integerItems per page
Range
1 <= value <= 100Default
50cursor?stringPagination cursor
Audit log list
application/json- response
data*array<>nextCursor?stringcurl -X GET 'https://example.com/api/audit'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "actorType": "user", "actorId": "string", "actorName": "string", "action": "string", "resourceType": "string", "resourceId": "string", "changes": { "before": {}, "after": {} }, "metadata": {}, "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}GET
Returns all audit events for a specific resource, newest first with cursor-based pagination.
type*stringResource type
id*stringResource ID
limit?integerRange
1 <= value <= 100Default
50cursor?stringResource audit history
application/json- response
data*array<>nextCursor?stringcurl -X GET 'https://example.com/api/audit/resource/string/string'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "actorType": "user", "actorId": "string", "actorName": "string", "action": "string", "resourceType": "string", "resourceId": "string", "changes": { "before": {}, "after": {} }, "metadata": {}, "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}GET
Returns all actions performed by a specific actor, newest first with cursor-based pagination.
id*stringActor ID
limit?integerRange
1 <= value <= 100Default
50cursor?stringActor activity
application/json- response
data*array<>nextCursor?stringcurl -X GET 'https://example.com/api/audit/actor/string'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "actorType": "user", "actorId": "string", "actorName": "string", "action": "string", "resourceType": "string", "resourceId": "string", "changes": { "before": {}, "after": {} }, "metadata": {}, "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}