Sitecore API catalog/Audit API//
- Query scripting audit log entries
Scroll through scripting audit log entries
Requests a download order for scripting audit log entries
Query scripting audit log...
Queries the scripting audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100.
Security
OAuth2
- https://your-serverhttps://your-server/api/audit/scripting/query/{entityId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://your-server/api/audit/scripting/query/12345?ScriptType=UserPreRegistration&ScriptName=MyCustomScript&ScriptContentId=12345&ScriptContentIdentifier=Script-12345&ErrorMessage=Script%20execution%20failed%3A%20Invalid%20parameter&ExecutionSource=Automatic&Id=497f6eca-6276-4993-bfeb-53cbbbba6f08&EventType=Created&Severity=Debug&TargetId=12345&TargetIdentifier=Asset-12345&Timestamp=2025-09-16&UserId=67890&ScrollId=scroll-session-abc123&ScrollTime=00%3A05%3A00&FullText=user%20login&Raw=string&EntityId=12345&From=2025-01-01&To=2025-01-31&Skip=0&Take=25&Sort=timestamp&Order=ascending&Ascending=true&Range.Begin=2019-08-24T14%3A15%3A22Z&Range.End=2019-08-24T14%3A15%3A22Z' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Successful operation
Response
{ "items": [ { … } ], "total_items": 0, "returned_items": 0, "offset": 0, "next": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "previous": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "identifier": "string", "self": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "property1": null, "property2": null }