Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Update prompt

PUT/v1/private/prompts/{id}Update prompt

Update prompt

Parameters

idstring · uuidpathrequired

Request body

application/json
objectPrompt_Updatable
descriptionstring

maxLength 255 · minLength 0 · pattern (?s)^\s*(\S.*\S|\S)\s*$

namestringrequired

minLength 1

tagsarray of string

uniqueItems true

Show child attributes

uniqueItems true

Example request
{
  "description": "string",
  "name": "string",
  "tags": [
    "string"
  ]
}

Responses

204No content
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
404Not Foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
409Conflictapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
422Unprocessable Contentapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu