uipath-cli
latest
false
- 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
Last updated May 7, 2026
uip api-workflow build compiles an API Workflow project without packaging it. Use it as a fast type/syntax gate in CI or inner-loop iteration; reach for uip api-workflow pack when you also need a .nupkg.
Synopsis
uip api-workflow build <projectPath>
uip api-workflow build <projectPath>
<projectPath>— path to the API Workflow project directory or.uipfile.
Options
build takes no options beyond --help. Customize package metadata or signing through uip api-workflow pack instead.
Examples
# Build a project — fail the step on any compile error
uip api-workflow build ./my-workflow
# Capture the JSON result for downstream pipeline steps
uip api-workflow build ./my-workflow --output json
# Build a project — fail the step on any compile error
uip api-workflow build ./my-workflow
# Capture the JSON result for downstream pipeline steps
uip api-workflow build ./my-workflow --output json
Data shape (--output json)
{
"Code": "ApiWorkflowBuild",
"Data": { "Success": true }
}
{
"Code": "ApiWorkflowBuild",
"Data": { "Success": true }
}
On a compile failure, the tool exits with code 1 and emits a Failure result with build diagnostics in Instructions.
When to use build vs pack
| Use case | Command |
|---|---|
| Validate a project compiles in CI before merging | uip api-workflow build |
Produce a .nupkg for upload | uip api-workflow pack |
| Execute the workflow locally for a smoke test | uip api-workflow run |
Related
- uip api-workflow pack — build and package into a
.nupkg. - uip api-workflow run — execute the workflow locally.