All pages
Reference
GET
/api/v1/media/imports/{id}
Requires the media:read scope.
The progress and result of one bulk import: counts, and a per-file breakdown.
Request
curl -s "https://omniscape.io/api/v1/media/imports/imp_9f2a1c3b7e40" \
-H "Authorization: Bearer $OMNISCAPE_API_KEY"Response
{
"object": "media_import",
"id": "imp_9f2a1c3b7e40",
"status": "completed",
"provider": "google_drive",
"folder_id": "1AbC...",
"counts": { "discovered": 42, "imported": 40, "skipped": 1, "failed": 1 },
"stopped_reason": null,
"items": [
{ "source_ref": "drive-file-1", "name": "a.jpg", "status": "imported", "media_id": "c35c..." },
{ "source_ref": "drive-file-2", "name": "b.svg", "status": "skipped", "reason": "unsupported_media_type" }
],
"created_at": "2026-08-30T21:05:00.000Z",
"completed_at": "2026-08-30T21:06:30.000Z"
}Notes
- Poll until status is completed, partial, or failed. partial means some files imported and some did not — a failure, or a cap was hit (see stopped_reason).
- Each imported media_id renders like any other library photo. A foreign or unknown id is 404 import_not_found, never 403.
Codes this call can return are on Error handling. If something is behaving unexpectedly, Troubleshooting is organised by symptom.