Create a bulk import
Changed onCreate a bulk import: a saved definition that lists a data connector's source files and brings each match into the collection. What a run ingests follows the collection's type (see import_type on the response). For a metadata collection it imports each file's source metadata as a collection file, with no media download or processing, and runs consume no credits. For any other collection type it imports the media itself: each matching file is ingested and processed exactly like a manual add, so it is billed per file and counts against the account's file usage limits. A media run that exhausts credits or a usage limit stops with a user-facing error and keeps everything it already imported — rerun in append mode to resume. By default the first run starts immediately (start: false saves the definition only). The response's latest_run is the triggered run; it is null when start is false or when another run is already active in the collection (the definition is saved, and can be run once that one finishes), and it is returned with status failed when the run could not be started (trigger a new run to retry). Runs page the connector — and, for media imports, add each file — with the account's default active API key, and fail with a clear error when the account has none.
Request
- Base URLhttps://api.cloudglue.dev/v1
- AuthHTTP bearer
Path parameters
The ID of the metadata collection
Request body
Response
The created import, with latest_run reflecting the immediately-triggered first run when applicable
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
api tag
Bulk Importsadded - info
api tag
Metadata Importsremoved - info
added the optional property
to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
//////to the response with the status
- info