CLI を使い始める

brands

@orchestor-inc/cli のコマンドリファレンスです。

ブランド一覧とブランドプロフィールは同じ /v1/brands リソースを使います。自社ブランドは --relation owned で取得し、返却されたブランド ID を get と update に渡します。ワークスペース ID とブランド ID は別の ID です。

画面の項目更新フィールド/フラグ
説明notes / --notes
業界industry / --industry
ブランドアイデンティティtags / --tags
プロダクトとサービスofferings / --offerings
オーディエンス配分audience / --audience
ブランド名・表示名name・display_name
ドメイン・別名domain・domains・aliases
表示色・アイコンcolor_token・color_hex・identity_kind・icon_token・emoji・image_file_id

update は指定した項目だけを変更します。配列は項目全体の置き換えです。audience は id、label、description、percentage、enabled を持つ JSON 配列です。長い説明や配列は --stdin < brand-profile.patch.json で渡せます。既存の対象者 ID を保持し、有効な対象者の割合を合計100%にします。

具体的な編集手順はブランド情報を整えるを参照してください。

コマンド一覧

  • orc brands list — List AI Search brands
  • orc brands create — Create AI Search brand
  • orc brands suggestions list — List brand suggestions
  • orc brands suggestions refresh — Generate brand suggestions
  • orc brands suggestions generations get — Get brand suggestion generation
  • orc brands suggestions accept — Accept a brand suggestion
  • orc brands suggestions reject — Reject a brand suggestion
  • orc brands get — Get AI Search brand
  • orc brands update — Update AI Search brand
  • orc brands delete — Soft-delete AI Search brand

orc brands list

List AI Search brands

構文

orc brands list [flags]

フラグ

フラグ型必須説明
--relationstringいいえFilter by relation. When omitted, owned and direct_competitor are returned by default.; enum: owned|direct_competitor|indirect_competitor|ignored
--limitnumberいいえMaximum number of items to return
--cursorstringいいえOpaque cursor for the next page

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

互換エイリアス

  • orc brand list

ヘルプ

orc brands list --help

orc brands create

Create AI Search brand

構文

orc brands create [flags]

フラグ

フラグ型必須説明
--idempotency-keystringいいえUnique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier.
--namestringいいえ(required) Human-readable brand name.; max 255 chars
--domainstringいいえ(required) Primary domain. On create, a Domain entity with role: primary is auto-created and linked via Domain.brand_id.; max 255 chars
--relationstringいいえSingle-axis brand relation. Intent-specific labels can be reserved in tags using intent:* when needed.; enum: owned|direct_competitor|indirect_competitor|ignored
--tagsstringいいえBody field: tags; csv
--logo-urlstringいいえOptional logo URL.; (use "null" or "reset" to clear)
--display-namestringいいえOptional display name distinct from name.; (use "null" or "reset" to clear)
--industrystringいいえOptional industry tag.; (use "null" or "reset" to clear)
--statusstringいいえLifecycle status. Defaults to active; disabled preserves history and stops future execution.; enum: active|disabled
--domainsstringいいえOptional full URL registry; first value becomes domain.; csv
--aliasesstringいいえAlternate brand names used for matching.; csv
--color-hexstringいいえOptional UI color token in; (use "null" or "reset" to clear)
--color-tokenstringいいえCanonical identity color token.; enum: default|gray|brown|orange|yellow|green|blue|purple|pink|red
--identity-kindstringいいえActive identity presentation mode.; enum: color|initial|icon|emoji|image
--icon-tokenstringいいえIcon token reference when identity_kind=icon.; (use "null" or "reset" to clear)
--emojistringいいえEmoji glyph when identity_kind=emoji.; (use "null" or "reset" to clear)
--image-file-idstringいいえFile ID reference when identity_kind=image.; (use "null" or "reset" to clear)
--notesstringいいえFree-form operator notes for this brand.; (use "null" or "reset" to clear)
--regex-patternstringいいえOptional advanced matching regex.; (use "null" or "reset" to clear)
--offeringsstringいいえCustomer-visible products, services, solutions, or packages offered by the Brand.; csv
--audiencestringいいえInitial Brand Profile audience composition.; JSON array of objects (use --stdin for large resources)
--profile-suggestion-decisionsstringいいえBody field: profile_suggestion_decisions; (JSON object, e.g. '{"custom_id":"x"}')

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

互換エイリアス

  • orc brand create

ヘルプ

orc brands create --help

orc brands suggestions list

List brand suggestions

構文

orc brands suggestions list [flags]

フラグ

フラグ型必須説明
--statusstringいいえenum: pending|accepted|rejected
--limitnumberいいえMaximum number of items to return
--cursorstringいいえOpaque cursor for the next page

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

互換エイリアス

  • orc brand suggestion-list

ヘルプ

orc brands suggestions list --help

orc brands suggestions refresh

Generate brand suggestions

構文

orc brands suggestions refresh [flags]

フラグ

フラグ型必須説明
--idempotency-keystringいいえUnique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier.
--waitbooleanいいえWait for an asynchronous operation to finish and print its result
--timeoutstringいいえMaximum wait duration (for example 30s or 5m)
--poll-intervalstringいいえDelay between status requests (default: 5s) 既定値: 5s

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

ヘルプ

orc brands suggestions refresh --help

orc brands suggestions generations get

Get brand suggestion generation

構文

orc brands suggestions generations get <id> [flags]

引数

引数必須説明
idはいPath parameter: id

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

ヘルプ

orc brands suggestions generations get --help

orc brands suggestions accept

Accept a brand suggestion

構文

orc brands suggestions accept <id> [flags]

引数

引数必須説明
idはいPath parameter: id

フラグ

フラグ型必須説明
--idempotency-keystringいいえUnique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier.
--edit-namestringいいえBody field: edit_name; max 255 chars
--relationstringいいえSingle-axis brand relation. Intent-specific labels can be reserved in tags using intent:* when needed.; enum: owned|direct_competitor|indirect_competitor|ignored

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

ヘルプ

orc brands suggestions accept --help

orc brands suggestions reject

Reject a brand suggestion

構文

orc brands suggestions reject <id> [flags]

引数

引数必須説明
idはいPath parameter: id

フラグ

フラグ型必須説明
--idempotency-keystringいいえUnique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier.

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

ヘルプ

orc brands suggestions reject --help

orc brands get

Get AI Search brand

構文

orc brands get <id> [flags]

引数

引数必須説明
idはいBrand ID.

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

互換エイリアス

  • orc brand get

ヘルプ

orc brands get --help

orc brands update

Update AI Search brand

構文

orc brands update <id> [flags]

引数

引数必須説明
idはいPath parameter: id

フラグ

フラグ型必須説明
--namestringいいえBody field: name; max 255 chars
--domainstringいいえBody field: domain; max 255 chars
--relationstringいいえSingle-axis brand relation. Intent-specific labels can be reserved in tags using intent:* when needed.; enum: owned|direct_competitor|indirect_competitor|ignored
--tagsstringいいえBody field: tags; csv
--logo-urlstringいいえBody field: logo_url; (use "null" or "reset" to clear)
--display-namestringいいえBody field: display_name; (use "null" or "reset" to clear)
--industrystringいいえBody field: industry; (use "null" or "reset" to clear)
--statusstringいいえLifecycle transition. disabled preserves history and stops future execution; returning to active does not backfill the disabled interval.; enum: active|disabled
--domainsstringいいえBody field: domains; csv
--aliasesstringいいえBody field: aliases; csv
--color-hexstringいいえBody field: color_hex; (use "null" or "reset" to clear)
--notesstringいいえBody field: notes; (use "null" or "reset" to clear)
--regex-patternstringいいえBody field: regex_pattern; (use "null" or "reset" to clear)
--color-tokenstringいいえ表示色のトークン。値は --help を参照
--identity-kindstringいいえcolor・initial・icon・emoji・image
--icon-tokenstringいいえアイコンのトークン。null で解除
--emojistringいいえ表示する絵文字。null で解除
--image-file-idstringいいえアップロード済み画像のファイル ID。null で解除
--offeringsstringいいえプロダクト・サービスの完全な一覧。CSV。カンマを含む値は --stdin の JSON 配列で指定
--audiencestringいいえオーディエンスの完全な JSON 配列。最大20件
--profile-suggestion-decisionsstringいいえ提案の判断を保存する JSON オブジェクト。値は accepted・rejected

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

互換エイリアス

  • orc brand update

ヘルプ

orc brands update --help

orc brands delete

Soft-delete AI Search brand

構文

orc brands delete <id> [flags]

引数

引数必須説明
idはいPath parameter: id

出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。

互換エイリアス

  • orc brand delete

ヘルプ

orc brands delete --help