Get Access Log Records (v2)
Use these REST APIs to retrieve the complete CSV content of the latest Access Log or a specific Access Log in an EPM Cloud environment. You can optionally filter the records by time range, user, screen, or action.
Access Logs are generated for the Activity Report period and stored as
access_log.csv. To retrieve a specific Access Log, use the
accessLogId returned by the List Access Logs (v2) REST
API.
An empty request payload returns the complete stored CSV. A filtered response preserves the original CSV header, columns, record order, and formatting.
Although these APIs use POST, they are read-only and do not create or modify Access Logs. Filtered responses are generated dynamically and are not persisted.
Required Roles
Service Administrator, Power User, User, Viewer
REST Resource
To retrieve the latest Activity Report:
POST
/interop/rest/v2/accesslogs/latest
To retrieve a specific Activity Report:
POST /interop/rest/v2/accesslogs/{accessLogId}
Request
Supported Media Types: multipart/form-data
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
accessLogId |
Opaque identifier returned by the List Access Logs (v2) API. Required only when retrieving a specific Access Log. Repository paths, filenames, and object-storage URLs cannot be used as identifiers. | Path | Yes | None |
fromDate |
Inclusive lower bound for record date and time, specified as an RFC 3339 timestamp. | Payload | No | No Lower Bound |
toDate |
Inclusive upper bound for record date and time, specified as an RFC 3339 timestamp. | Payload | No | No Upper Bound |
user |
Exact user value recorded in the access log. | Payload | No | No user filter |
screen |
Exact screen or function value recorded in the access log. | Payload | No | No screen filter |
action |
Exact action value recorded in the access log. | Payload | No | No action filter |
All provided filters are combined using AND logic. A record must match every specified filter to be included in the response.
Date filters apply to the CSV Date and Time
columns. The API converts the supplied timestamps to the Access Log report time zone
before comparing them with these columns. The Z suffix in the
examples indicates UTC.
If both date parameters are specified, fromDate must be earlier than
or equal to toDate.
Example URL to Retrieve the Latest Access Log Without Filters
POST https://<BASE-URL>/interop/rest/v2/accesslogs/latest
Example URL to Retrieve a Specific Access Log Without Filters
POST https://<BASE-URL>/interop/rest/v2/accesslogs/opaque-access-log-id
{
"fromDate": "2026-08-01T00:00:00Z",
"toDate": "2026-08-11T23:59:59Z",
"sortOrder": "desc"
}
Example Request with User and Time Filters
The following request returns records for userX from August 11,
2026, at 10:00:00 UTC through 11:00:00 UTC, inclusive.
POST https://<BASE-URL>/interop/rest/v2/accesslogs/opaque-access-log-id
{
"fromDate": "2026-08-11T10:00:00Z",
"toDate": "2026-08-11T11:00:00Z",
"user": "userX"
}
Example Request with Screen and Action Filters
POST https://<BASE-URL>/interop/rest/v2/accesslogs/opaque-access-log-id
{
"fromDate": "2026-08-11T10:00:00Z",
"toDate": "2026-08-11T11:00:00Z",
"screen": "Applications",
"action": "List"
}
Response
Supported Media Types: application/json
For an unfiltered request, the response body contains the complete stored CSV. For a filtered request, it contains the CSV header and matching records.
If no records match the filters, the API returns HTTP 200 with the
CSV header only.
Both complete and filtered responses use HTTP 200. HTTP
206 is not used because filtering selects CSV records rather
than byte ranges.
Table 2-239 Parameters
| Name | Description |
|---|---|
status |
See Migration Status Codes |
details |
Brief description of the error. |
message |
Additional information about the error. For invalid filters, identifies the invalid filter |
| type |
Error identifier: |
Example of Error Response When an Access Log Is Not Found
{
"status": -1,
"details": "Access Log was not found.",
"message": "No Access Log CSV exists for the requested accessLogId.",
"type": "EPM_ACCESS_LOG_NOT_FOUND"
}
Example of Error Response for an Invalid Date Range
{
"status": -1,
"details": "Invalid Access Log request.",
"message": "fromDate must be earlier than or equal to toDate.",
"type": "EPM_ACCESS_LOG_INVALID_REQUEST"
}
Sample cURL Command
To retrieve the complete latest Access Log:
curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o access_log.csv -D respHeader.txt -H 'Content-Type: application/json' -d '{}' 'https://<BASE-URL>/interop/rest/v2/accesslogs/latest'
Sample cURL Command
To retrieve a complete Access Log by identifier:
curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o access_log.csv -D respHeader.txt -H 'Content-Type: application/json' -d '{}' 'https://<BASE-URL>/interop/rest/v2/accesslogs/opaque-access-log-id'
Sample cURL Command
To retrieve records for a user within a specified time range:
curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o access_log.csv -D respHeader.txt -H 'Content-Type: application/json' -d '{"fromDate":"2026-08-11T10:00:00Z","toDate":"2026-08-11T11:00:00Z","user":"userX"}' 'https://<BASE-URL>/interop/rest/v2/accesslogs/opaque-access-log-id'