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

Authorizations

Authorization
string
header
required

Organization-scoped EvalGate API key. Discover the supported agent scopes at /.well-known/oauth-protected-resource. Per-operation grants are listed in x-evalgate-required-scopes; OpenAPI bearer security requirement arrays remain empty as required for non-OAuth schemes.

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