curl --request POST \
--url https://api.helicone.ai/v1/experiment/dataset \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"datasetName": "<string>",
"requestIds": [
"<string>"
],
"datasetType": "experiment",
"meta": {
"promptVersionId": "<string>",
"inputRecordsIds": [
"<string>"
]
}
}'
{
"data": {
"datasetId": "<string>"
}
}
Create a new experiment dataset by specifying dataset name, request IDs, and metadata.
curl --request POST \
--url https://api.helicone.ai/v1/experiment/dataset \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"datasetName": "<string>",
"requestIds": [
"<string>"
],
"datasetType": "experiment",
"meta": {
"promptVersionId": "<string>",
"inputRecordsIds": [
"<string>"
]
}
}'
{
"data": {
"datasetId": "<string>"
}
}
eu.api.helicone.ai
instead of
api.helicone.ai
.Ok
The response is of type object
.
Was this page helpful?