Skip to main content
PATCH
Reword a prompt in place

Authorizations

Authorization
string
header
required

A workspace API key issued in Settings → Developer, sent as Bearer sk_….

Path Parameters

promptId
string<uuid>
required
Example:

"0b6f3c1e-2d4a-4f8e-9c1b-7a2e5d9f3c10"

Body

application/json
text
string
required

The new prompt wording (3 to 500 characters).

Required string length: 3 - 500

Response

The reworded prompt.

promptId
string
required
changed
boolean
required

Whether the wording actually changed.

wordingChange
enum<string>
required
Available options:
minor,
major,
none