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
required
Minimum string length: 1
Example:

"prompt-123"

Body

application/json
text
string
required

The new prompt wording (3 to 500 characters).

Required string length: 3 - 500

Response

200 - application/json

The reworded prompt.

promptId
string
required
changed
boolean
required

Whether the wording actually changed.

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