List Access Logs (v2)

Use this REST API to list the available Access Log files in an EPM Cloud environment. . You can retrieve all available Access Logs or filter them by report date and specify the sort order.

Access Logs are generated for the Activity Report period and stored as access_log.csv. The API returns identifiers and file metadata without requiring clients to scan repository paths.

The API lists Access Log files; it does not return their contents, HTML metadata, Activity Report metadata, or repository folder paths.

Although this API uses POST, it is read-only and does not create or modify Access Logs or Activity Reports.

Required Roles

Service Administrator, Power User, User, Viewer

REST Resource

POST /interop/rest/v2/accesslogs/list

Request

Supported Media Types: multipart/form-data

Name Description Type Required Default
fromDate Inclusive lower bound for the report date, specified as an RFC 3339 timestamp. For example, 2026-08-01T00:00:00Z. Payload No No Lower Bound
toDate Inclusive upper bound for the report date, specified as an RFC 3339 timestamp. For example, 2026-08-11T23:59:59Z. Payload No No Upper Bound
sortOrder Sorts Access Logs by reportDate. Specify asc for ascending order or desc for descending order. Payload No desc

Both date filters apply to reportDate, rather than individual operation timestamps within an Access Log. If both parameters are specified, fromDate must be earlier than or equal to toDate.

Example URL to list all available access logs

https://<BASE-URL>/interop/rest/v2/accesslogs/list

Example Payload with Date Filters and Sort Order

The following payload lists Access Logs with report dates from August 1, 2026, at 00:00:00 UTC through August 11, 2026, at 23:59:59 UTC, inclusive, in descending report-date order.

{
  "fromDate": "2026-08-01T00:00:00Z",
  "toDate": "2026-08-11T23:59:59Z",
  "sortOrder": "desc"

Response

Supported Media Types: application/json

Table 2-238 Parameters

Name Description
items Array of available Activity Reports that match the request. Returns an empty array when no reports match or no reports are available. The format is:
  {
      "reportId": <Opaque Report ID>,
      "reportDate": <Report date and time expressed as an RFC 3339 timestamp>,
      "displayName": <Display name of the Activity Report>,
      "lastModifiedTime": <Last modified time expressed in milliseconds>,
      "formattedLastModifiedTime": <Human-readable last modified date and time>,
      "size": <Size of the Activity Report JSON file, represented as a string>
    }
status See Migration Status Codes
links Detailed information about the link. The format is:
{
      "href": <Links to API call>,
      "action": <The HTTP call type>,
      "rel": <Possible value: self>
    }

Example of Response Body

{
  "status": 0,
  "items": [
    {
      "accessLogId": "opaque-access-log-id",
      "reportDate": "2026-08-11T03:59:54Z",
      "displayName": "Access Log 2026-08-11 03:59:54",
      "fileName": "access_log.csv",
      "lastModifiedTime": 1786420794000,
      "formattedLastModifiedTime": "Aug 11, 2026 03:59:54 UTC",
      "size": 123456
    }
  ],
  "links": [
    {
      "href": "https://<BASE-URL>/interop/rest/v2/accesslogs/list",
      "action": "POST",
      "rel": "self"
    }
  ]
}

Example of Response Body When No Access Logs Match

{
  "status": 0,
  "items": [],
  "links": [
    {
      "href": "https://<BASE-URL>/interop/rest/v2/accesslogs/list",
      "action": "POST",
      "rel": "self"
    }
  ]
}

Sample cURL Command

Lists all available access logs:

curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o response.txt -D respHeader.txt -H 'Content-Type: application/json' -d '{}' 'https://<BASE-URL>/interop/rest/v2/accesslogs/list'

Sample cURL Command

Lists reports for the specified date range)

curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o response.txt -D respHeader.txt -H 'Content-Type: application/json' -d '{"fromDate":"2026-08-01T00:00:00Z","toDate":"2026-08-11T23:59:59Z","sortOrder":"desc"}' 'https://<BASE-URL>/interop/rest/v2/accesslogs/list'