Skip to main content

Products

Product commands are org-scoped. Pass --scope <org-slug> and a product slug argument, or --scope <org-slug>/<product-slug>.
Text output lists each product with its slug and its product names. Pass --format json to get the product objects, which include them as keywords.

Update a product

The CLI fetches the product first and changes only the fields you pass. Fields you leave out keep their stored values. You must pass at least one flag.

Product names (aliases)

Product names are the Product name(s) list in product settings. Share of voice counts an AI answer as mentioning your product when it contains any of these names. If the product is often written in other ways, such as an abbreviation or a different spelling, add those as aliases.
When you combine these flags, --aliases replaces the list first. Then --alias adds names and --remove-alias removes them. Matching ignores case, and duplicates are dropped. The first spelling is kept.

Product context

Product context is the positioning, differentiators, personas, and competitors TPC uses when it writes content and runs simulations for the product. Only the fields you pass change; the rest keep their stored values.
--context-file accepts these fields. Any other field is rejected before the request is sent.
--positioning and --differentiator override the same fields in the file. The product must already have context from onboarding; otherwise the command fails with “No product context available to update”. With --format json, a context-only update prints the updated context, and an update that also changes settings prints {"product": ..., "context": ...}.