Skip to main content
POST
Sync a local prompt edit as a web prompt version

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
evaluationId
number
required
promptId
string
required
content
string
required
expectedPromptActiveVersionId
string
required

Response

Successful response

versionId
string
required
contentHash
string
required
isNewContent
enum<boolean>
required
Available options:
false