Skip to main content
PATCH
JavaScript

Authorizations

X-API-Key
string
header
required

Path Parameters

category_id
string<uuid>
required

Body

application/json
prompts
UpdatePromptInput · object[]
required

List of prompt updates. Each entry must include an id and at least one field to change.

dry_run
boolean
default:false

When true, validate and preview changes without persisting them.

Response

Successful Response

Response from updating prompts.

dry_run
boolean
required

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

updated
integer
default:0

Number of prompts that had changes.

topics_created
integer
default:0

Number of new topics created.

tags_created
integer
default:0

Number of new tags created.

prompts
PromptUpdatePreview · object[]

List of prompts with their change diffs.