Skip to main content
PATCH
Update prompt version metadata

Authorizations

Authorization
string
header
required

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

Path Parameters

promptId
string
required
versionId
string
required

Body

application/json
displayVersion
string | null

Human label shown in the version dropdown (e.g. v1.4); pass null to clear.

title
string | null

Short label shown on the version timeline entry; pass null to clear.

description
string | null

Longer description shown on the version timeline entry; pass null to clear.

Response

Prompt version updated successfully

Returned by PATCH /api/prompts/{promptId}/versions/{versionId}.

message
string
required
version
object
required
Example: