Content
Manage the full content lifecycle for a product from the terminal: create or generate drafts, work the review queue (approve, reject, revise), publish approved drafts, and edit live pages. Pass--scope <org-slug>/<product-slug> to select the product. Every JSON response includes the resolved scope.
tpc content replaces the removed tpc site page command group. Publishing is gated on review: create and generate land drafts in the review queue, and publish fails with a conflict until the draft is approved. The old ungated site page update --status published path no longer exists.The lifecycle
tpc content list --status pending-review.
List content
List published pages (default):--prompt <prompt-id> works with every status, including published — published pages keep the prompt they were generated from, so you can answer “which prompts have no content yet?”:
promptId field (null for manually created pages)
and an allowlisted metadata envelope containing the normalized generated content
type:
metadata.contentType is available consistently for published pages and review
drafts. It is null for manual pages and content platforms that do not map to a
selectable generation type. Internal generation metadata is not exposed.
Get one item
get accepts a draft id or a published document id; the response says which kind answered.
metadata.contentType field in JSON
output. Text output prints it as Content type: <value> when present.
You can also read page-specific social metadata: ogTitle, ogDescription,
ogImage, twitterTitle, twitterDescription, and twitterImage. Text output
labels these Open Graph and Twitter/X; unset values display as -.
Create content
Created pages land in the review queue aspending_review drafts — they publish only after approval.
Place a page in a view
Views contain prompts, not pages. A page appears in a view through the prompt it answers. Link the page to a prompt with--prompt, then add that prompt to the view:
tpc prompts list.
Generate content
Start the content-generation agent for one or more prompts (Pro plan). Generated drafts land in the review queue.--watch polls each draft every 5 seconds until generation completes or fails.
Cancel a draft that is still generating (or stuck there after the worker died). This marks it cancelled and removes it from the generating queue. A server-side reaper also moves drafts that stay in generating for more than six hours to failed.
Review the queue
Approve one or more drafts (approval queues publishing for publishable content):list --status rejected):
Publish and revert
publish queues publishing for an approved draft and fails with a conflict when the draft is unapproved:
revert unpublishes the live page and returns the draft to the review queue:
Update a live page
Use these optional flags for page-specific social metadata:
Only supplied fields change. Pass
"" to clear one field; untouched SEO and
social values are preserved. These are per-page fields, not Website Settings
defaults. Use the review drawer to edit social metadata on drafts.
Only the flags you pass are changed. There is no --status flag — publishing goes through approve/publish.
Delete content
Soft-deletes a live page (with its linked draft and tracked URL) or deletes an unpublished draft, including drafts still ingenerating:
delete is valid on status: generating. Use cancel when you want to stop generation without hard-deleting the row.
Every command also supports --format json for scripting: