CLI を使い始める

topics

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

コマンド一覧

  • orc topics list — List AI Search topics in project
  • orc topics create — Create AI Search topic
  • orc topics get — Get AI Search topic
  • orc topics update — Update AI Search topic
  • orc topics delete — Soft-delete AI Search topic
  • orc topics suggestions list — List topic suggestions
  • orc topics suggestions refresh — Generate topic suggestions
  • orc topics suggestions generations get — Get topic suggestion generation
  • orc topics suggestions accept — Accept a topic suggestion (promote to topic)
  • orc topics suggestions reject — Reject a topic suggestion

orc topics list

List AI Search topics in project

構文

orc topics list [flags]

フラグ

フラグ型必須説明
--brand-idstringいいえOptional AI Search Brand ID filter.
--limitnumberいいえMaximum number of items to return
--cursorstringいいえOpaque cursor for the next page

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

互換エイリアス

  • orc topic list

ヘルプ

orc topics list --help

orc topics create

Create AI Search topic

構文

orc topics 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) Topic name.; max 255 chars
--brand-idstringいいえOptional brand association. Required by the current storage model until nullable project-only topics are enabled.

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

ヘルプ

orc topics create --help

orc topics get

Get AI Search topic

構文

orc topics get <id> [flags]

引数

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

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

互換エイリアス

  • orc topic get

ヘルプ

orc topics get --help

orc topics update

Update AI Search topic

構文

orc topics update <id> [flags]

引数

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

フラグ

フラグ型必須説明
--namestringいいえBody field: name; max 255 chars

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

互換エイリアス

  • orc topic update

ヘルプ

orc topics update --help

orc topics delete

Soft-delete AI Search topic

構文

orc topics delete <id> [flags]

引数

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

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

互換エイリアス

  • orc topic delete

ヘルプ

orc topics delete --help

orc topics suggestions list

List topic suggestions

構文

orc topics suggestions list [flags]

フラグ

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

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

互換エイリアス

  • orc topic suggestion-list

ヘルプ

orc topics suggestions list --help

orc topics suggestions refresh

Generate topic suggestions

構文

orc topics 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 topics suggestions refresh --help

orc topics suggestions generations get

Get topic suggestion generation

構文

orc topics suggestions generations get <id> [flags]

引数

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

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

ヘルプ

orc topics suggestions generations get --help

orc topics suggestions accept

Accept a topic suggestion (promote to topic)

構文

orc topics 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.
--brand-idstringいいえOverride target brand
--edit-namestringいいえBody field: edit_name; max 255 chars

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

ヘルプ

orc topics suggestions accept --help

orc topics suggestions reject

Reject a topic suggestion

構文

orc topics 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 topics suggestions reject --help