Getting started

topics

orc topics manages monitoring topics associated with brands. Retrieve lists and details, create or change names, archive or unarchive topics, and soft-delete them. Review topic candidates generated from Workspace brand information before accepting or rejecting them.

Configure authentication and select the target Workspace. Creation requires a topic name and a brand ID in that Workspace. Creating a topic does not create prompts. Attach subsequent questions through topic_id in orc prompts.

Usage

terminal
orc topics list --workspace <workspace-id>

Inspect saved topics.

Subcommands

list

List topics under non-deleted brands newest first, including archived topics. Omit --brand-id to include all brands. Preserve the brand filter while following pages.

terminal
orc topics list [options]

Unique options

--brand-id

Restrict results to this brand in the selected workspace. Omit to include all brands; an unavailable brand returns 404.

Type: string. Optional.

terminal
orc topics list --brand-id <value>

create

name is limited to 255 characters and required together with brand_id. New topics are unarchived. Requires workspace:settings permission.

terminal
orc topics create [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc topics create --idempotency-key <value>
--name

(required) Human-readable topic name, from 1 to 255 characters.; max 255 chars

Type: string. Optional.

terminal
orc topics create --name <value>
--brand-id

(required) Required parent brand in the selected workspace. A topic cannot currently be created without a brand.

Type: string. Optional.

terminal
orc topics create --brand-id <value>

Examples

terminal
orc topics create --name "CRM selection" --brand-id <brand-id> --workspace <workspace-id>

Create a topic for a brand

get

Retrieve details by topic ID, including archived topics. Return 404 if the topic or parent brand is unavailable in the target Workspace.

terminal
orc topics get <id> [options]

update

Change only supplied name and archived. --archived true archives; false unarchives. The brand association cannot be changed here. An empty body returns the current topic.

terminal
orc topics update <id> [options]

Unique options

--archived

Set true to archive or false to unarchive through the measurement lifecycle. Omit to keep the current state.

Type: string. Optional.

terminal
orc topics update <id> --archived <value>
--name

Replacement topic name. Omit to keep the current name.; max 255 chars

Type: string. Optional.

terminal
orc topics update <id> --name <value>

Examples

terminal
orc topics update <topic-id> --archived true --workspace <workspace-id>

Archive a topic

delete

Soft-delete a topic through the measurement lifecycle and hide it from ordinary lists and reads. Requires workspace:settings permission.

terminal
orc topics delete <id> [options]

suggestions list

Filter stored suggestions with --status and --brand-id. Omitted filters do not restrict results. Preserve filters while following cursors.

terminal
orc topics suggestions list [options]

Unique options

--status

Filter by suggestion status. Omit to include all statuses.; enum: pending|accepted|rejected

Type: string. Optional.

terminal
orc topics suggestions list --status <value>
--brand-id

Filter by brand id in the selected workspace. Omit to include domains or suggestions for all brands.

Type: string. Optional.

terminal
orc topics suggestions list --brand-id <value>

suggestions refresh

Start asynchronous suggestion generation from the current Workspace’s brand context. No body is needed. Use --wait to wait for completion. Generated candidates do not become topics until explicitly accepted.

terminal
orc topics suggestions refresh [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc topics suggestions refresh --idempotency-key <value>

Examples

terminal
orc topics suggestions refresh --wait --workspace <workspace-id>

Generate topic suggestions and wait

suggestions generations get

Retrieve asynchronous generation status by returned generation ID. Check state rather than treating acceptance as completion.

terminal
orc topics suggestions generations get <id> [options]

suggestions accept

Accept a pending candidate and create an active topic. --brand-id overrides the suggestion’s brand. If neither provides a brand, return 400. Adjust the name with --edit-name. Resolved suggestions return 409; missing IDs return 404.

terminal
orc topics suggestions accept <id> [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc topics suggestions accept <id> --idempotency-key <value>
--brand-id

Brand in the selected workspace to assign to the new topic. Required when the suggestion has no brand.

Type: string. Optional.

terminal
orc topics suggestions accept <id> --brand-id <value>
--edit-name

Name for the created resource. When omitted, uses the suggestion name.; max 255 chars

Type: string. Optional.

terminal
orc topics suggestions accept <id> --edit-name <value>

suggestions reject

Mark a pending candidate rejected. Missing IDs return 404; already accepted or rejected suggestions return 409.

terminal
orc topics suggestions reject <id> [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc topics suggestions reject <id> --idempotency-key <value>

Permissions

Access to the target Workspace is required. Changes require the corresponding write permissions.

Global Options

The following global options can be used with orc topics:

For details and examples, see global options.