GET
/
task
Authorization
curl --request GET \
  --url https://livepeer.studio/api/task \
  --header 'Authorization: <authorization>'
[
  {
    "createdAt": 1587667174725,
    "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7",
    "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7",
    "output": {
      "export": {},
      "exportData": {},
      "upload": {}
    },
    "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7",
    "params": {
      "clip": {},
      "export": {
        "custom": {
          "url": "https://s3.amazonaws.com/my-bucket/path/filename.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=LLMMB"
        }
      },
      "exportData": {
        "content": {}
      },
      "transcode-file": {},
      "upload": {}
    },
    "requesterId": "<string>",
    "scheduledAt": 1587667174725,
    "status": {
      "errorMessage": "<string>",
      "phase": "pending",
      "progress": 123,
      "retries": 123,
      "updatedAt": 1587667174725
    },
    "type": "upload"
  }
]

Authorizations

Authorization
string
headerrequired

Bearer api-key

Response

200 - application/json
createdAt
number

Timestamp (in milliseconds) at which task was created

id
string

Task ID

inputAssetId
string

ID of the input asset

output
object

Output of the task

outputAssetId
string

ID of the output asset

params
object

Parameters of the task

requesterId
string

ID of the requester hash(IP + SALT + PlaybackId)

scheduledAt
number

Timestamp (in milliseconds) at which the task was scheduled for execution (e.g. after file upload finished).

status
object

Status of the task

type
enum<string>

Type of the task

Available options:
upload,
export,
export-data,
transcode-file,
clip