Create and download releases
Create an explicit project release and download annotations or represented source files.
Create an explicit project release and download annotations or represented source files.

Release creation is project-scoped. The SDK call must preserve the same approved queue scope, data types, format, distribution, source handling, and token policy decided in the product.
Outcome: Create an explicit project release and download annotations or represented source files.
Optional inputs include Batch Queue IDs through upload_sessions, concrete data_types, per-type bundle_formats, and a dataset license_id. multimodal means every available concrete type; bundle_formats must use concrete types such as image, medical, or text.
Execution surface
Pinned unitlab==3.0.0 application environment on Python 3.10+.
Identity
Least-privilege API key supplied through approved configuration.
Target resolution
Stable resource IDs and an explicitly bounded target set.
Success evidence
Typed return fields, server-side state, and downstream acceptance of the result.
Authentication or authorization fails
Stop, correct the service identity or access model, rotate exposed credentials, and rerun a read-only check.
Validation or entitlement rejects the operation
Correct the input or entitlement; do not retry an unchanged request.
A request times out
Inspect remote state before repeating a mutation because the server may have accepted it.
Asynchronous processing exceeds its deadline
Preserve the Batch Queue or release ID, continue bounded monitoring, and inspect item-level failures.
Only part of a batch succeeds
Keep successful identifiers, isolate failed rows, and retry only the corrected subset.
Pin and test the production SDK version. Use stable IDs, keep secrets out of logs and command history, and record the correlation ID, target IDs, counts, final state, and redacted error details for material state changes.
Continue with Unitlab: Unitlab’s data curation platform
release = client.releases.create(
project,
export_type="UUEF",
split_ratios={"train": 80, "validation": 20},
data_types=["multimodal"],
include_download_tokens=False,
)
annotation_archive = release.download()
train_archive = release.download(split="train")
source_dir = release.download_files("./release-files")