Query audit logs

GET {{baseUrl}}/cms/v3/audit-logs/?userId=<string>&userId=<string>&eventType=<string>&eventType=<string>&objectType=<string>&objectType=<string>&objectId=<string>&objectId=<string>&after=<string>&before=<string>&limit=<integer>&sort=<string>&sort=<string>

Returns audit logs based on filters.

Request Params

KeyDatatypeRequiredDescription
userIdstringComma separated list of user ids to filter by.
userIdstringComma separated list of user ids to filter by.
eventTypestringComma separated list of event types to filter by (CREATED, UPDATED, PUBLISHED, DELETED, UNPUBLISHED).
eventTypestringComma separated list of event types to filter by (CREATED, UPDATED, PUBLISHED, DELETED, UNPUBLISHED).
objectTypestringComma separated list of object types to filter by (BLOG, LANDING_PAGE, DOMAIN, HUBDB_TABLE etc.)
objectTypestringComma separated list of object types to filter by (BLOG, LANDING_PAGE, DOMAIN, HUBDB_TABLE etc.)
objectIdstringComma separated list of object ids to filter by.
objectIdstringComma separated list of object ids to filter by.
afterstringTimestamp after which audit logs will be returned
beforestringTimestamp before which audit logs will be returned
limitstringThe number of logs to return.
sortstringThe sort direction for the audit logs. (Can only sort by timestamp).
sortstringThe sort direction for the audit logs. (Can only sort by timestamp).

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;event&quot;:&quot;UPDATED&quot;,&quot;fullName&quot;:&quot;\u003cstring\u003e&quot;,&quot;objectId&quot;:&quot;\u003cstring\u003e&quot;,&quot;objectName&quot;:&quot;\u003cstring\u003e&quot;,&quot;objectType&quot;:&quot;CONTENT_SETTINGS&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;userId&quot;:&quot;\u003cstring\u003e&quot;,&quot;meta&quot;:{}},{&quot;event&quot;:&quot;CREATED&quot;,&quot;fullName&quot;:&quot;\u003cstring\u003e&quot;,&quot;objectId&quot;:&quot;\u003cstring\u003e&quot;,&quot;objectName&quot;:&quot;\u003cstring\u003e&quot;,&quot;objectType&quot;:&quot;THEME&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;userId&quot;:&quot;\u003cstring\u003e&quot;,&quot;meta&quot;:{}}],&quot;paging&quot;:{&quot;next&quot;:{&quot;after&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;},&quot;prev&quot;:{&quot;before&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;}}}