UiPath Documentation
uipath-cli
latest
false
Guide de l'utilisateur de UiPath CLI
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

uip ah applications, components, documents, media, store-listings, store-reviews

Syntax and options for the Automation Hub application inventory, reusable components, attached documents/media, and the Automation Store marketplace (published listings and reviews).

The application inventory is what automations are tagged against (--application-id filters elsewhere reference it). Components are reusable building blocks, optionally scoped to one automation. Documents and media are files attached to an automation — a PDD, a screenshot, a demo video. The Automation Store is Automation Hub's internal marketplace: store-listings are published automations, store-reviews are the reviews left on them. See uip ah for shared concepts (projection/--all-fields, paged vs. unpaged lists) that apply to every verb here.

uip ah applications

Manage the application inventory that automations are tagged against.

Synthèse

uip ah applications list [--search <text>] [--category-id <id...>] [--limit <n>] [--offset <n>] [--all-fields]
uip ah applications update --file <json-file>
uip ah applications delete <application-id> [-y, --yes]
uip ah applications list [--search <text>] [--category-id <id...>] [--limit <n>] [--offset <n>] [--all-fields]
uip ah applications update --file <json-file>
uip ah applications delete <application-id> [-y, --yes]

uip ah applications list

Options
LongValeur (Value)Description
--search <text>stringFree-text search.
--category-id <id...>repeatableOnly applications in these categories.
--limit <n> / --offset <n>IntegerPaging. Default --limit 20.
--all-fieldsDrapeauReturn the raw payload.
Exemple
uip ah applications list
uip ah applications list
Format des données (--sortie json)
{
  "Code": "AhApplicationsList",
  "Data": [
    { "Id": 1, "Name": "SAP", "Version": "S/4HANA", "Language": null, "Code": "SAP", "IsActive": 1, "AddedByEndUser": 0, "CategoryIds": [4], "CreatedEpoch": 1735689600000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}
{
  "Code": "AhApplicationsList",
  "Data": [
    { "Id": 1, "Name": "SAP", "Version": "S/4HANA", "Language": null, "Code": "SAP", "IsActive": 1, "AddedByEndUser": 0, "CategoryIds": [4], "CreatedEpoch": 1735689600000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}

uip ah applications update

Update existing applications in the inventory from a file. This edits entries that already exist — it cannot add one, because the service requires an application_id on every element.

Options
LongValeur (Value)RequisDescription
--file <json-file>Chemin d'accèsouiJSON array of applications to update. Each element needs application_id and categoryIds — take the shape from applications list --all-fields.
Exemple
uip ah applications update --file ./applications.json
uip ah applications update --file ./applications.json
Format des données (--sortie json)
{ "Code": "AhApplicationsUpdate", "Data": { "Status": "Updated" } }
{ "Code": "AhApplicationsUpdate", "Data": { "Status": "Updated" } }

uip ah applications delete

Arguments
NomRequisObjectif
<application-id>ouiApplication id.
Options
LongDescription
-y, --yesConfirm this irreversible operation. Required — the CLI never prompts.
Exemple
uip ah applications delete 7 --yes
uip ah applications delete 7 --yes
Format des données (--sortie json)
{ "Code": "AhApplicationsDelete", "Data": { "Id": 7, "Status": "Deleted" } }
{ "Code": "AhApplicationsDelete", "Data": { "Id": 7, "Status": "Deleted" } }

uip ah components

Read reusable components, tenant-wide or per automation. Read-only — there is no create/update/delete on this surface.

uip ah components list

Options
LongValeur (Value)Description
--automation-id <id>IntegerScope to the components attached to this automation — a separate endpoint that takes no other filters.
--type <type>stringOnly this component type. Cannot combine with --automation-id.
--category-id <id...>repeatableOnly these categories. Cannot combine with --automation-id.
--application-id <id...>repeatableOnly components using these applications. Cannot combine with --automation-id.
--limit <n> / --offset <n>IntegerPaging. Default --limit 20.
--all-fieldsDrapeauReturn the raw payload.

--type/--category-id/--application-id combined with --automation-id fails client-side — the per-automation list is a different endpoint that takes no filters.

Exemples
uip ah components list
uip ah components list
uip ah components list --automation-id 20
uip ah components list --automation-id 20
Format des données (--sortie json)
{
  "Code": "AhComponentsList",
  "Data": [
    { "Id": 3, "Name": "Invoice parser", "Slug": "invoice-parser", "Description": "...", "TypeId": 1, "ReviewCount": 4, "ReviewAverage": 4.5, "DownloadCount": 12, "StatusId": 1, "PhaseId": 3, "UpdatedEpoch": 1738368000000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}
{
  "Code": "AhComponentsList",
  "Data": [
    { "Id": 3, "Name": "Invoice parser", "Slug": "invoice-parser", "Description": "...", "TypeId": 1, "ReviewCount": 4, "ReviewAverage": 4.5, "DownloadCount": 12, "StatusId": 1, "PhaseId": 3, "UpdatedEpoch": 1738368000000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}

uip ah documents

Manage the documents attached to an automation.

uip ah documents list

Arguments
NomRequisObjectif
<automation-id>ouiAutomation id.
Options
LongDescription
--limit <n> / --offset <n>Paging. Default --limit 20.
--all-fieldsReturn the raw payload.
Exemple
uip ah documents list 20
uip ah documents list 20
Format des données (--sortie json)
{
  "Code": "AhDocumentsList",
  "Data": [
    { "Id": 11, "AutomationId": 20, "Title": "PDD", "Description": "...", "TypeId": 1, "FileId": 42, "FileType": "docx", "EmbedLink": null, "IsActive": 1, "CreatedEpoch": 1735689600000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}
{
  "Code": "AhDocumentsList",
  "Data": [
    { "Id": 11, "AutomationId": 20, "Title": "PDD", "Description": "...", "TypeId": 1, "FileId": 42, "FileType": "docx", "EmbedLink": null, "IsActive": 1, "CreatedEpoch": 1735689600000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}

FileId is what documents download takes.

uip ah documents create

Attach a document to an automation — upload the file's bytes with --file, or link to it with --embed-link (exactly one of the two).

Arguments
NomRequisObjectif
<automation-id>ouiAutomation id.
Options
LongValeur (Value)RequisDescription
--title <text>stringouiDocument title.
--description <text>stringouiDocument description.
--document-type-id <id>IntegerouiDocument type id.
--file <path>Chemin d'accèsconditionallyLocal document file to upload. Exactly one of --file/--embed-link is required. No server-side mimetype allowlist — unrecognized extensions upload as application/octet-stream.
--embed-link <url>urlconditionallyLink to an already-hosted document. Exactly one of --file/--embed-link is required.
--submitter <email>E-mailnonEmail of the submitting Automation Hub user. Defaults to the caller.
Exemples
uip ah documents create 20 --title "Process definition" --description "PDD v2" --document-type-id 1 --file ./pdd.docx
uip ah documents create 20 --title "Process definition" --description "PDD v2" --document-type-id 1 --file ./pdd.docx
uip ah documents create 20 --title "Process definition" --description "PDD v2" --document-type-id 1 --embed-link https://acme.sharepoint.com/pdd.docx
uip ah documents create 20 --title "Process definition" --description "PDD v2" --document-type-id 1 --embed-link https://acme.sharepoint.com/pdd.docx
Format des données (--sortie json)
{ "Code": "AhDocumentsCreate", "Data": { "AutomationId": 20, "Id": 11, "Title": "Process definition", "FileId": 42, "File": "pdd.docx" } }
{ "Code": "AhDocumentsCreate", "Data": { "AutomationId": 20, "Id": 11, "Title": "Process definition", "FileId": 42, "File": "pdd.docx" } }

With --embed-link, Data carries EmbedLink instead of FileId/File.

uip ah documents download

Arguments
NomRequisObjectif
<file-id>ouiFile id — the FileId from documents list <automation-id>.
Options
LongValeur (Value)RequisDescription
--destination <path>Chemin d'accèsouiLocal path to write the file to.
Exemple
uip ah documents download 42 --destination ./pdd.pdf
uip ah documents download 42 --destination ./pdd.pdf
Format des données (--sortie json)
{ "Code": "AhDocumentsDownload", "Data": { "FileId": 42, "Destination": "./pdd.pdf", "Bytes": 20481, "ContentType": "application/pdf" } }
{ "Code": "AhDocumentsDownload", "Data": { "FileId": 42, "Destination": "./pdd.pdf", "Bytes": 20481, "ContentType": "application/pdf" } }

uip ah media

Attach media (screenshots, video) to an automation. Separate from documents — its own upload endpoint, and there's no list or delete.

uip ah media create

Arguments
NomRequisObjectif
<automation-id>ouiAutomation id.
Options
LongValeur (Value)RequisDescription
--file <path>Chemin d'accèsouiLocal media file to upload — jpg, jpeg, png, gif, or mp4 only; any other extension is rejected client-side.
--submitter <email>E-mailnonEmail of the submitting Automation Hub user. Defaults to the caller.
Exemple
uip ah media create 20 --file ./screen.png
uip ah media create 20 --file ./screen.png
Format des données (--sortie json)
{ "Code": "AhMediaCreate", "Data": { "Id": 7, "MediaFileId": 501, "AutomationId": 20, "File": "screen.png" } }
{ "Code": "AhMediaCreate", "Data": { "Id": 7, "MediaFileId": 501, "AutomationId": 20, "File": "screen.png" } }

uip ah store-listings

Read the automations published to the Automation Store. Read-only.

uip ah store-listings list

Options
LongValeur (Value)Description
--search <text>stringFree-text search.
--category-id <id...>repeatableOnly these categories.
--application-id <id...>repeatableOnly listings using these applications.
--business-unit <name>stringOnly this business unit.
--plain-textDrapeauConvert rich-text fields to plain text.
--limit <n> / --offset <n>IntegerPaging. Default --limit 20.
--all-fieldsDrapeauReturn the raw payload.
Exemple
uip ah store-listings list
uip ah store-listings list
Format des données (--sortie json)
{
  "Code": "AhStoreListingsList",
  "Data": [
    { "Id": 20, "Name": "Invoice intake", "Slug": "invoice-intake", "ReviewCount": 4, "ReviewScore": 4.2, "DownloadCount": 4, "VoteCount": 9, "IsPublished": 1, "BusinessUnit": "EMEA", "UpdatedEpoch": 1738368000000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}
{
  "Code": "AhStoreListingsList",
  "Data": [
    { "Id": 20, "Name": "Invoice intake", "Slug": "invoice-intake", "ReviewCount": 4, "ReviewScore": 4.2, "DownloadCount": 4, "VoteCount": 9, "IsPublished": 1, "BusinessUnit": "EMEA", "UpdatedEpoch": 1738368000000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}

uip ah store-reviews

Read the Automation Store reviews on an automation. Its own resource group rather than a verb under store-listings. Read-only.

uip ah store-reviews list

Arguments
NomRequisObjectif
<automation-id>ouiAutomation id — must be published to the store.
Options
LongDescription
--limit <n> / --offset <n>Paging. Default --limit 20.
--all-fieldsReturn the raw payload.
Exemple
uip ah store-reviews list 20
uip ah store-reviews list 20
Format des données (--sortie json)
{
  "Code": "AhStoreReviewsList",
  "Data": [
    { "Id": 5, "AutomationId": 20, "Score": 5, "Title": "Great automation", "Description": "...", "UserId": 3, "CreatedEpoch": 1735689600000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}
{
  "Code": "AhStoreReviewsList",
  "Data": [
    { "Id": 5, "AutomationId": 20, "Score": 5, "Title": "Great automation", "Description": "...", "UserId": 3, "CreatedEpoch": 1735689600000 }
  ],
  "Pagination": { "Returned": 1, "Limit": 20, "Offset": 0 }
}

Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour