Read the audit log
The organization's audit trail, including actions taken by API keys and applications. audit:read is admin-only and is never granted by a wildcard.
Authorization
bearerAuth AuthorizationBearer <token>
An API key from Settings > API access, sent as Authorization: Bearer sp_live_.... Send exactly one credential per request; a request carrying both a bearer token and a session cookie is rejected rather than resolved by precedence.
In: header
Query Parameters
pageNumber?integer
1-based page number.
Range
1 <= valueDefault
1pageSize?integer
Page size. Clamped server-side, so a very large value returns the maximum.
Range
1 <= valueDefault
20action?string
resourceType?string
startDate?string
Format
date-timeendDate?string
Format
date-timeResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/audit"{ "currentPage": 0, "pageSize": 0, "totalCount": 0, "data": [ { "id": "string", "action": "string", "resourceType": "string", "resourceId": "string", "userId": "string", "principalRef": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}Last updated on