UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

uip conversational exchanges, messages, trunks, user-settings

Syntax and options for conversation history and feedback (exchanges, messages), voice-channel routing (trunks), and profile settings (user-settings) under `uip conversational`.

Part of the uip conversational tool. This page covers four command groups: exchanges and messages read a conversation's history and let you rate exchanges; trunks manages the SIP phone numbers a voice-enabled conversational agent answers or dials from; user-settings manages the current user's conversational profile. None of these create or drive a conversation — see the parent page for chat, agents, and conversations.

概念

  • Exchange — one request/response round-trip within a conversation: a user message in, an assistant message (with content parts, tool calls, citations) out. chat (on the parent page) drives exchanges live; this page's exchanges/messages verbs read them back afterward.
  • Message → content part — a message is a container for one or more content parts (text/markdown chunks, tool-call records). messages get-content-part fetches one part directly; if the direct lookup fails, the CLI falls back to fetching the parent message and searching its contentParts array before giving up.
  • Trunk — a SIP phone number connected in Instance Management under Phone numbers. Outbound-enabled trunks are dialed from by a voice flow's "Create outgoing call" activity; inbound-enabled trunks route incoming calls to a published Flow process release via trunks assign.

概要

uip conversational exchanges list <conversation-id> [--limit <n>] [--exchange-sort <order>] [--message-sort <order>] [--cursor <token>]
uip conversational exchanges get <conversation-id> <exchange-id> [--message-sort <order>]
uip conversational exchanges feedback <conversation-id> <exchange-id> --rating positive|negative [--comment <text>]
uip conversational messages get <conversation-id> <exchange-id> <message-id>
uip conversational messages get-content-part <conversation-id> <exchange-id> <message-id> <content-part-id>
uip conversational trunks list [--direction inbound|outbound]
uip conversational trunks assign <trunk> [--process-key <key> --folder-key <key> [--entry-point <id>] | --clear] [-y]
uip conversational user-settings get
uip conversational user-settings update [--name <name>] [--email <email>] [--role <role>] [--department <department>] [--company <company>] [--country <country>] [--timezone <timezone>]
uip conversational exchanges list <conversation-id> [--limit <n>] [--exchange-sort <order>] [--message-sort <order>] [--cursor <token>]
uip conversational exchanges get <conversation-id> <exchange-id> [--message-sort <order>]
uip conversational exchanges feedback <conversation-id> <exchange-id> --rating positive|negative [--comment <text>]
uip conversational messages get <conversation-id> <exchange-id> <message-id>
uip conversational messages get-content-part <conversation-id> <exchange-id> <message-id> <content-part-id>
uip conversational trunks list [--direction inbound|outbound]
uip conversational trunks assign <trunk> [--process-key <key> --folder-key <key> [--entry-point <id>] | --clear] [-y]
uip conversational user-settings get
uip conversational user-settings update [--name <name>] [--email <email>] [--role <role>] [--department <department>] [--company <company>] [--country <country>] [--timezone <timezone>]

uip conversational exchanges

Retrieve and give feedback on conversation exchanges.

uip conversational exchanges list

引数
名前Required目的
<conversation-id>Conversation UUID.
オプション
長押し値 (Value)説明
--limit <number>positive integerExchanges per page.
--exchange-sort <order>ascending|descendingSort order for exchanges.
--message-sort <order>ascending|descendingSort order for messages within each exchange.
--cursor <token>stringPagination cursor for the next page.
uip conversational exchanges list b2c3d4e5-0000-0000-0000-000000000001 --limit 20
uip conversational exchanges list b2c3d4e5-0000-0000-0000-000000000001 --limit 20
データシェイプ(--output json)
{
  "Result": "Success",
  "Code": "ExchangeList",
  "Data": {
    "items": [{ "id": "e1e2e3e4-0000-0000-0000-000000000001", "...": "raw exchange record" }],
    "nextCursor": null
  }
}
{
  "Result": "Success",
  "Code": "ExchangeList",
  "Data": {
    "items": [{ "id": "e1e2e3e4-0000-0000-0000-000000000001", "...": "raw exchange record" }],
    "nextCursor": null
  }
}

uip conversational exchanges get

引数
名前Required目的
<conversation-id>Conversation UUID.
<exchange-id>Exchange UUID.
オプション
長押し値 (Value)説明
--message-sort <order>ascending|descendingSort order for messages in the returned exchange.
uip conversational exchanges get b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001
uip conversational exchanges get b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001
データシェイプ(--output json)
{ "Result": "Success", "Code": "Exchange", "Data": { "id": "e1e2e3e4-0000-0000-0000-000000000001", "messages": [] } }
{ "Result": "Success", "Code": "Exchange", "Data": { "id": "e1e2e3e4-0000-0000-0000-000000000001", "messages": [] } }

uip conversational exchanges feedback

引数
名前Required目的
<conversation-id>Conversation UUID.
<exchange-id>Exchange UUID.
オプション
長押し値 (Value)Required説明
--rating <rating>positive|negativeFeedback rating. Any other value fails client-side before any network call.
--comment <comment>string×Optional feedback comment.
uip conversational exchanges feedback b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001 --rating positive --comment "Resolved quickly"
uip conversational exchanges feedback b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001 --rating positive --comment "Resolved quickly"
データシェイプ(--output json)
{ "Result": "Success", "Code": "FeedbackCreated", "Data": { "rating": "positive", "comment": "Resolved quickly" } }
{ "Result": "Success", "Code": "FeedbackCreated", "Data": { "rating": "positive", "comment": "Resolved quickly" } }

uip conversational messages

Retrieve conversation messages and their content parts.

uip conversational messages get

引数
名前Required目的
<conversation-id>Conversation UUID.
<exchange-id>Exchange UUID.
<message-id>Message UUID.
uip conversational messages get b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001 f1f2f3f4-0000-0000-0000-000000000001
uip conversational messages get b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001 f1f2f3f4-0000-0000-0000-000000000001
データシェイプ(--output json)
{ "Result": "Success", "Code": "Message", "Data": { "id": "f1f2f3f4-0000-0000-0000-000000000001", "contentParts": [] } }
{ "Result": "Success", "Code": "Message", "Data": { "id": "f1f2f3f4-0000-0000-0000-000000000001", "contentParts": [] } }

uip conversational messages get-content-part

引数
名前Required目的
<conversation-id>Conversation UUID.
<exchange-id>Exchange UUID.
<message-id>Message UUID.
<content-part-id>Content part UUID.

If the direct content-part lookup fails, the CLI automatically retries by fetching the parent message and searching its contentParts array for a matching id or contentPartId before reporting an error.

uip conversational messages get-content-part b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001 f1f2f3f4-0000-0000-0000-000000000001 a1a2a3a4-0000-0000-0000-000000000001
uip conversational messages get-content-part b2c3d4e5-0000-0000-0000-000000000001 e1e2e3e4-0000-0000-0000-000000000001 f1f2f3f4-0000-0000-0000-000000000001 a1a2a3a4-0000-0000-0000-000000000001
データシェイプ(--output json)
{ "Result": "Success", "Code": "ContentPart", "Data": { "id": "a1a2a3a4-0000-0000-0000-000000000001", "isText": true, "data": "..." } }
{ "Result": "Success", "Code": "ContentPart", "Data": { "id": "a1a2a3a4-0000-0000-0000-000000000001", "isText": true, "data": "..." } }

uip conversational trunks

Inspect and route the tenant's SIP trunks (phone numbers) configured for conversational voice.

uip conversational trunks list

オプション
長押し値 (Value)説明
--direction <direction>inbound|outboundOnly trunks enabled for this call direction. Omit to list every trunk. Any other value fails client-side.
uip conversational trunks list --direction inbound
uip conversational trunks list --direction inbound
データシェイプ(--output json)
{
  "Result": "Success",
  "Code": "SipTrunkList",
  "Data": [
    { "id": "t1t2t3t4-0000-0000-0000-000000000001", "phoneNumber": "+18334815468", "inboundEnabled": true, "outboundEnabled": false, "processKey": null }
  ]
}
{
  "Result": "Success",
  "Code": "SipTrunkList",
  "Data": [
    { "id": "t1t2t3t4-0000-0000-0000-000000000001", "phoneNumber": "+18334815468", "inboundEnabled": true, "outboundEnabled": false, "processKey": null }
  ]
}

uip conversational trunks assign

Route a trunk's inbound calls to a published Flow process release, or clear the routing with --clear. The process must be a deployed Flow release whose flow starts from an Incoming call trigger; when the flow has exactly one such trigger, --entry-point can be omitted and is resolved automatically — when it has more than one, --entry-point is required and the command fails listing the valid IDs.

引数
名前Required目的
<trunk>Trunk ID (GUID) or its phone number in E.164 form (e.g. +18334815468).
オプション
長押し値 (Value)説明
--process-key <key>GUIDOrchestrator release key of the deployed Flow process (uip or processes list shows it as Key). Required unless --clear.
--folder-key <key>GUIDKey of the Orchestrator folder the release lives in. Required unless --clear.
--entry-point <id>stringIncoming-call entry point ID inside the flow package. Resolved automatically when the flow has exactly one; required (and validated against the release's real entry points) otherwise.
--clearフラグRemove the trunk's inbound process routing. Mutually exclusive with --process-key/--folder-key/--entry-point — combining them fails client-side.
-y, --yesフラグConfirm re-routing or clearing a trunk that already has inbound routing. Required in that case — the CLI never prompts.

Validation order: --clear vs. the process/folder pair is checked first; then the trunk must actually be inboundEnabled (a routing attempt on an outbound-only trunk fails, pointing at trunks list --direction inbound); then, if the trunk already has a binding, -y is required; then the release's real Incoming-call entry points are listed from the platform and validated against --entry-point (or auto-resolved) before the binding is written — the write is all-or-nothing.

# Auto-resolve the entry point (release has exactly one Incoming call trigger)
uip conversational trunks assign +18334815468 --process-key 9e4b2f17-7c3a-4d81-b592-3f6e8a1d5c09 --folder-key a9f3b2c1-7d4e-4a8b-9c2f-5e1d3b6a8f7e

# Clear inbound routing on a bound trunk
uip conversational trunks assign +18334815468 --clear -y
# Auto-resolve the entry point (release has exactly one Incoming call trigger)
uip conversational trunks assign +18334815468 --process-key 9e4b2f17-7c3a-4d81-b592-3f6e8a1d5c09 --folder-key a9f3b2c1-7d4e-4a8b-9c2f-5e1d3b6a8f7e

# Clear inbound routing on a bound trunk
uip conversational trunks assign +18334815468 --clear -y
データシェイプ(--output json)
{
  "Result": "Success",
  "Code": "SipTrunkAssign",
  "Data": { "id": "t1t2t3t4-0000-0000-0000-000000000001", "phoneNumber": "+18334815468", "processKey": "9e4b2f17-7c3a-4d81-b592-3f6e8a1d5c09", "folderKey": "a9f3b2c1-7d4e-4a8b-9c2f-5e1d3b6a8f7e", "entryPoint": "..." }
}
{
  "Result": "Success",
  "Code": "SipTrunkAssign",
  "Data": { "id": "t1t2t3t4-0000-0000-0000-000000000001", "phoneNumber": "+18334815468", "processKey": "9e4b2f17-7c3a-4d81-b592-3f6e8a1d5c09", "folderKey": "a9f3b2c1-7d4e-4a8b-9c2f-5e1d3b6a8f7e", "entryPoint": "..." }
}

--clear writes { processKey: null, folderKey: null, entryPoint: null }.

uip conversational user-settings

Manage the current user's conversational profile settings.

uip conversational user-settings get

No options beyond globals.

uip conversational user-settings get
uip conversational user-settings get
データシェイプ(--output json)
{
  "Result": "Success",
  "Code": "UserSettings",
  "Data": { "name": "Jane Doe", "email": "jane@example.com", "role": "Support Lead", "department": "Support", "company": "Acme", "country": "US", "timezone": "America/New_York" }
}
{
  "Result": "Success",
  "Code": "UserSettings",
  "Data": { "name": "Jane Doe", "email": "jane@example.com", "role": "Support Lead", "department": "Support", "company": "Acme", "country": "US", "timezone": "America/New_York" }
}

uip conversational user-settings update

At least one option is required — omitting all seven fails client-side before any network call.

オプション
長押し値 (Value)説明
--name <name>stringUser name.
--email <email>stringを割り当てられました。
--role <role>stringUser role.
--department <department>stringDepartment.
--company <company>stringCompany.
--country <country>stringCountry.
--timezone <timezone>stringTimezone.
uip conversational user-settings update --timezone "America/Los_Angeles"
uip conversational user-settings update --timezone "America/Los_Angeles"
データシェイプ(--output json)

Same shape as get's response, Code: "UserSettingsUpdated".

参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得