uipath-cli
latest
false
UiPath CLI user guide
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- uip model-hub
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip rules versions
Syntax and options for `uip rules versions`, which lists the versions of a business rule deployed to an Orchestrator folder.
Note:
uip rules versions is labeled Preview in the command help. Refer to Versioning for what the Preview label means.
uip rules versions lists the versions of a business rule deployed to an Orchestrator folder. The active version, marked with IsActive: true, is the one consumers evaluate.
Synopsis
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
Arguments
| Name | Required | Purpose |
|---|---|---|
<rule-name> | yes | Business rule name. |
Options
Pass exactly one of --folder-path or --folder-key.
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
--folder-path | string | — | Folder path, for example Shared. | |
--folder-key | GUID | — | Folder key. | |
-l | --limit | integer (1–10000) | 50 | Number of versions to return. |
--offset | integer | 0 | Number of versions to skip. |
Example
uip rules versions LoanEligibility --folder-path "Shared"
uip rules versions LoanEligibility --folder-path "Shared"
Data shape (--output json)
{
"Code": "RulesVersionList",
"Data": [
{ "Version": "1.0.2", "IsActive": true, "CreationTime": "2026-09-20T08:30:00.000Z" },
{ "Version": "1.0.1", "IsActive": false, "CreationTime": "2026-09-10T14:05:00.000Z" }
]
}
{
"Code": "RulesVersionList",
"Data": [
{ "Version": "1.0.2", "IsActive": true, "CreationTime": "2026-09-20T08:30:00.000Z" },
{ "Version": "1.0.1", "IsActive": false, "CreationTime": "2026-09-10T14:05:00.000Z" }
]
}
The envelope also carries a Pagination object with Returned, Limit, Offset, and HasMore.
Exit codes
Refer to Exit codes for the shared contract. The command exits 1 in these cases:
| Condition | ErrorCode |
|---|---|
| The folder holds no rule with this name. | not_found |
Neither or both of --folder-path and --folder-key are passed. | invalid_argument |
Related commands
uip rules getgets the rule and its current version.uip rules describereturns the active version's entry points.
See also
uip rulesfor the tool overview.