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

Authorizations

authorization
string
header
required

Path Parameters

experimentId
string
required

Body

application/json
inputRecordId
string
required
promptVersionId
string
required

Response

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