POST
/
v2
/
experiment
/
new
curl --request POST \
  --url https://api.helicone.ai/v2/experiment/new \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "originalPromptVersion": "<string>",
  "name": "<string>"
}'
{
  "data": {
    "experimentId": "<string>"
  }
}

Authorizations

authorization
string
header
required

Body

application/json
originalPromptVersion
string
required
name
string
required

Response

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