video_id per video.
Local file & URL upload examples
Local MCAP Uploads
Upload local.mcap files through the same upload() helper. The initial response
contains an mcap_ingest_id; wait for completion to retrieve the derived videos.
Local MCAP upload
S3 MCAP Cloud Ingest
For large MCAPs already stored in S3, create a role-based S3 Storage Transfer integration, then pass thes3://...mcap URI to upload(). This avoids routing
the source MCAP through your local machine or the Nomadic backend before storage
transfer starts.
S3 MCAP cloud ingest
Multi-view (local/URL)
Use a dict mapping view names to local files or URLs.front is required in every set.
video_id.
- Metadata sidecars must share the same base filename as the video (e.g.,
launch.mp4+launch.json). See the Metadata Ingestion Spec for the full schema. - Custom names (
nameparam) are supported for single files, URLs, and batch dict syntax — not for cloud imports or multi-view. - Folders are auto-created if they don’t exist. Defaults to personal scope; use
scope="org"for shared org folders.
| Parameter | Type | Description |
|---|---|---|
videos | str | Path | tuple | Sequence | Single video, (video, metadata) tuple, or list of mixed videos/tuples |
| Parameter | Type | Default | Description |
|---|---|---|---|
name | str | None | Custom display name for the uploaded video. Overrides the original filename. Only supported for single file uploads, URLs, or per-video in batch dict syntax. Not supported for cloud imports or multi-view uploads. |
folder | str | None | Folder name for organizing uploads (unique within each scope) |
metadata_file | str | Path | None | Overlay metadata JSON file (must share the video’s base filename) per spec (ignored when using tuples) |
scope | 'user' | 'org' | 'user' | Scope hint for folder resolution. Use 'org' for shared org folders and 'user' for personal uploads. |
upload_timeout | int | 1200 | Timeout in seconds for upload completion |
wait_for_uploaded | bool | True | Wait until upload is complete |
integration_id | str | None | Saved cloud integration identifier for gs://, s3://, hf://buckets/..., and S3 MCAP imports. |
chunk_size | int | None | Optional chunk size for MCAP ingest. |
front_channel | str | None | Front-camera channel name for local MCAP stitching. |
channel_roles | Mapping[str, str] | None | Optional channel-to-role mapping for local MCAP uploads. |
channel_labels | Mapping[str, str] | None | Optional channel display labels for local MCAP uploads. |
{"video_id": "...", "status": "processing" | "uploaded" | ...}