BookmarkSubscribeRSS Feed

Downloading Audit Records from Customer Intelligence 360

Started ‎08-26-2025 by
Modified ‎08-26-2025 by
Views 1,317

You can store or review user activities in SAS Customer Intelligence 360 as audit records. This article is based on information available as of August 2025.

 

  • What types of actions can be downloaded?

Audit records include details about the actions performed, the users who carried out each action, and the items that were affected. These actions may be performed through the user interface or via REST API endpoints.

Example:

- Login / Logout

- User related actions under General Settings -> User Management

- Access Point related actions under General Settings -> External Access -> Access Points

- Audience Connections related actions under General Settings -> Audience Management -> Audience Connections

 

You can download the list of actions from the file:  ci360-audit-records-actions.zip

 

  • The way to download Audit records

1. Create an API Credentials

Create a new API Credential from General Settings -> External Access -> API Credentials

Make sure to copy the secret value when you create a new API Credential

yuki_oymt_0-1756192996369.png

 

2. Generate a static JWT

Install Python 3.9  or later and the pyJwt package .

Run the following Python script and check the value of JWT.

import base64
import jwt

tenantId = 'YOUR TENANT ID'
secret = 'YOUR SECRET'

encodedSecret = base64.b64encode(bytes(secret, 'utf-8'))
token = jwt.encode({'clientID': tenantId}, encodedSecret, algorithm='HS256')
print('\nJWT token: ', token)

 

3. Generate a temporally JWT

Send a POST call to the REST API.

 

URL
POST https://<external gateway host>/token

 

Header

- Specify the static JWT as the value for the Authorization header.

- Set the value of the Content-type header to application/x-www-form-urlencoded.

yuki_oymt_3-1756193710867.png

 

Body

- Add the password parameter and set the value to the secret that was generated at Step1.

 

yuki_oymt_12-1756194168479.png

 

Response

- Check the value of Temporary JWT from the response body.

yuki_oymt_14-1756194404517.png

 

4. Call Marketing Admin API

Send a GET call to the /auditRecords endpoint:

 

URL
GET https://<external gateway host>/marketingAdmin/auditRecords?dataRangeStartTimeStamp=YYYY-MM-DDTHH:MMZ&
dataRangeEndTimeStamp=YYYY-MM-DDTHH:MMZ

example time stamp: 2023-06-14T02:00Z

 

Header

- Specify the Temporary JWT as the value for the Authorization header.

 

Response

- Check the value of data stored URL from the response body.

yuki_oymt_16-1756194744543.png

 

5.Download and open Parquet file

- Copy the URL where the data is stored from the response body and paste it into your browser.

- There are several ways to view the contents of Parquet files, but the simplest method is to use ParquetViewer.

- You can view the Parquet files in ParquetViewer as shown below.

yuki_oymt_17-1756195221157.png

- You can save the file as CSV format.

 

 

 

 

Comments

Handy feature cool that it tracks both UI and API actions. Makes it way easier to keep tabs on who did what without digging through logs.

Contributors
Version history
Last update:
‎08-26-2025 10:29 PM
Updated by:

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

Stay ahead of what's shaping modern marketing. Subscribe to the CMO Mandate for sharp perspectives on AI, strategy and what's next.

linkedin-400.pngFollow Customer Intelligence 360 on LinkedIn for insights, success stories, and practical tips to help you modernize your marketing stack.

Leader Spring 2026.png

Want to review SAS CI360? G2 is offering a gift card or charitable donation to One Tree Planted for each accepted review. Use this link to opt out of receiving anything of value for your review.

 

SAS Customer Intelligence 360

Get started with CI 360

Review CI 360 Release Notes

Open a Technical Support case

Suggest software enhancements

 

Training Resources

SAS Learning: Customer Intelligence​

Access free tutorials

Refer to documentation

Latest hot fixes

Compatibility notice re: SAS 9.4M8 (TS1M8) or later

Article Tags