/

docs

Log inSign up
GuidesAPI Reference

CONTENT

Overview

stream

The stream object

POST create a stream

GET retrieve a stream

PATCH turn on/off recording

GET list of all streams

session

The session object

GET retrieve a session

GET a list of sessions

GET a list of recorded sessions

Ingest

Authentication

Errors

API key

#GET retrieve a ssession

You can retrieve a session with its ID.

curl -H 'authorization: Bearer {api-key}' \
"https://livepeer.com/api/session/{id}"

200 OK

{
"id":"aaaaaaaa-aaaa-aaaa-aaaa-aaaa",
"sourceSegmentsDuration":250,
"record":true,
"parentId":"nnnnnnnn-nnnn-nnnn-nnnn-nnnn",
"recordingStatus":"ready",
"recordingUrl":"https://cdn.livepeer.com/recordings/aaaaaaaa-aaaa-aaaa-aaaa-aaaa/index.m3u8"},
{other asset object keys, like createdAt and profiles}
}