Skip to main content
POST
Create a dataset from an uploaded file

Authorizations

X-Auth-Token
string
header
required

Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.

Body

application/json
name
string
required
Minimum string length: 1
storedObjectId
string
required
Required string length: 1 - 255
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]*$
columnTypes
object[]

Response

201 - application/json

Success

datasetId
string
required
slug
string
required
status
string
required
Allowed value: "processing"
Last modified on October 12, 2026