Edit in GitHubLog an issue

Usage API

The Usage API allows you to retrieve the usage and access log data provided within the Logs tool.

GET https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/auditlogs/usage

Supported query string parameters

AttributeTypeDescriptionPossible Value
startDate
string
Start date for the maximum of a 3 month period.
YYYY-12-01T00:00:00-07
endDate
string
End date for the maximum of a 3 month period.
YYYY-12-15T14:32:33-07
login
string
The login value of the user you want to filter logs by. Filtered as an exact match.
User defined
ip
string
The IP address you want to filter logs by. This filter supports a partial match.
10.0
rsid
string
The report suite ID you want to filter logs by. Filtered as an exact match.
User defined
eventType
string
The numeric id for the event type you want to filter logs by. Please reference the lookup table below.
3
event
string
The event description you want to filter logs by. No wildcards are permitted, but this filter is case insensitive and supports partial matches.
User defined
limit
integer
Number of results per page, with a maximum value of 1000.
10
page
integer
Page number (base 0 - first page is "0")
0

eventType lookup

By default, all event types are included when you make a request to get usage logs. You can apply a filter for a specific event type using the eventType query string parameter. These event types are the same fields available in the Usage and Access Log in the Analytics UI.

IDEvent Type
0
No Category
1
Login failed
2
Login successful
3
Admin Action
4
Security setting change
5
Report viewed
6
Report downloaded
7
Alert sent
8
User Action
9
Tool viewed
10
Adobe Action
11
Password Recovery
12
BookMarks
13
Dashboards
14
Alerts
15
Calendar Events
16
Targets
17
Report Settings
18
Scheduled Reports
19
Exclude By IP
20
Name Pages
21
Classifications
22
Data Sources
23
Workspace Project
24
Segment
25
Calculated Metric
26
Date Range
27
Virtual Report Suite
28
Contribution Analysis
30
Excel Data Block Request
31
Excel Login Failure
32
Excel Login Success
41
Mobile Login Failure
42
Mobile Login Success
61
Api Method
Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/auditlogs/usage?startDate=YYYY-01-01T00%3A00%3A00-07&endDate=YYYY-01-15T14%3A32%3A33-07&limit=10" \
-H "x-api-key: {CLIENTID}" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "Accept: application/json"

The following request contains query string parameters to filter the logs by eventType, IP and event.

Copied to your clipboard
curl -X GET "https://analytics.adobe.io/api/{GLOBAL_COMPANY_ID}/auditlogs/usage?startDate=YYYY-01-01T00%3A00%3A00-07&endDate=YYYY-01-15T14%3A32%3A33-07&ip=10&eventType=5&event=viewed&limit=10" \
-H "x-api-key: {CLIENTID}" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "Accept: application/json"
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.