UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Letzte Aktualisierung 7. Mai 2026

uip or audit-logs

uip or audit-logs lists the tenant's audit log — the record of who did what and when. Audit entries track changes to users, processes, assets, queues, jobs, folders, machines, roles, settings, schedules, and other entities. Use it for compliance review, incident investigation, or to watch a specific user's activity.

Synopsis

uip or audit-logs list [options]
uip or audit-logs list [options]

The verb honors the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.

Verbs

VerbZweck
listList audit entries, filtered by component, action, user, or time range. Optionally export to CSV.

uip or audit-logs list

List audit log entries. Filters compose with AND semantics. With --export, the logs are exported server-side to CSV and downloaded when ready.

Optionen

ShortLongWertStandardBeschreibung
-t--tenantnamesession defaultOverride the tenant.
--componenttextFilter by component (for example, Users, Assets, Processes, Queues, Jobs, Folders, Machines, Roles, Settings, Schedules).
--actiontextFilter by action (for example, Create, Update, Delete, StartJob, StopJob, Upload, Download).
--userBenutzernameExact-match on username.
--created-afterISO 8601Entries on or after this date.
--created-beforeISO 8601Entries strictly before this date.
-l--limitNummer50Page size.
--offsetNummer0Skip count.
--order-byFeldExecutionTime descOData sort expression.
--exportflagoffExport matching entries to CSV via the server-side export API.
-o--outputPfadaudit-logs-export.csvOutput CSV path. Only with --export.

Beispiele

# Most recent audit entries across the tenant
uip or audit-logs list

# Filter to the Users component
uip or audit-logs list --component Users --limit 100

# Everything one user did in a window
uip or audit-logs list --user admin@example.com \
    --created-after 2026-04-01 --created-before 2026-04-08

# Export to CSV
uip or audit-logs list --component Jobs --export -o ./jobs-audit.csv
# Most recent audit entries across the tenant
uip or audit-logs list

# Filter to the Users component
uip or audit-logs list --component Users --limit 100

# Everything one user did in a window
uip or audit-logs list --user admin@example.com \
    --created-after 2026-04-01 --created-before 2026-04-08

# Export to CSV
uip or audit-logs list --component Jobs --export -o ./jobs-audit.csv

Data shape (--output json)

Inline mode:

{
  "Code": "AuditLogList",
  "Data": [
    {
      "serviceName": "UiPath.Orchestrator.Web.Api.OData.Controllers.UsersController",
      "methodName": "Post",
      "executionTime": "2025-04-15T09:10:00Z",
      "action": "Create",
      "component": "Users",
      "displayName": "jane.doe@example.com",
      "entityId": 1001,
      "operationText": "User admin@example.com created user jane.doe@example.com",
      "userName": "admin@example.com",
      "userType": "DirectoryUser",
      "entities": [
        {
          "auditLogId": 1000001,
          "customData": "{\"Id\":1001,\"UserName\":\"jane.doe\"}",
          "entityId": 1001,
          "entityName": "User",
          "action": "Create",
          "id": 2000001
        }
      ],
      "userId": 42,
      "userIsDeleted": false,
      "userIsActive": true,
      "id": 1000001
    }
  ]
}
{
  "Code": "AuditLogList",
  "Data": [
    {
      "serviceName": "UiPath.Orchestrator.Web.Api.OData.Controllers.UsersController",
      "methodName": "Post",
      "executionTime": "2025-04-15T09:10:00Z",
      "action": "Create",
      "component": "Users",
      "displayName": "jane.doe@example.com",
      "entityId": 1001,
      "operationText": "User admin@example.com created user jane.doe@example.com",
      "userName": "admin@example.com",
      "userType": "DirectoryUser",
      "entities": [
        {
          "auditLogId": 1000001,
          "customData": "{\"Id\":1001,\"UserName\":\"jane.doe\"}",
          "entityId": 1001,
          "entityName": "User",
          "action": "Create",
          "id": 2000001
        }
      ],
      "userId": 42,
      "userIsDeleted": false,
      "userIsActive": true,
      "id": 1000001
    }
  ]
}

With --export, the Code is AuditLogsExported and the payload is:

{
  "Code": "AuditLogsExported",
  "Data": {
    "FileName": "jobs-audit.csv",
    "Size": 52318,
    "ExportId": 4711
  }
}
{
  "Code": "AuditLogsExported",
  "Data": {
    "FileName": "jobs-audit.csv",
    "Size": 52318,
    "ExportId": 4711
  }
}
  • uip or jobs — the Jobs component of audit logs records job lifecycle events.
  • uip or users — resolve usernames seen in audit entries.

Siehe auch

  • Synopsis
  • Verbs
  • uip or audit-logs list
  • Optionen
  • Beispiele
  • Data shape (--output json)
  • Related commands
  • Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben