CLI を使い始める

runs

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

コマンド一覧

  • orc runs list — List Prompt Runs
  • orc runs create — Create a Prompt Run
  • orc runs get — Get a Prompt Run
  • orc runs cancel — Cancel a Prompt Run
  • orc runs results get — Get Prompt Run results
  • orc runs batches list — List prompt run batches
  • orc runs batches create — Create a prompt run batch (ASYNC)
  • orc runs batches get — Retrieve a prompt run batch (status polling)
  • orc runs batches delete — Delete a prompt run batch
  • orc runs batches cancel — Cancel a prompt run batch
  • orc runs batches results get — Get results of a completed prompt run batch

orc runs list

List Prompt Runs

構文

orc runs list [flags]

フラグ

フラグ型必須説明
--statusstringいいえenum: queued|running|succeeded|failed|canceled
--limitnumberいいえMaximum number of items to return
--cursorstringいいえOpaque cursor for the next page

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

ヘルプ

orc runs list --help

orc runs create

Create a Prompt Run

構文

orc runs 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.
--prompt-idstringいいえ(required) ID of the tracked prompt to execute.
--model-channel-idstringいいえこの実行で選択する安定した計測チャンネル ID。チャンネル一覧の値を指定します。; max 128 chars
--personastringいいえFree-form persona.; (use "null" or "reset" to clear)
--persona-idstringいいえCatalog persona reference (alternative to free-form persona).; (use "null" or "reset" to clear)
--regionstringいいえFree-form region.; (use "null" or "reset" to clear)
--region-idstringいいえCatalog region reference.; (use "null" or "reset" to clear)
--topic-idstringいいえExplicit topic context (overrides prompt.topic_id).; (use "null" or "reset" to clear)
--brand-idstringいいえFocus brand for visibility / mention extraction.; (use "null" or "reset" to clear)
--asset-idstringいいえAsset identifier (forward compatibility).; (use "null" or "reset" to clear)
--tag-idsstringいいえTag context for this execution.; csv; (use "null" or "reset" to clear)
--prompt-typestringいいえPrompt type.; (use "null" or "reset" to clear)
--language-codestringいいえBCP 47 language tag (e.g. en-US). Google AI Mode passes this through to SerpApi hl and supports Japanese (ja), English (en), and other SerpApi-supported languages; no unsupported-locale gate is applied by Orchestor.; (use "null" or "reset" to clear)
--country-codestringいいえISO 3166-1 alpha-2 country (e.g. US).; (use "null" or "reset" to clear)
--metadatastringいいえAnthropic / OpenAI metadata bag for client-side correlation.; (JSON object, e.g. '{"custom_id":"x"}'); (use "null" or "reset" to clear)
--include-transcriptstringいいえ(Q2.EV 2026-05-02) Opt-in raw conversation transcript storage. When true, populated messages: [{role, content}] field in the returned PromptAnswerData. Default false for storage cost and privacy/compliance.
--toolsstringいいえOptional model tool controls. MVP accepts boolean web_search only.; (JSON object, e.g. '{"custom_id":"x"}'); (use "null" or "reset" to clear)
--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 prompt-run create

ヘルプ

orc runs create --help

orc runs get

Get a Prompt Run

構文

orc runs get <id> [flags]

引数

引数必須説明
idはいPrompt Run id.

フラグ

フラグ型必須説明
--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 prompt-run get

ヘルプ

orc runs get --help

orc runs cancel

Cancel a Prompt Run

構文

orc runs cancel <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 runs cancel --help

orc runs results get

Get Prompt Run results

構文

orc runs results get <id> [flags]

引数

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

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

互換エイリアス

  • orc runs results

ヘルプ

orc runs results get --help

orc runs batches list

List prompt run batches

構文

orc runs batches list [flags]

フラグ

フラグ型必須説明
--statusstringいいえFilter by batch processing status.; enum: running|canceling|completed
--limitnumberいいえMaximum number of items to return
--cursorstringいいえOpaque cursor for the next page

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

ヘルプ

orc runs batches list --help

orc runs batches create

Create a prompt run batch (ASYNC)

構文

orc runs batches 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.
--requestsstringいいえ(required) Array of execution requests. Anthropic parity: max 10000 per batch. Each request requires a client-supplied custom_id for correlation in the results stream.; JSON array of objects (use --stdin for large resources)
--metadatastringいいえBatch-level metadata bag.; (JSON object, e.g. '{"custom_id":"x"}'); (use "null" or "reset" to clear)
--completion-windowstringいいえOpenAI batch parity. Maximum wall-clock time before the batch expires. Requests still in processing at expiration move to request_counts.expired.; enum: 24h|48h
--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 runs batches create --help

orc runs batches get

Retrieve a prompt run batch (status polling)

構文

orc runs batches get <id> [flags]

引数

引数必須説明
idはいPrompt Run Batch id (e.g. prb_01abc).

フラグ

フラグ型必須説明
--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 runs batches get --help

orc runs batches delete

Delete a prompt run batch

構文

orc runs batches delete <id> [flags]

引数

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

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

ヘルプ

orc runs batches delete --help

orc runs batches cancel

Cancel a prompt run batch

構文

orc runs batches cancel <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 runs batches cancel --help

orc runs batches results get

Get results of a completed prompt run batch

構文

orc runs batches results get <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.
--limitnumberいいえMaximum number of items to return
--cursorstringいいえOpaque cursor for the next page

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

互換エイリアス

  • orc runs batches results

ヘルプ

orc runs batches results get --help