Skip to main content
POST
/
v1
/
helicone-dataset
/
{datasetId}
/
request
/
{requestId}
cURL
curl --request POST \
  --url https://api.helicone.ai/v1/helicone-dataset/{datasetId}/request/{requestId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "responseBody": "<string>",
  "requestBody": "<string>"
}
'
{
  "data": null,
  "error": "<unknown>"
}
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'

Path Parameters

datasetId
string
required
requestId
string
required

Body

application/json
responseBody
required
requestBody
required

Response

200 - application/json

Ok

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