curl --request POST \
--url https://app.langwatch.ai/api/dataset/{slug}/entries \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: <api-key>' \
--data '{
"entries": [
{
"input": "hi",
"output": "Hello, how can I help you today?"
}
]
}'
Add entries to a dataset
curl --request POST \
--url https://app.langwatch.ai/api/dataset/{slug}/entries \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: <api-key>' \
--data '{
"entries": [
{
"input": "hi",
"output": "Hello, how can I help you today?"
}
]
}'
Was this page helpful?