Datasets
Create Draft Dataset Version
POST
Create a mutable draft dataset version for a dataset group. Drafts useDocumentation Index
Fetch the complete documentation index at: https://promptlayer-add-demo-projects.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
version_number = -1 until they are saved as a published version.
Behavior Notes
- Only one draft can exist per dataset group at a time; creating another draft returns
409. - Without
source_dataset_id, PromptLayer creates an empty draft and returns201. - With
source_dataset_id, rows are copied from the source dataset asynchronously and the endpoint returns202. - The source dataset must belong to the same dataset group.
Related
Authorizations
Body
application/json

