Save Draft Dataset Version
Datasets
Save Draft Dataset Version
POST
Save Draft Dataset Version
Publish a draft dataset version by assigning it the next real version number. PromptLayer queues the save operation and returns immediately.Documentation Index
Fetch the complete documentation index at: https://promptlayer-claude-nice-fermi-nop3f.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Behavior Notes
- The draft’s
version_numberchanges from-1to the next sequential version number when the background job completes. - If no draft exists for the dataset group, the endpoint returns
404.
Related
Authorizations
Body
application/json
ID of the dataset group containing the draft to save.
Required range:
x >= 1
