curl --request GET \
--url https://api.helicone.ai/v2/experiment/{experimentId}/prompt-versions \
--header 'Authorization: <api-key>'{
"data": [
{
"created_at": "<string>",
"experiment_id": "<string>",
"helicone_template": "<string>",
"id": "<string>",
"major_version": 123,
"metadata": "<string>",
"minor_version": 123,
"model": "<string>",
"organization": "<string>",
"prompt_v2": "<string>",
"soft_delete": true
}
],
"error": null
}Retrieve all prompt versions used in an experiment
curl --request GET \
--url https://api.helicone.ai/v2/experiment/{experimentId}/prompt-versions \
--header 'Authorization: <api-key>'{
"data": [
{
"created_at": "<string>",
"experiment_id": "<string>",
"helicone_template": "<string>",
"id": "<string>",
"major_version": 123,
"metadata": "<string>",
"minor_version": 123,
"model": "<string>",
"organization": "<string>",
"prompt_v2": "<string>",
"soft_delete": true
}
],
"error": null
}eu.api.helicone.ai instead of
api.helicone.ai.Bearer token authentication. Format: 'Bearer YOUR_API_KEY'
Ok
Show child attributes
Was this page helpful?