Make a cloud-to-cloud transfer

NOTE: This endpoint will be deprecated. Twelve Labs recommends you use the Import videos endpoint instead.

Use this endpoint to make cloud-to-cloud transfers. The videos you wish to upload must meet the requirements in the Prerequisites section of the Upload single videos page.

Log in to see full request history
Body Params
file

A JSON file that contains a list. Each element of the list is an object representing a file to be uploaded and indexed and has the following fields:

  • index_id: The unique identifier of the index to which the video file will be uploaded.
  • language: The language of your video.
  • object: The S3 URL of your video.
  • (Optional) transcription: The S3 URL of your transcription.

Example:

[
  {
    "index_id": "6298d673f1090f1100476d4c",
    "language": "en",
    "object": "s3://twelve-labs-docs/01.mp4",
    "transcription": "s3://twelve-labs-docs/01.srt"
  },
  {
    "index_id": "6298d673f1090f1100476d4c",
    "language": "en",
    "object": "s3://twelve-labs-docs/02.mp4",
    "transcription": "s3://twelve-labs-docs/02.srt"
  }
]
Headers
string
required

Your API key.

NOTE: You can find your API key on the API Key page.

string
required
Defaults to multipart/form-data

Must be set to multipart/form-data.

Responses
204

If successful, this method returns a 204 No Content response code. It does not return anything in the response body.

Language
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json