- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- 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 agent escalation manages escalation resources on an agent project — the human-in-the-loop (HITL) hooks the agent can raise at runtime to request approval, clarification, or review from a human operator. Escalations are persisted alongside tools and contexts as agent resources.
Purely local — no login required.
Synopsis
uip agent escalation add <name> [--description <text>] [--type <type>] [--path <dir>]
uip agent escalation list [--path <dir>]
uip agent escalation remove <name> [--path <dir>]
uip agent escalation add <name> [--description <text>] [--type <type>] [--path <dir>]
uip agent escalation list [--path <dir>]
uip agent escalation remove <name> [--path <dir>]
All subcommands honor the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.
uip agent escalation add
Add an escalation resource.
Arguments
<name>(required) — Escalation name.
Options
| Flag | Default | Purpose |
|---|---|---|
--description <desc> | — | Human-readable description, stored on the resource. |
--type <type> | Escalation | Escalation type. Known values: Escalation, VsEscalation. Other values may be accepted — run uip agent escalation add --help for the current list. |
--path <path> | . | Path to the agent project directory. |
Examples
# Simplest — default Escalation type
uip agent escalation add ApprovalRequired --path ./my-agent
# With description
uip agent escalation add ApprovalRequired \
--description "Require human approval before executing refund" \
--path ./my-agent
# VsEscalation (Studio Desktop action-center flavour)
uip agent escalation add Review --type VsEscalation --path ./my-agent
# Simplest — default Escalation type
uip agent escalation add ApprovalRequired --path ./my-agent
# With description
uip agent escalation add ApprovalRequired \
--description "Require human approval before executing refund" \
--path ./my-agent
# VsEscalation (Studio Desktop action-center flavour)
uip agent escalation add Review --type VsEscalation --path ./my-agent
Data shape (--output json)
{
"Code": "AgentEscalationAdd",
"Data": {
"Status": "Escalation added",
"Name": "ApprovalRequired",
"Type": "Escalation",
"Id": "a1b2c3d4-0000-0000-0000-000000000020"
}
}
{
"Code": "AgentEscalationAdd",
"Data": {
"Status": "Escalation added",
"Name": "ApprovalRequired",
"Type": "Escalation",
"Id": "a1b2c3d4-0000-0000-0000-000000000020"
}
}
Id is a generated UUID. Use either Name or Id with escalation remove.
uip agent escalation list
Enumerate the escalation resources configured on the agent.
Options
| Flag | Default | Purpose |
|---|---|---|
--path <path> | . | Path to the agent project directory. |
Example
uip agent escalation list --path ./my-agent
uip agent escalation list --path ./my-agent
Data shape (--output json)
{
"Code": "AgentEscalationList",
"Data": [
{
"Name": "ApprovalRequired",
"Type": "Escalation",
"Id": "a1b2c3d4-0000-0000-0000-000000000020"
}
]
}
{
"Code": "AgentEscalationList",
"Data": [
{
"Name": "ApprovalRequired",
"Type": "Escalation",
"Id": "a1b2c3d4-0000-0000-0000-000000000020"
}
]
}
Empty projects return Data: { "Message": "No escalations configured" }.
uip agent escalation remove
Remove an escalation resource.
Arguments
<name>(required) — Escalation name or ID.
Options
| Flag | Default | Purpose |
|---|---|---|
--path <path> | . | Path to the agent project directory. |
Example
uip agent escalation remove ApprovalRequired --path ./my-agent
uip agent escalation remove ApprovalRequired --path ./my-agent
Data shape (--output json)
{
"Code": "AgentEscalationRemove",
"Data": {
"Status": "Escalation removed",
"Name": "ApprovalRequired"
}
}
{
"Code": "AgentEscalationRemove",
"Data": {
"Status": "Escalation removed",
"Name": "ApprovalRequired"
}
}
A missing escalation fails with Escalation "<name>" not found and exit code 1.
Related
uip agent tool— add tool resources the agent can invoke alongside escalations.uip agent context— RAG context resources.uip agent validate— verifies resource integrity after edits.
See also
- Concepts: skills — how escalations fit into the broader skill model.
- Global options, Exit codes.