v3

latestOpenAPI 3.1.02026-07-3197486526.1 KB
imports

Retrieve an import

This method retrieves a single import, including the current status of each asset in the import.

get/connections/{connection_id}/imports/{import_id}

Path parameters

connection_idstring required

The unique identifier of the connection the import belongs to.

import_idstring required

The unique identifier of the import to retrieve.

Headers

x-api-keystring required

Your API key.

<Note title="Note"> You can find your API key on the <a href="https://playground.twelvelabs.io/dashboard/api-keys" target="_blank">API Keys</a> page. </Note>

Response

The import has been successfully retrieved.

_idstring

The unique identifier of the import.

connection_idstring

The unique identifier of the connection the files were imported through.

provider'google_drive'

The data connector provider.

custom_idstring

The label you supplied when creating the connection, copied when the import was created. Present only when a value is set for the custom_id field.

item_countinteger

The number of files requested in this import. If an imported asset is later deleted, it is omitted from the items array in the Retrieve an import response, so the items array can contain fewer entries than item_count.

created_atstring date-time

The date and time, in the RFC 3339 format ("YYYY-MM-DDTHH:mm:ssZ"), when the import was created.