v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
beta.prompts

UpdatePrompt

UpdatePrompt

patch/v2/prompts/{prompt_id}

Path parameters

prompt_idstring required

Request body

titlestring nullable

Display title.

descriptionstring nullable

Display description.

sharingScope'sharing_scope_unspecified' | 'private' | 'workspace'

Response

Success

idstring
namestring

Stable object name.

versioninteger
notesstring

Notes for this version.

aliasesstring[]

Aliases pointing to this version.

sharingScope'sharing_scope_unspecified' | 'private' | 'workspace'
createdAtstring date-time

RFC 3339 timestamp.

updatedAtstring date-time

RFC 3339 timestamp.

latestVersioninteger

Latest version number.

titlestring

Display title.

descriptionstring

Display description.

Example response

{
  "version": 1,
  "createdAt": "1s",
  "updatedAt": "1s",
  "latestVersion": 1
}