UiPath Documentation
orchestrator
2022.10
false
  • Getting started
    • About OData and references
    • Enumerated types
    • Authenticating
    • Building API Requests
    • Permissions per endpoint
    • Response codes
    • Health Check Endpoints
  • Authentication
    • Authentication methods
    • External Applications (OAuth)
    • ROPC (not recommended)
  • Swagger definition
    • Read me
    • Authorizing API calls in Swagger
    • Managing logical resources
  • Orchestrator APIs
    • Alerts requests
    • Assets requests
    • Calendars requests
    • Environments requests
    • Folders requests
    • Generic Tasks requests
    • Jobs requests
    • Libraries requests
    • License requests
    • Packages requests
    • Permissions requests
    • Personal workspaces requests
    • Processes requests
    • Queue Items requests
    • Robots requests
    • Roles requests
    • Schedules requests
    • Settings requests
    • Tasks requests
    • Task Catalogs requests
    • Task Forms requests
    • Tenants Requests
    • Transactions requests
    • Users requests
    • Webhooks requests
  • Platform Management APIs
    • Getting started
      • About this guide
      • Available resources
      • API endpoint URL structure
      • Enumeration List
    • Scopes and permissions
      • About scopes and permissions
      • Platform Management scopes and permissions
    • Platform Management APIs
      • Audit Logs
        • Get Audit Logs
        • Download Audit Logs
      • Groups
        • Get All Groups
        • Get Specific Group
        • Delete Specific Group
        • Create a New Local Group
        • Update Group
      • Robot Account
        • Get All Robot Accounts
        • Delete Robot Accounts
        • Get Specific Robot Account
        • Delete Specific Robot Account
        • Create a New Robot Account
        • Update Robot Account
      • User
        • Update User
        • Delete Specific User
        • Delete Users
      • Settings
        • Get Settings
        • Update Settings
      • Message Template
        • Get Message Template
        • Update a Message Template
        • Get Message Template by Name
UiPath logo, featuring letters U and I in white
OUT OF SUPPORT

Orchestrator API guide

Last updated Dec 16, 2025

Get Audit Logs

Gets the audit logs for an organization, based on the organization name.

API Endpoint

GET https://{yourDomain}/audit_/api/auditlogs/partitionGlobalId

Scopes

Requires one of the following scopes:

  • PM.Audit
  • PM.Audit.Read

Request Headers

--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'

Query Parameters

Query param

Data type

Description

language

(optional)

string

Specify the available display language, in the shorten form.

For example, en, fr, de, ja etc.

top

(optional)

int32

Display the top N entries of the audit.

skip

(optional)

int32

Skip the top N audit entries from displaying.

sortBy

(optional)

string

Specify the DTO property used to sort audit entries by.

For example, createdOn, category, email, etc.

sortOrder

(optional)

string

Specify the sorting order.

For example, ascending (asc) or descending (desc).

api-version

(optional)

string

Specify the API version you are using.

Responses

200 OK

Returns the queried audit events.

Example Request

Let's say you gathered all the information needed to build the API call.

  • Your {baseURL} is: https://{yourDomain}/{organizationName}
  • Your {access_token} is: 1234 (for length considerations).
  • You set the following query params:

    • language = en
    • top = 2, to display the top two entries
    • skip = 2, to skip the first two entries
    • sortBy = createdOn, to sort the entries by their creation time
    • sortOrder = asc, to sort the entries from the earliest entry to the latest one

The call should resemble the following example (cURL):

curl --location --request GET ' https://{yourDomain}/{organizationName}/audit_/api/auditlogs?language=en&top=2&skip=2&sortBy=createdOn&sortOrder=asc' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'curl --location --request GET ' https://{yourDomain}/{organizationName}/audit_/api/auditlogs?language=en&top=2&skip=2&sortBy=createdOn&sortOrder=asc' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'

Here's the response body for a successful audit entries retrieval:

{
    "totalCount": 29,
    "results": [
        {
            "createdOn": "2021-10-14T13:10:15.1964174+00:00",
            "category": "User",
            "action": "Login",
            "auditLogDetails": "{\r\n \"userName\": \"System Administrator admin\",\r\n \"email\": \"\"\r\n}", 
            "userName": "System Administrator",
            "email": "",
            "message": "User 'System Administrator admin' logged in",
            "detailsVersion": "1.0",
            "source": "Cis"
        },
....
        {
            "createdOn": "2021-10-14T12:41:00.3268964+00:00",
            "category": "User",
            "action": "Login",
            "auditLogDetails": "{\r\n \"userName\": \"System Administrator admin\",\r\n \"email\": \"\"\r\n}", 
            "userName": "System Administrator",
            "email": "",
            "message": "User 'System Administrator admin' logged in",
            "detailsVersion": "1.0",
            "source": "Cis"
        }
    ]
}{
    "totalCount": 29,
    "results": [
        {
            "createdOn": "2021-10-14T13:10:15.1964174+00:00",
            "category": "User",
            "action": "Login",
            "auditLogDetails": "{\r\n \"userName\": \"System Administrator admin\",\r\n \"email\": \"\"\r\n}", 
            "userName": "System Administrator",
            "email": "",
            "message": "User 'System Administrator admin' logged in",
            "detailsVersion": "1.0",
            "source": "Cis"
        },
....
        {
            "createdOn": "2021-10-14T12:41:00.3268964+00:00",
            "category": "User",
            "action": "Login",
            "auditLogDetails": "{\r\n \"userName\": \"System Administrator admin\",\r\n \"email\": \"\"\r\n}", 
            "userName": "System Administrator",
            "email": "",
            "message": "User 'System Administrator admin' logged in",
            "detailsVersion": "1.0",
            "source": "Cis"
        }
    ]
}
  • API Endpoint
  • Scopes
  • Request Headers
  • Query Parameters
  • Responses
  • 200 OK
  • Example Request

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated