Get Started
- Introduction
- Self Hosting
- Cookbooks
Agent Simulations
LLM Observability
- Overview
- Concepts
- Quick Start
- Language APIs & SDKs
- Integrations
- User Events
- Monitoring & Alerts
- Code Examples
LLM Evaluation
- Overview
- Evaluation Tracking API
- Evaluation Wizard
- Real-Time Evaluation
- List of Evaluators
- Datasets
- Annotations
LLM Development
- Prompt Optimization Studio
- DSPy Visualization
- LangWatch MCP
- Prompt Versioning
API Endpoints
- Traces
- Scenarios
- Prompts
- Annotations
- Datasets
- Triggers
Datasets
Add entries to a dataset
Add entries to a dataset
POST
/
api
/
dataset
/
{slug}
/
entries
Copy
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?"
}
]
}'
Authorizations
Path Parameters
Body
application/json
Was this page helpful?
Copy
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?"
}
]
}'
Assistant
Responses are generated using AI and may contain mistakes.