prompts
@orchestor-inc/cli のコマンドリファレンスです。
コマンド一覧
orc prompts list— List AI Search promptsorc prompts create— Create AI Search promptorc prompts get— Get AI Search promptorc prompts update— Update AI Search promptorc prompts delete— Remove an AI Search prompt from active viewsorc prompts disable— Disable AI Search promptorc prompts enable— Enable AI Search promptorc prompts suggestions list— List prompt suggestionsorc prompts suggestions refresh— Generate prompt suggestionsorc prompts suggestions generations get— Get prompt suggestion generationorc prompts suggestions accept— Accept suggestion (promote to prompt)orc prompts suggestions reject— Reject suggestionorc prompts tags get— List tags on a promptorc prompts tags update— Replace prompt tags (bulk)
orc prompts list
List AI Search prompts
構文
orc prompts list [flags]フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--topic-id | string | いいえ | Filter prompts attached to one Topic. |
--status | string | いいえ | Filter prompts by lifecycle status.; enum: active|disabled|archived |
--limit | number | いいえ | Maximum number of items to return |
--cursor | string | いいえ | Opaque cursor for the next page |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt list
ヘルプ
orc prompts list --helporc prompts create
Create AI Search prompt
構文
orc prompts create [flags]フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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. |
--topic-id | string | いいえ | Optional Topic reference used to attach this prompt to an observation topic.; (use "null" or "reset" to clear) |
--text | string | いいえ | (required) The prompt text to send to LLM platforms.; max 2000 chars |
--persona-ids | string | いいえ | Existing workspace Persona IDs to associate with the Prompt.; csv |
--platforms | string | いいえ | 計測する安定した計測チャンネル ID。利用可能な値は orc channels list で確認します。; csv |
--region-id | string | いいえ | Observation/measurement region identifier used when executing this prompt. If omitted, supported country_code values resolve to a default locale. This is not Organization residency. |
--language-code | string | いいえ | BCP 47 language code used when executing this prompt. If omitted, supported country_code values resolve to a default language. |
--country-code | string | いいえ | ISO 3166 observation country used when executing this prompt. Common forms such as JP, jp, JPN, and locale-style ja-JP are normalized to the canonical alpha-2 country code when supported. This does not control Organization residency.; (use "null" or "reset" to clear) |
--status | string | いいえ | Lifecycle status. Defaults to active; disabled preserves history and stops future execution.; enum: active|disabled |
--schedule | string | いいえ | Cron expression for periodic collection.; max 100 chars |
--branding | string | いいえ | Mutually exclusive branding classification automatically maintained for every prompt.; enum: non_branded|branded |
--intent-type | string | いいえ | Mutually exclusive search-intent classification automatically maintained for every prompt.; enum: informational|commercial|transactional |
--preview | string | いいえ | When true, validate and resolve the Prompt without persistence. Requires Idempotency-Key; read-scope API keys may use only this mode. |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt create
ヘルプ
orc prompts create --helporc prompts get
Get AI Search prompt
構文
orc prompts get <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt get
ヘルプ
orc prompts get --helporc prompts update
Update AI Search prompt
構文
orc prompts update <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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. |
--text | string | いいえ | Body field: text; max 2000 chars |
--topic-id | string | いいえ | Existing workspace Topic to associate with the prompt. Set to null to remove the association.; (use "null" or "reset" to clear) |
--persona-ids | string | いいえ | Complete replacement set of existing workspace Persona IDs associated with the Prompt.; csv |
--platforms | string | いいえ | 既存プロンプトに設定する安定した計測チャンネル ID。; csv |
--region-id | string | いいえ | Catalog or locale-style region identifier for prompt execution. |
--language-code | string | いいえ | BCP 47 language code for prompt execution. |
--country-code | string | いいえ | ISO 3166 country code for prompt execution. Common forms such as JP, jp, JPN, and locale-style ja-JP are normalized to the canonical alpha-2 country code when supported.; (use "null" or "reset" to clear) |
--status | string | いいえ | Lifecycle transition. disabled preserves history and stops future execution; archived removes the prompt from active work while preserving its history.; enum: active|disabled|archived |
--schedule | string | いいえ | Body field: schedule; max 100 chars |
--branding | string | いいえ | Mutually exclusive branding classification automatically maintained for every prompt.; enum: non_branded|branded |
--intent-type | string | いいえ | Mutually exclusive search-intent classification automatically maintained for every prompt.; enum: informational|commercial|transactional |
--config-revision | number | いいえ | Optimistic concurrency token. Omission is accepted only during the migration window. |
--preview | string | いいえ | When true, validate and resolve the update without persistence. Requires Idempotency-Key; read-scope API keys may use only this mode. |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt update
ヘルプ
orc prompts update --helporc prompts delete
Remove an AI Search prompt from active views
構文
orc prompts delete <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt delete
ヘルプ
orc prompts delete --helporc prompts disable
Disable AI Search prompt
構文
orc prompts disable <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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 prompts disable --helporc prompts enable
Enable AI Search prompt
構文
orc prompts enable <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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 prompts enable --helporc prompts suggestions list
List prompt suggestions
構文
orc prompts suggestions list [flags]フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--status | string | いいえ | enum: pending|accepted|rejected |
--topic-id | string | いいえ | value |
--limit | number | いいえ | Maximum number of items to return |
--cursor | string | いいえ | Opaque cursor for the next page |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt suggestion-list
ヘルプ
orc prompts suggestions list --helporc prompts suggestions refresh
Generate prompt suggestions
構文
orc prompts suggestions refresh [flags]フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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. |
--topic-ids | string | いいえ | (required) Existing workspace topic IDs used as the generation scope.; csv |
--persona-ids | string | いいえ | Existing workspace Persona IDs to distribute across generated suggestions. Omit or send an empty array to generate without Persona context.; csv |
--prompts-per-topic | number | いいえ | Body field: prompts_per_topic |
--language-code | string | いいえ | Body field: language_code |
--country-code | string | いいえ | Body field: country_code |
--instructions | string | いいえ | Optional generation guidance applied to every selected topic.; max 2000 chars |
--wait | boolean | いいえ | Wait for an asynchronous operation to finish and print its result |
--timeout | string | いいえ | Maximum wait duration (for example 30s or 5m) |
--poll-interval | string | いいえ | Delay between status requests (default: 5s) 既定値: 5s |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc prompts suggestions refresh --helporc prompts suggestions generations get
Get prompt suggestion generation
構文
orc prompts suggestions generations get <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc prompts suggestions generations get --helporc prompts suggestions accept
Accept suggestion (promote to prompt)
構文
orc prompts suggestions accept <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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. |
--topic-id | string | いいえ | Body field: topic_id |
--edit-text | string | いいえ | Body field: edit_text; max 2000 chars |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc prompts suggestions accept --helporc prompts suggestions reject
Reject suggestion
構文
orc prompts suggestions reject <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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 prompts suggestions reject --helpList tags on a prompt
構文
orc prompts tags get <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt tags-get
ヘルプ
orc prompts tags get --helpReplace prompt tags (bulk)
構文
orc prompts tags update <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Path parameter: id |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | 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. |
--tag-ids | string | いいえ | (required) Body field: tag_ids; csv |
--config-revision | number | いいえ | Optimistic concurrency token. Omission is accepted only during the migration window. |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc prompt tags-set
ヘルプ
orc prompts tags update --help