Skip to main content
PATCH
JavaScript

Authorizations

X-API-Key
string
header
required

Path Parameters

category_id
string<uuid>
required

Body

application/json
prompt_ids
string<uuid>[]
required

IDs of the prompts to update.

status
enum<string>
required

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

Available options:
active,
disabled,
deleted
dry_run
boolean
default:false

When true, validate and preview changes without persisting them.

Response

Successful Response

Response from updating prompt statuses.

dry_run
boolean
required

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

updated_prompts
integer
default:0

Number of prompts whose status was changed.