Run Bulk Import
Trigger a new run of a saved import. mode and delete_missing default to the definition’s saved values. Only one run may be active per collection at a time, so triggering while any run in the collection is active returns a 409. Rerunning is also how a media import resumes after it stopped on exhausted credits or a usage limit: an append run skips files it already imported and retries the rest.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the metadata collection
The ID of the metadata import
Body
All fields default to the values saved on the import definition.
append, refresh Override the definition's max_files for this run
1 <= x <= 1000000Override the definition's include_thumbnails for this run. Metadata imports only — setting it on a media import is a 400.
Override the definition default for this run.
Response
The created run
One execution of a metadata import.
metadata_import_run What this run ingests, inherited from the import definition: metadata indexes source metadata only (free); media ingests and processes the actual files (billed per file).
metadata, media append imports new files and retries previously-failed ones; refresh re-imports everything the filters match. For media imports, refresh re-syncs the source metadata of files it already imported — media bytes are never re-downloaded.
append, refresh Whether this run sweeps files this import previously brought in that the source no longer returns (refresh runs only)
pending, processing, completed, failed, cancelled Best-effort progress counters for display. Run completion is decided from the actual per-file indexing state, never from these counters, so they can drift slightly under retries without affecting correctness.
User-facing failure reason when status is failed
Unix timestamp in milliseconds
Unix timestamp in milliseconds
Unix timestamp in milliseconds
The cap this run executed with; null means unbounded
Whether this run copied poster thumbnails
Whether this run backfills omitted source-metadata fields (see the import-level property).