v84

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0985248447.1 KB
Organization
Categories

Update prompt status

Bulk-update the status of one or more prompts. Prompts already in the target status are skipped. Use dry_run to preview without persisting.

Status options:

  • 'active': Prompts will run daily.
  • 'disabled': Prompts will not run moving forward, but historical data is preserved.
  • 'deleted': Prompts are deleted along with historical data
patch/v1/org/categories/{category_id}/prompts/status

Path parameters

category_idstring uuid required

Request body

prompt_idsstring[] required

IDs of the prompts to update.

status'active' | 'disabled' | 'deleted' required

Target status: 'active', 'disabled', or 'deleted'.

dry_runboolean

When true, validate and preview changes without persisting them.

Response

Successful Response

dry_runboolean required

Whether this was a dry run (no changes persisted).

updated_promptsinteger

Number of prompts whose status was changed.