Prompt categories
The workspace's taxonomy for prompts — the terms the prompt catalog files and filters by.
List categories
The workspace's own prompt categories plus the product-level ones shared with it, in the order they are managed in, each with a count of the prompts filed under it.
Headers
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
List categories › Responses
Success
Replace categories
Send the complete ordered list you want — this is a replacement, not a patch. An entry with an id is renamed in place and takes its position from the array; one without is created; anything you leave out is removed, including from the prompts filed under it.
Headers
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
Replace categories › Responses
Success
