Skip to main content
POST
/
v1
/
prompt
/
version
/
{promptVersionId}
/
edit-label
cURL
curl --request POST \
  --url https://api.helicone.ai/v1/prompt/version/{promptVersionId}/edit-label \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>"
}
'
{
  "data": {
    "metadata": {}
  },
  "error": null
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer YOUR_API_KEY'

Path Parameters

promptVersionId
string
required

Body

application/json
label
string
required

Response

200 - application/json

Ok

data
object
required
error
enum<number> | null
required
Available options: