Getting started

prompts

This page is the command reference for @orchestor-inc/cli.

Commands

  • orc prompts list — List AI Search prompts
  • orc prompts create — Create AI Search prompt
  • orc prompts get — Get AI Search prompt
  • orc prompts update — Update AI Search prompt
  • orc prompts delete — Remove an AI Search prompt from active views
  • orc prompts disable — Disable AI Search prompt
  • orc prompts enable — Enable AI Search prompt
  • orc prompts suggestions list — List prompt suggestions
  • orc prompts suggestions refresh — Generate prompt suggestions
  • orc prompts suggestions generations get — Get prompt suggestion generation
  • orc prompts suggestions accept — Accept suggestion (promote to prompt)
  • orc prompts suggestions reject — Reject suggestion
  • orc prompts tags get — List tags on a prompt
  • orc prompts tags update — Replace prompt tags (bulk)

orc prompts list

List AI Search prompts

Usage

orc prompts list [flags]

Flags

FlagTypeRequiredDescription
--topic-idstringNoFilter prompts attached to one Topic.
--statusstringNoFilter prompts by lifecycle status.; enum: active|disabled|archived
--limitnumberNoMaximum number of items to return
--cursorstringNoOpaque cursor for the next page

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt list

Help

orc prompts list --help

orc prompts create

Create AI Search prompt

Usage

orc prompts create [flags]

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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-idstringNoOptional Topic reference used to attach this prompt to an observation topic.; (use "null" or "reset" to clear)
--textstringNo(required) The prompt text to send to LLM platforms.; max 2000 chars
--persona-idsstringNoExisting workspace Persona IDs to associate with the Prompt.; csv
--platformsstringNoStable measurement channel IDs to monitor. Discover available values with orc channels list.; csv
--region-idstringNoObservation/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-codestringNoBCP 47 language code used when executing this prompt. If omitted, supported country_code values resolve to a default language.
--country-codestringNoISO 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)
--statusstringNoLifecycle status. Defaults to active; disabled preserves history and stops future execution.; enum: active|disabled
--schedulestringNoCron expression for periodic collection.; max 100 chars
--brandingstringNoMutually exclusive branding classification automatically maintained for every prompt.; enum: non_branded|branded
--intent-typestringNoMutually exclusive search-intent classification automatically maintained for every prompt.; enum: informational|commercial|transactional
--previewstringNoWhen true, validate and resolve the Prompt without persistence. Requires Idempotency-Key; read-scope API keys may use only this mode.

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt create

Help

orc prompts create --help

orc prompts get

Get AI Search prompt

Usage

orc prompts get <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt get

Help

orc prompts get --help

orc prompts update

Update AI Search prompt

Usage

orc prompts update <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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.
--textstringNoBody field: text; max 2000 chars
--topic-idstringNoExisting workspace Topic to associate with the prompt. Set to null to remove the association.; (use "null" or "reset" to clear)
--persona-idsstringNoComplete replacement set of existing workspace Persona IDs associated with the Prompt.; csv
--platformsstringNoStable measurement channel IDs to set on the existing prompt.; csv
--region-idstringNoCatalog or locale-style region identifier for prompt execution.
--language-codestringNoBCP 47 language code for prompt execution.
--country-codestringNoISO 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)
--statusstringNoLifecycle transition. disabled preserves history and stops future execution; archived removes the prompt from active work while preserving its history.; enum: active|disabled|archived
--schedulestringNoBody field: schedule; max 100 chars
--brandingstringNoMutually exclusive branding classification automatically maintained for every prompt.; enum: non_branded|branded
--intent-typestringNoMutually exclusive search-intent classification automatically maintained for every prompt.; enum: informational|commercial|transactional
--config-revisionnumberNoOptimistic concurrency token. Omission is accepted only during the migration window.
--previewstringNoWhen true, validate and resolve the update without persistence. Requires Idempotency-Key; read-scope API keys may use only this mode.

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt update

Help

orc prompts update --help

orc prompts delete

Remove an AI Search prompt from active views

Usage

orc prompts delete <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt delete

Help

orc prompts delete --help

orc prompts disable

Disable AI Search prompt

Usage

orc prompts disable <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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.

See global flags for output and request options. Use --help to check the flags supported by this command.

Help

orc prompts disable --help

orc prompts enable

Enable AI Search prompt

Usage

orc prompts enable <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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.

See global flags for output and request options. Use --help to check the flags supported by this command.

Help

orc prompts enable --help

orc prompts suggestions list

List prompt suggestions

Usage

orc prompts suggestions list [flags]

Flags

FlagTypeRequiredDescription
--statusstringNoenum: pending|accepted|rejected
--topic-idstringNovalue
--limitnumberNoMaximum number of items to return
--cursorstringNoOpaque cursor for the next page

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt suggestion-list

Help

orc prompts suggestions list --help

orc prompts suggestions refresh

Generate prompt suggestions

Usage

orc prompts suggestions refresh [flags]

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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-idsstringNo(required) Existing workspace topic IDs used as the generation scope.; csv
--persona-idsstringNoExisting workspace Persona IDs to distribute across generated suggestions. Omit or send an empty array to generate without Persona context.; csv
--prompts-per-topicnumberNoBody field: prompts_per_topic
--language-codestringNoBody field: language_code
--country-codestringNoBody field: country_code
--instructionsstringNoOptional generation guidance applied to every selected topic.; max 2000 chars
--waitbooleanNoWait for an asynchronous operation to finish and print its result
--timeoutstringNoMaximum wait duration (for example 30s or 5m)
--poll-intervalstringNoDelay between status requests (default: 5s) Default: 5s

See global flags for output and request options. Use --help to check the flags supported by this command.

Help

orc prompts suggestions refresh --help

orc prompts suggestions generations get

Get prompt suggestion generation

Usage

orc prompts suggestions generations get <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

See global flags for output and request options. Use --help to check the flags supported by this command.

Help

orc prompts suggestions generations get --help

orc prompts suggestions accept

Accept suggestion (promote to prompt)

Usage

orc prompts suggestions accept <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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-idstringNoBody field: topic_id
--edit-textstringNoBody field: edit_text; max 2000 chars

See global flags for output and request options. Use --help to check the flags supported by this command.

Help

orc prompts suggestions accept --help

orc prompts suggestions reject

Reject suggestion

Usage

orc prompts suggestions reject <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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.

See global flags for output and request options. Use --help to check the flags supported by this command.

Help

orc prompts suggestions reject --help

orc prompts tags get

List tags on a prompt

Usage

orc prompts tags get <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt tags-get

Help

orc prompts tags get --help

orc prompts tags update

Replace prompt tags (bulk)

Usage

orc prompts tags update <id> [flags]

Arguments

ArgumentRequiredDescription
idYesPath parameter: id

Flags

FlagTypeRequiredDescription
--idempotency-keystringNoUnique 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-idsstringNo(required) Body field: tag_ids; csv
--config-revisionnumberNoOptimistic concurrency token. Omission is accepted only during the migration window.

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc prompt tags-set

Help

orc prompts tags update --help