uipath-cli
latest
false
- Información general
- Comience ya
- Conceptos
- Using UiPath CLI
- Guías prácticas
- CI/CD recipes
- Referencia de los comandos
- Información general
- Códigos de salida
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- Crear proyecto
- 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
- Migración
- Reference & support
UiPath CLI user guide
Última actualización 7 de may. de 2026
uip or attachments manages job attachments — files attached to jobs as input or output (screenshots, reports, data files). Attachments are tenant-scoped so no folder context is required for download. For upload, use jobs start --attachment or --attachment-id.
Synopsis
uip or attachments <verb> [options]
uip or attachments <verb> [options]
Verbs
| Verb | Propósito |
|---|---|
list | List attachments for a specific job. |
download | Download a single attachment by ID. |
uip or attachments list
List attachments for a job. Returns attachment ID, name, category (Input or Output), and creation timestamp. The verb resolves the job's folder context internally and calls the (unbatched) JobAttachments/GetByJobKey endpoint directly.
Opciones
| Corto | Largo | Valor | Predeterminado | Descripción |
|---|---|---|---|---|
| — | --job-key | GUID | obligatorio | Job key whose attachments to list. |
-t | --tenant | name | session default | Override the tenant. |
Ejemplos
uip or attachments list --job-key b2c3d4e5-0000-0000-0000-000000000001
uip or attachments list --job-key b2c3d4e5-0000-0000-0000-000000000001 \
--output-filter "Data[?Category=='Output'].AttachmentId"
uip or attachments list --job-key b2c3d4e5-0000-0000-0000-000000000001 --output table
uip or attachments list --job-key b2c3d4e5-0000-0000-0000-000000000001
uip or attachments list --job-key b2c3d4e5-0000-0000-0000-000000000001 \
--output-filter "Data[?Category=='Output'].AttachmentId"
uip or attachments list --job-key b2c3d4e5-0000-0000-0000-000000000001 --output table
Data shape (--output json)
{
"Code": "AttachmentList",
"Data": [
{
"AttachmentId": "a1b2c3d4-0000-0000-0000-000000000001",
"Name": "screenshot.png",
"Category": "Output",
"Created": "2025-04-15T10:32:00Z"
}
]
}
{
"Code": "AttachmentList",
"Data": [
{
"AttachmentId": "a1b2c3d4-0000-0000-0000-000000000001",
"Name": "screenshot.png",
"Category": "Output",
"Created": "2025-04-15T10:32:00Z"
}
]
}
uip or attachments download
Download a job attachment to local disk. The CLI uses DownloadAttachmentFile, which returns a 302 redirect to blob storage; the verb follows the redirect and writes the file to disk.
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<attachment-id> | Sí | Attachment ID (GUID). Find it with attachments list or from jobs get output. |
Opciones
| Corto | Largo | Valor | Predeterminado | Descripción |
|---|---|---|---|---|
-t | --tenant | name | session default | Override the tenant. |
-o | --output | Ruta | attachment-<id> | Output file path. |
Ejemplos
uip or attachments download a1b2c3d4-0000-0000-0000-000000000001 \
--output ./report.pdf
uip or attachments download a1b2c3d4-0000-0000-0000-000000000001 \
-o /tmp/screenshot.png
uip or attachments download a1b2c3d4-0000-0000-0000-000000000001 \
--output ./report.pdf --output-filter 'Data.Size'
uip or attachments download a1b2c3d4-0000-0000-0000-000000000001 \
--output ./report.pdf
uip or attachments download a1b2c3d4-0000-0000-0000-000000000001 \
-o /tmp/screenshot.png
uip or attachments download a1b2c3d4-0000-0000-0000-000000000001 \
--output ./report.pdf --output-filter 'Data.Size'
Data shape (--output json)
{
"Code": "AttachmentDownloaded",
"Data": {
"AttachmentId": "a1b2c3d4-0000-0000-0000-000000000001",
"FileName": "./report.pdf",
"Size": 204812
}
}
{
"Code": "AttachmentDownloaded",
"Data": {
"AttachmentId": "a1b2c3d4-0000-0000-0000-000000000001",
"FileName": "./report.pdf",
"Size": 204812
}
}
Códigos de salida
See Exit codes. No verb-specific overrides.
Related commands
uip or jobs—jobs start --attachment/--attachment-idto attach files when launching a job;jobs getsurfaces attachment references in its output.