- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- jobs
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
uip insights jobs exposes the preset Insights dashboards as CLI commands. Every subcommand posts to a dedicated Insights endpoint and returns the raw response in the standard Code/Data envelope. All seven subcommands share the same filter surface (time range, folders, processes, machines).
Synopsis
uip insights jobs <verb> [options]
uip insights jobs <verb> [options]
Verbs
| Verb | Purpose |
|---|---|
summary | Total job count, successful count, average processing time. |
completed-timeline | Completed jobs over time, grouped by terminal state. |
uncompleted-timeline | Uncompleted (running/pending) jobs over time. |
top-failures | Processes with the most job failures. |
failures-by-reason | Job failures grouped by exception reason. |
process-details | Per-process job breakdown with counts by state. |
failure-details | Detailed failure rows for drill-down investigation. |
Shared filters
Every insights jobs subcommand accepts the same options:
| Flag | Description |
|---|---|
-t, --tenant <tenant-name> | Tenant (optional, defaults to value selected during auth). |
--time-range <minutes> | Relative time range in minutes (e.g. 1440 for 1 day, 43200 for 30 days). |
--started-after <epoch-ms> | Absolute start time as Unix epoch milliseconds. |
--started-before <epoch-ms> | Absolute end time as Unix epoch milliseconds. |
--folder-key <guid> | Folder key filter (repeatable). |
--process-name <name> | Process name filter (repeatable). |
--machine-name <name> | Machine name filter (repeatable). |
--timezone-offset <minutes> | Client timezone offset in minutes from UTC. |
Use either --time-range or the absolute --started-after/--started-before pair — combining them is valid but the Insights backend resolves to whichever interval is narrower. All filters are optional; an unfiltered query returns tenant-wide data for the default time range. --folder-key, --process-name, and --machine-name are repeatable — pass them multiple times to include several values.
Integer options (--time-range, --started-after, --started-before, --timezone-offset) are validated at parse time; a non-numeric value fails fast with a message naming the flag.
uip insights jobs summary
Total job count, successful count, and average processing time.
Options
See Shared filters.
Examples
uip insights jobs summary --time-range 1440
uip insights jobs summary \
--process-name Invoicing --process-name Payroll --time-range 43200
uip insights jobs summary --time-range 1440 \
--output-filter 'Data.{total:TotalJobs, success:SuccessfulJobs}'
uip insights jobs summary --time-range 1440
uip insights jobs summary \
--process-name Invoicing --process-name Payroll --time-range 43200
uip insights jobs summary --time-range 1440 \
--output-filter 'Data.{total:TotalJobs, success:SuccessfulJobs}'
Response code: InsightsJobsSummary.
uip insights jobs completed-timeline
Completed jobs over time, grouped by terminal job state.
Options
See Shared filters.
Examples
uip insights jobs completed-timeline --time-range 10080
uip insights jobs completed-timeline \
--folder-key f0f0f0f0-0000-0000-0000-000000000001 \
--time-range 1440 --timezone-offset -480
uip insights jobs completed-timeline \
--started-after 1714003200000 --started-before 1714608000000
uip insights jobs completed-timeline --time-range 10080
uip insights jobs completed-timeline \
--folder-key f0f0f0f0-0000-0000-0000-000000000001 \
--time-range 1440 --timezone-offset -480
uip insights jobs completed-timeline \
--started-after 1714003200000 --started-before 1714608000000
Response code: InsightsJobsCompletedTimeline.
uip insights jobs uncompleted-timeline
Uncompleted (running/pending) jobs over time.
Options
See Shared filters.
Examples
uip insights jobs uncompleted-timeline --time-range 1440
uip insights jobs uncompleted-timeline \
--folder-key f0f0f0f0-0000-0000-0000-000000000001 \
--folder-key f0f0f0f0-0000-0000-0000-000000000002
uip insights jobs uncompleted-timeline --time-range 1440 \
--machine-name prod-worker-01
uip insights jobs uncompleted-timeline --time-range 1440
uip insights jobs uncompleted-timeline \
--folder-key f0f0f0f0-0000-0000-0000-000000000001 \
--folder-key f0f0f0f0-0000-0000-0000-000000000002
uip insights jobs uncompleted-timeline --time-range 1440 \
--machine-name prod-worker-01
Response code: InsightsJobsUncompletedTimeline.
uip insights jobs top-failures
Processes with the most failures in the filter window.
Options
See Shared filters.
Examples
uip insights jobs top-failures --time-range 43200
uip insights jobs top-failures --time-range 10080 \
--folder-key f0f0f0f0-0000-0000-0000-000000000001
uip insights jobs top-failures --time-range 43200 \
--output-filter 'Data[].{process:ProcessName, count:FailureCount}'
uip insights jobs top-failures --time-range 43200
uip insights jobs top-failures --time-range 10080 \
--folder-key f0f0f0f0-0000-0000-0000-000000000001
uip insights jobs top-failures --time-range 43200 \
--output-filter 'Data[].{process:ProcessName, count:FailureCount}'
Response code: InsightsJobsTopFailures.
uip insights jobs failures-by-reason
Job failures grouped by exception reason.
Options
See Shared filters.
Examples
uip insights jobs failures-by-reason --time-range 43200
uip insights jobs failures-by-reason --time-range 1440 \
--process-name Invoicing
uip insights jobs failures-by-reason --time-range 10080 \
--output-filter 'Data[].{reason:Reason, count:Count}'
uip insights jobs failures-by-reason --time-range 43200
uip insights jobs failures-by-reason --time-range 1440 \
--process-name Invoicing
uip insights jobs failures-by-reason --time-range 10080 \
--output-filter 'Data[].{reason:Reason, count:Count}'
Response code: InsightsJobsFailuresByReason.
uip insights jobs process-details
Per-process job breakdown with counts by state.
Options
See Shared filters.
Examples
uip insights jobs process-details --process-name Invoicing --time-range 1440
uip insights jobs process-details --time-range 43200 \
--folder-key f0f0f0f0-0000-0000-0000-000000000001
uip insights jobs process-details \
--process-name Invoicing --process-name Payroll \
--started-after 1714003200000 --started-before 1714608000000
uip insights jobs process-details --process-name Invoicing --time-range 1440
uip insights jobs process-details --time-range 43200 \
--folder-key f0f0f0f0-0000-0000-0000-000000000001
uip insights jobs process-details \
--process-name Invoicing --process-name Payroll \
--started-after 1714003200000 --started-before 1714608000000
Response code: InsightsJobsProcessDetails.
uip insights jobs failure-details
Detailed failure rows for drill-down investigation.
Options
See Shared filters.
Examples
uip insights jobs failure-details --process-name Invoicing --time-range 1440
uip insights jobs failure-details --time-range 10080 \
--machine-name prod-worker-01
uip insights jobs failure-details --time-range 1440 \
--output-filter 'Data[].{job:JobKey, reason:Reason, ts:StartTime}'
uip insights jobs failure-details --process-name Invoicing --time-range 1440
uip insights jobs failure-details --time-range 10080 \
--machine-name prod-worker-01
uip insights jobs failure-details --time-range 1440 \
--output-filter 'Data[].{job:JobKey, reason:Reason, ts:StartTime}'
Response code: InsightsJobsFailureDetails.
Data shape (--output json)
All commands return the same envelope. The Data field carries the endpoint-specific Insights response — the inner structure differs per endpoint but the envelope is uniform.
{
"Code": "InsightsJobsSummary",
"Data": { "...": "endpoint-specific payload" }
}
{
"Code": "InsightsJobsSummary",
"Data": { "...": "endpoint-specific payload" }
}
The exact inner structure of each response variant is specified by the Insights API and is not enumerated here. Run the command once with --output json against a tenant with data to see the schema you will be consuming, and pin @uipath/cli in CI if you parse specific fields.
Error behavior
- Missing authentication. The CLI emits
FailurewithInstructions: "Run 'uip login' to authenticate first."and exits1. - Backend errors (4xx/5xx from Insights).
FailurewithInstructions: "Check your authentication, tenant, and filter parameters."and exits1.
Related
uip insights— tool overview.uip login— session used for every Insights call.uip traces— LLM Observability spans, an orthogonal observability surface.
See also
- Synopsis
- Verbs
- Shared filters
- uip insights jobs summary
- Options
- Examples
- uip insights jobs completed-timeline
- Options
- Examples
- uip insights jobs uncompleted-timeline
- Options
- Examples
- uip insights jobs top-failures
- Options
- Examples
- uip insights jobs failures-by-reason
- Options
- Examples
- uip insights jobs process-details
- Options
- Examples
- uip insights jobs failure-details
- Options
- Examples
- Data shape (--output json)
- Error behavior
- Related
- See also