Livepeer Studio

Import an Asset

Import a video Asset to Livepeer from an external URL through the POST /api/asset/import API.


curl --location --request POST '' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name":"Example name"

JavaScript + axios

const axios = require("axios");

  .post("", {
    headers: {
      data: JSON.stringify({
        url: "$EXTERNAL_URL",
        name: "Example name",
  .then((res) => {
  .catch((error) => console.log(error));
urlstringThe URL of the file that Livepeer should download and use.
namestringThe name of the `Asset` containing a custom human-readable description or title.

Livepeer live stream recordings are automatically imported as Asset objects. All you need to do is enable recording on your streams.

When the stream session ends, the platform waits 6min to give a chance for the user to reconnect on the same recording session. After that delay, the recording is processed and you should have a new asset in your account which you can retrieve from the list assets API.