Skip to main content
POST
/
v1
/
experiment
/
dataset
/
query
cURL
curl --request POST \
  --url https://api.helicone.ai/v1/experiment/dataset/query \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "promptVersionId": "<string>"
}
'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "created_at": "<string>",
      "meta": {
        "promptVersionId": "<string>",
        "inputRecordsIds": [
          "<string>"
        ]
      }
    }
  ],
  "error": null
}
For users in the European Union: Please use eu.api.helicone.ai instead of api.helicone.ai.

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer YOUR_API_KEY'

Body

application/json
promptVersionId
string

Response

200 - application/json

Ok

  • Option 1
  • Option 2
data
object[]
required
error
enum<number> | null
required
Available options: