Sample appsIntegrationsDiscordPlaygroundDevEx repo
GuidesSDK ReferenceAPI Reference
GuidesSDK ReferenceAPI Reference
  • TwelveLabs API
    • Introduction
    • Authentication
    • Typical workflows
  • API Reference
    • Manage indexes
    • Upload videos
    • Manage videos
    • Any-to-video search
    • Create video embeddings
    • Create text, image, and audio embeddings
    • Analyze videos
    • Error codes
LogoLogo
Sample appsIntegrationsDiscordPlaygroundDevEx repo
API ReferenceUpload videos(Deprecated) Cloud-to-cloud-integrations

GET
https://api.twelvelabs.io/v1.3/tasks/transfers/import/:integration-id/logs
GET
/v1.3/tasks/transfers/import/:integration-id/logs
1curl https://api.twelvelabs.io/v1.3/tasks/transfers/import/6298d673f1090f1100476d4c/logs \
2 -H "x-api-key: <apiKey>"
Try it
200Retrieved
1{
2 "data": [
3 {
4 "index_id": "66ed1ed7046a96796303a06f",
5 "index_name": "my sample index",
6 "created_at": "2024-09-24T13:22:00Z",
7 "ended_at": "2024-09-24T13:23:00Z",
8 "video_status": {
9 "ready": 5,
10 "validating": 2,
11 "queued": 0,
12 "pending": 1,
13 "indexing": 3,
14 "failed": 2
15 },
16 "failed_files": [
17 {
18 "filename": "VIDEO_3.mp4",
19 "error_message": "Video indexing has failed. Please try again."
20 }
21 ]
22 },
23 {
24 "index_id": "66ed1ed7046a96796303a06f",
25 "index_name": "my sample index",
26 "created_at": "2024-09-22T13:25:00Z",
27 "ended_at": "2024-09-24T13:26:00Z",
28 "video_status": {
29 "ready": 10,
30 "validating": 0,
31 "queued": 0,
32 "pending": 0,
33 "indexing": 0,
34 "failed": 3
35 },
36 "failed_files": [
37 {
38 "filename": "VIDEO_3.mp4",
39 "error_message": "No sound"
40 }
41 ]
42 }
43 ]
44}
Was this page helpful?
Previous

Manage videos

Next
Built with
This endpoint returns a chronological list of import operations for the specified integration. The list is sorted by creation date, with the oldest imports first. Each item in the list contains: - The number of videos in each status - Detailed error information for failed uploads, including filenames and error messages. Use this endpoint to track import progress and troubleshoot potential issues across multiple operations.
Retrieve import logs

Path parameters

integration-idstringRequired
The unique identifier of the integration for which you want to retrieve the import logs. You can retrieve it from the [Integrations](https://playground.twelvelabs.io/dashboard/integrations) page.

Headers

x-api-keystringRequired

Response

The import logs have successfully been retrieved.
datalist of objects or null
An array that contains the import logs.

Errors

This endpoint returns a chronological list of import operations for the specified integration. The list is sorted by creation date, with the oldest imports first. Each item in the list contains:

  • The number of videos in each status
  • Detailed error information for failed uploads, including filenames and error messages.

Use this endpoint to track import progress and troubleshoot potential issues across multiple operations.

The unique identifier of the integration for which you want to retrieve the import logs. You can retrieve it from the Integrations page.