POST
/
v1
/
prompt
/
version
/
{promptVersionId}
/
edit-label
curl --request POST \
  --url https://api.helicone.ai/v1/prompt/version/{promptVersionId}/edit-label \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "label": "<string>"
}'
{
  "data": {
    "metadata": {}
  }
}

Authorizations

authorization
string
header
required

Path Parameters

promptVersionId
string
required

Body

application/json
label
string
required

Response

200 - application/json
Ok
data
object
required
error
enum<number> | null
required