Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dataset.unrelease

Dataset.unrelease([{ waitForFinalization, signal }]) → Promise<Dataset>

Unreleases the dataset's current version, making it the next version again.

Parameters:

waitForFinalization : boolean, default false Whether to wait for the unrelease to be finalized before resolving. The unrelease takes effect immediately, but the version's data is finalized in the background, and until that finishes, the dataset's versions can't be released, unreleased, or deleted. Set this to true if you'll make another such change right after this one.

signal : AbortSignal, optional Stops waiting for the unrelease to be finalized. This doesn't cancel the unrelease.

Returns: Promise<Dataset>, this dataset, at its (now unreleased) next version.

Was this helpful?