Export a list of audit events
You can retrieve events data by making a GET request to the /audit/export endpoint, specifying the events you wish to retrieve in the payload.
API format
GET /audit/export
Parameter
Description
timestampWhen filtering by timestamp, it is best practice to use a range using > and < operators rather than an exact value.
Example:
Example:
?property=timestamp<2020-02-08T02:46:48.610862Z&property=timestamp>2020-01-01T02:46:48.610862Z.statusThe status of the action. A status can be any of the following:
-
Allow -
Deny -
Failure -
Success
Example: ?property=status==Deny.
actionThe type of action that was recorded for the event. An action can be any of the following:
AddCreateDataset activateDataset removeDeleteDisable for profileEnableEnable for profileProfile activateProfile removeRemoveResetSegment ActivateSegment removeUpdate
Example: ?property=action==Create.
userThe user who performed the event.
assetTypeThe type of Experience Platform resource that the action was performed on.
Example:
Example:
?property=assetType==<an asset type>.Request
curl -X POST \
https://platform.adobe.io/data/foundation/audit/export
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H 'x-sandbox-name: {SANDBOX_NAME}' \
-H 'x-request-id: {TRACING_ID}' \
Response
The results are generated into a CSV file for export, each entry representing a core or enhanced audit event. A successful response returns HTTP 307 with no response body. A link to the export file is provided in the Location response header.
NOTE
For batch operations that act on multiple assets, the exported CSV includes an
assets column whose value is a stringified JSON of the assets array. Example value: "[{""assetId"":""id-1"",""assetName"":""name-1"",""status"":""Success""},{""assetId"":""id-2"",""assetName"":""name-2"",""status"":""Failure"",""failureCode"":""SMS-2010-403""}]".recommendation-more-help
experience-platform-help-landing