- 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
- uip ont
- 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 resources
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip or machines
Syntax and options for `uip or machines`, which manages machine templates defining where robots execute and how many license slots are allocated.
uip or machines manages machine templates — robot host definitions that describe where robots execute and how many license slots of each type are allocated. Machines are tenant-scoped but can be assigned to specific folders.
Synopsis
uip or machines <verb> [options]
uip or machines <verb> [options]
Verbs
| Verb | Purpose |
|---|---|
list | List machines in the tenant, or machines assigned to a specific folder. |
get | Fetch one machine by key. |
create | Create a new machine template (optionally serverless). |
update (alias edit) | Update a machine's name, description, or slot allocation. |
delete | Delete one or more machines. |
assign | Assign machines to a folder. |
unassign | Remove machines from a folder. |
uip or machines list
List machines. Without --folder-key or --folder-path, returns every machine in the tenant. With either flag, returns only machines assigned to that folder.
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
| — | --folder-key | GUID | — | Scope to a folder by key. |
| — | --folder-path | path | — | Scope to a folder by path. |
-n | --name | text | — | Contains-match on machine name. |
| — | --scope | enum | — | Default, Shared, PersonalWorkspace, Cloud, Serverless, AutomationCloudRobot, ElasticRobot. |
-l | --limit | number | 50 | Page size. |
| — | --offset | number | 0 | Skip count. |
| — | --sort-by | field | Id desc | OData sort. |
| — | --all-fields | flag | off | Return the full API payload. |
Examples
uip or machines list --limit 10
uip or machines list --folder-path "Shared"
uip or machines list --limit 50 --scope Serverless \
--output-filter '[].{name:Name, slots:UnattendedSlots}'
uip or machines list --limit 10
uip or machines list --folder-path "Shared"
uip or machines list --limit 50 --scope Serverless \
--output-filter '[].{name:Name, slots:UnattendedSlots}'
Data shape (--output json)
{
"Code": "MachineList",
"Data": [
{
"Name": "prod-worker-01",
"ID": 101,
"Key": "a1b2c3d4-0000-0000-0000-000000000001",
"Type": "Standard",
"Scope": "Default",
"Description": "",
"UnattendedSlots": 3,
"HeadlessSlots": 0,
"NonProductionSlots": 0,
"TestAutomationSlots": 0,
"AgentSlots": 0,
"FunctionSlots": 0,
"VerticalsRpaSlots": 0,
"VerticalsAgentSlots": 0,
"VerticalsFunctionSlots": 0,
"ExecutionOptions": "None",
"LicenseKey": "b1c2d3e4-0000-0000-0000-000000000100"
}
],
"Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "HasMore": false }
}
{
"Code": "MachineList",
"Data": [
{
"Name": "prod-worker-01",
"ID": 101,
"Key": "a1b2c3d4-0000-0000-0000-000000000001",
"Type": "Standard",
"Scope": "Default",
"Description": "",
"UnattendedSlots": 3,
"HeadlessSlots": 0,
"NonProductionSlots": 0,
"TestAutomationSlots": 0,
"AgentSlots": 0,
"FunctionSlots": 0,
"VerticalsRpaSlots": 0,
"VerticalsAgentSlots": 0,
"VerticalsFunctionSlots": 0,
"ExecutionOptions": "None",
"LicenseKey": "b1c2d3e4-0000-0000-0000-000000000100"
}
],
"Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "HasMore": false }
}
uip or machines get
Fetch a machine by GUID key. No folder context required — machines are tenant-scoped.
Arguments
| Name | Required | Purpose |
|---|---|---|
<machine-key> | yes | Machine key (GUID). Find it with machines list. |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
| — | --all-fields | flag | off | Return the full API payload. |
Examples
uip or machines get a1b2c3d4-0000-0000-0000-000000000001
uip or machines get a1b2c3d4-0000-0000-0000-000000000001 --all-fields
uip or machines get a1b2c3d4-0000-0000-0000-000000000001 \
--output-filter 'UnattendedSlots'
uip or machines get a1b2c3d4-0000-0000-0000-000000000001
uip or machines get a1b2c3d4-0000-0000-0000-000000000001 --all-fields
uip or machines get a1b2c3d4-0000-0000-0000-000000000001 \
--output-filter 'UnattendedSlots'
Data shape (--output json)
{
"Code": "MachineGet",
"Data": {
"Name": "prod-worker-01",
"ID": 101,
"Key": "a1b2c3d4-0000-0000-0000-000000000001",
"Type": "Standard",
"Scope": "Default",
"Description": "",
"UnattendedSlots": 3,
"HeadlessSlots": 0,
"NonProductionSlots": 0,
"TestAutomationSlots": 0,
"AgentSlots": 0,
"FunctionSlots": 0,
"VerticalsRpaSlots": 0,
"VerticalsAgentSlots": 0,
"VerticalsFunctionSlots": 0,
"ExecutionOptions": "None",
"LicenseKey": "b1c2d3e4-0000-0000-0000-000000000100"
}
}
{
"Code": "MachineGet",
"Data": {
"Name": "prod-worker-01",
"ID": 101,
"Key": "a1b2c3d4-0000-0000-0000-000000000001",
"Type": "Standard",
"Scope": "Default",
"Description": "",
"UnattendedSlots": 3,
"HeadlessSlots": 0,
"NonProductionSlots": 0,
"TestAutomationSlots": 0,
"AgentSlots": 0,
"FunctionSlots": 0,
"VerticalsRpaSlots": 0,
"VerticalsAgentSlots": 0,
"VerticalsFunctionSlots": 0,
"ExecutionOptions": "None",
"LicenseKey": "b1c2d3e4-0000-0000-0000-000000000100"
}
}
uip or machines create
Create a new machine template. The machine name is required; with --serverless, the machine is created as a cloud-hosted (Portable) template.
Arguments
| Name | Required | Purpose |
|---|---|---|
<name> | yes | Machine name (must be unique within the tenant). |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
-d | --description | text | — | Machine description. |
| — | --serverless | flag | off | Create a serverless (cloud-hosted) machine. |
| — | --unattended-slots | number | — | Unattended robot slots. |
| — | --headless-slots | number | — | Headless robot slots. |
| — | --non-production-slots | number | — | Non-production robot slots. |
| — | --testing-slots | number | — | Test-automation robot slots. |
| — | --agent-slots | number | — | Agent jobs that can run in parallel on the machine's Local runtime. |
| — | --function-slots | number | — | Function and API workflow jobs that can run in parallel on the machine's Local runtime. |
| — | --verticals-rpa-slots | number | — | Local RPA slots reserved for Vertical Solution legs. Used only with --execution-options RunVerticals. |
| — | --verticals-agent-slots | number | — | Local Agent slots reserved for Vertical Solution legs. Used only with --execution-options RunVerticals. |
| — | --verticals-function-slots | number | — | Local Function slots reserved for Vertical Solution legs. Used only with --execution-options RunVerticals. |
| — | --execution-options | list | — | One or more of None, AgentsOnUnattended, and RunVerticals, space-separated. Replaces the machine's current value. Refer to Execution options. |
Examples
uip or machines create "staging-worker" --unattended-slots 2
uip or machines create "serverless-pool" --serverless \
--unattended-slots 10
uip or machines create "qa-host" --unattended-slots 1 --testing-slots 2 \
--output-filter 'Key'
uip or machines create "local-worker" --agent-slots 2 --function-slots 2 \
--verticals-agent-slots 1 --execution-options RunVerticals
uip or machines create "staging-worker" --unattended-slots 2
uip or machines create "serverless-pool" --serverless \
--unattended-slots 10
uip or machines create "qa-host" --unattended-slots 1 --testing-slots 2 \
--output-filter 'Key'
uip or machines create "local-worker" --agent-slots 2 --function-slots 2 \
--verticals-agent-slots 1 --execution-options RunVerticals
Slot counts and execution options
Every slot option takes a whole number, 0 or greater. 0 sets a slot count to zero. A negative or non-whole number fails before the request is sent.
Execution options
--execution-options sets how the machine runs non-RPA jobs:
| Value | Effect |
|---|---|
None | No extra execution options. |
AgentsOnUnattended | Function and API workflow jobs use the machine's Unattended slots. |
RunVerticals | The machine runs Vertical Solution legs on its vertical slots (--verticals-rpa-slots, --verticals-agent-slots, --verticals-function-slots). |
Values are matched case-insensitively and can also be comma-separated. AgentsOnUnattended and RunVerticals can be passed together to set both. None alongside another value is dropped. The value you pass replaces the current one, so on update, any option not passed is removed. The same rules apply to uip or machines update.
Data shape (--output json)
{
"Code": "MachineCreated",
"Data": {
"Name": "staging-worker",
"ID": 103,
"Key": "a1b2c3d4-0000-0000-0000-000000000010",
"Type": "Template",
"Scope": "Default",
"Description": "",
"UnattendedSlots": 2,
"HeadlessSlots": 0,
"NonProductionSlots": 0,
"TestAutomationSlots": 0,
"AgentSlots": 0,
"FunctionSlots": 0,
"VerticalsRpaSlots": 0,
"VerticalsAgentSlots": 0,
"VerticalsFunctionSlots": 0,
"ExecutionOptions": "None",
"LicenseKey": ""
}
}
{
"Code": "MachineCreated",
"Data": {
"Name": "staging-worker",
"ID": 103,
"Key": "a1b2c3d4-0000-0000-0000-000000000010",
"Type": "Template",
"Scope": "Default",
"Description": "",
"UnattendedSlots": 2,
"HeadlessSlots": 0,
"NonProductionSlots": 0,
"TestAutomationSlots": 0,
"AgentSlots": 0,
"FunctionSlots": 0,
"VerticalsRpaSlots": 0,
"VerticalsAgentSlots": 0,
"VerticalsFunctionSlots": 0,
"ExecutionOptions": "None",
"LicenseKey": ""
}
}
uip or machines update
Update a machine's name, description, or slot allocation. Only provided options are updated; omitted fields remain unchanged.
edit is a registered alias for this verb — uip or machines edit works identically to uip or machines update.
Arguments
| Name | Required | Purpose |
|---|---|---|
<machine-key> | yes | Machine key (GUID). |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
-n | --name | text | — | New machine name. |
-d | --description | text | — | New machine description. |
| — | --unattended-slots | number | — | Unattended robot slots. |
| — | --headless-slots | number | — | Headless robot slots. |
| — | --non-production-slots | number | — | Non-production robot slots. |
| — | --testing-slots | number | — | Test-automation robot slots. |
| — | --agent-slots | number | — | Agent jobs that can run in parallel on the machine's Local runtime. |
| — | --function-slots | number | — | Function and API workflow jobs that can run in parallel on the machine's Local runtime. |
| — | --verticals-rpa-slots | number | — | Local RPA slots reserved for Vertical Solution legs. Used only with --execution-options RunVerticals. |
| — | --verticals-agent-slots | number | — | Local Agent slots reserved for Vertical Solution legs. Used only with --execution-options RunVerticals. |
| — | --verticals-function-slots | number | — | Local Function slots reserved for Vertical Solution legs. Used only with --execution-options RunVerticals. |
| — | --execution-options | list | — | One or more of None, AgentsOnUnattended, and RunVerticals, space-separated. Replaces the machine's current value. Refer to Execution options. |
Examples
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 --unattended-slots 5
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 \
--name "staging-worker-eu" --description "EU staging host"
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 \
--unattended-slots 5 --output-filter 'Status'
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 \
--execution-options AgentsOnUnattended RunVerticals
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 --unattended-slots 5
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 \
--name "staging-worker-eu" --description "EU staging host"
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 \
--unattended-slots 5 --output-filter 'Status'
uip or machines update a1b2c3d4-0000-0000-0000-000000000010 \
--execution-options AgentsOnUnattended RunVerticals
Data shape (--output json)
{
"Code": "MachineUpdate",
"Data": {
"Key": "a1b2c3d4-0000-0000-0000-000000000010",
"Name": "staging-worker",
"Status": "Updated successfully"
}
}
{
"Code": "MachineUpdate",
"Data": {
"Key": "a1b2c3d4-0000-0000-0000-000000000010",
"Name": "staging-worker",
"Status": "Updated successfully"
}
}
uip or machines delete
Delete one or more machines. A single key uses DeleteById; multiple keys use the bulk API. Machines must be unassigned from all folders before deletion.
Arguments
| Name | Required | Purpose |
|---|---|---|
<machine-keys...> | yes | One or more machine keys (GUIDs). |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
-y | --yes | flag | — | Required. Confirms this irreversible operation — the CLI never prompts. |
Examples
uip or machines delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or machines delete key-1 key-2 key-3 --yes
uip or machines delete key-1 key-2 --yes --output-filter 'Count'
uip or machines delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or machines delete key-1 key-2 key-3 --yes
uip or machines delete key-1 key-2 --yes --output-filter 'Count'
Data shape (--output json)
{
"Code": "MachineDelete",
"Data": {
"Deleted": [
{ "Key": "a1b2c3d4-0000-0000-0000-000000000010", "Name": "staging-worker" }
],
"Count": 1,
"Status": "Deleted successfully"
}
}
{
"Code": "MachineDelete",
"Data": {
"Deleted": [
{ "Key": "a1b2c3d4-0000-0000-0000-000000000010", "Name": "staging-worker" }
],
"Count": 1,
"Status": "Deleted successfully"
}
}
uip or machines assign
Assign one or more machines to a folder. Requires --folder-path or --folder-key.
Arguments
| Name | Required | Purpose |
|---|---|---|
<machine-keys...> | yes | One or more machine keys (GUIDs). |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
| — | --folder-path | path | — | Target folder by path. |
| — | --folder-key | GUID | — | Target folder by key. |
Examples
uip or machines assign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared"
uip or machines assign key-1 key-2 --folder-key b1c2d3e4-0000-0000-0000-000000000001
uip or machines assign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared" --output-filter 'Status'
uip or machines assign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared"
uip or machines assign key-1 key-2 --folder-key b1c2d3e4-0000-0000-0000-000000000001
uip or machines assign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared" --output-filter 'Status'
Data shape (--output json)
{
"Code": "MachineAssign",
"Data": {
"MachineKeys": ["a1b2c3d4-0000-0000-0000-000000000001"],
"FolderPath": "Shared",
"Count": 1,
"Status": "Assigned successfully"
}
}
{
"Code": "MachineAssign",
"Data": {
"MachineKeys": ["a1b2c3d4-0000-0000-0000-000000000001"],
"FolderPath": "Shared",
"Count": 1,
"Status": "Assigned successfully"
}
}
uip or machines unassign
Remove machines from a folder. The machines are not deleted — only their folder assignment is removed. Requires --folder-path or --folder-key.
Arguments
| Name | Required | Purpose |
|---|---|---|
<machine-keys...> | yes | One or more machine keys (GUIDs). |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
| — | --folder-path | path | — | Folder to unassign from. |
| — | --folder-key | GUID | — | Folder to unassign from. |
Examples
uip or machines unassign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared"
uip or machines unassign key-1 key-2 --folder-path "Production"
uip or machines unassign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared" --output-filter 'Count'
uip or machines unassign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared"
uip or machines unassign key-1 key-2 --folder-path "Production"
uip or machines unassign a1b2c3d4-0000-0000-0000-000000000001 \
--folder-path "Shared" --output-filter 'Count'
Data shape (--output json)
{
"Code": "MachineUnassign",
"Data": {
"MachineKeys": ["a1b2c3d4-0000-0000-0000-000000000001"],
"FolderPath": "Shared",
"Count": 1,
"Status": "Unassigned successfully"
}
}
{
"Code": "MachineUnassign",
"Data": {
"MachineKeys": ["a1b2c3d4-0000-0000-0000-000000000001"],
"FolderPath": "Shared",
"Count": 1,
"Status": "Unassigned successfully"
}
}
Exit codes
See Exit codes. No verb-specific overrides.
Related commands
uip or folders— especiallyfolders runtimesto inspect machine allocation from the folder side.uip or licenses—licenses toggleenables/disables licensing on a specific machine.uip or jobs—jobs start --machine-keystargets specific machines.
See also
- Synopsis
- Verbs
- uip or machines list
- Options
- Examples
- Data shape (--output json)
- uip or machines get
- Arguments
- Options
- Examples
- Data shape (--output json)
- uip or machines create
- Arguments
- Options
- Examples
- Slot counts and execution options
- Data shape (--output json)
- uip or machines update
- Arguments
- Options
- Examples
- Data shape (--output json)
- uip or machines delete
- Arguments
- Options
- Examples
- Data shape (--output json)
- uip or machines assign
- Arguments
- Options
- Examples
- Data shape (--output json)
- uip or machines unassign
- Arguments
- Options
- Examples
- Data shape (--output json)
- Exit codes
- Related commands
- See also