Create a new dataset for organizing and managing training data or RAG documents.
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Request schema for creating a dataset.
Dataset display name
1 - 200"Customer Support QA"
Optional description
2000"High-quality customer support question-answer pairs"
Indicates end-user/org consent for using data in model training.
true
Successful Response
Response schema for a dataset.
Dataset ID
"ds_abc123"
Dataset display name
"Customer Support QA"
Creation timestamp (UTC ISO8601)
"2024-01-15T10:30:00Z"
Last update timestamp (UTC ISO8601)
"2024-01-15T14:45:00Z"
Optional description
"Q&A pairs for support"
Dataset items (files). Only included when expand[]=items is specified.
Dataset snapshots. Only included when expand[]=snapshots is specified.