Library

Get an import's status

Changed on

Returns the status of an import started with POST /v1/library/imports. Pass the same videoId it was started with. Poll until status is completed (then item holds the library item) or failed (then error says why; start a new import to retry).

get/v1/library/imports/{id}

Request

Path parameters

idstring required

Import ID — the import.id returned when it was started

Example:mi_abc123def456

Query parameters

videoIdstring

The videoId the import was started with, if any

Example:vid_abc123def456

Response

The import's current status

Example response

{
  "import": {
    "id": "mi_abc123def456",
    "item": {
      "category": "Everyday",
      "durationMs": 4200,
      "id": "media_abc123def456",
      "name": "Intro camera take",
      "presetId": "cha-ching",
      "scope": "private",
      "sourceId": "su_abc123def456",
      "type": "video"
    }
  }
}

Changes