GET
/
stream
Authorization
Query
curl --request GET \
  --url https://livepeer.studio/api/stream \
  --header 'Authorization: <authorization>'
[
  {
    "createdAt": 1587667174725,
    "createdByTokenName": "<string>",
    "creatorId": {
      "type": "unverified",
      "value": "<string>"
    },
    "id": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
    "ingestRate": 1,
    "isActive": true,
    "isHealthy": true,
    "issues": [
      "<string>"
    ],
    "lastSeen": 1587667174725,
    "multistream": {
      "targets": [
        {
          "id": "PUSH123",
          "profile": "720p"
        }
      ]
    },
    "name": "test_stream",
    "outgoingRate": 2,
    "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
    "playbackId": "eaw4nk06ts2d0mzb",
    "playbackPolicy": {
      "type": "public",
      "webhookContext": {},
      "webhookId": "<string>"
    },
    "profiles": [
      {
        "bitrate": 401,
        "encoder": "h264",
        "fps": 123,
        "fpsDen": 2,
        "gop": "<string>",
        "height": 129,
        "name": "720p",
        "profile": "H264Baseline",
        "width": 129
      }
    ],
    "record": true,
    "sourceBytes": 1,
    "sourceSegments": 1,
    "sourceSegmentsDuration": 1,
    "streamKey": "hgebdhhigq",
    "suspended": true,
    "transcodedBytes": 2,
    "transcodedSegments": 2,
    "transcodedSegmentsDuration": 2
  }
]

Authorizations

Authorization
string
headerrequired

Bearer api-key

Query Parameters

streamsonly
string

Response

200 - application/json
createdAt
number

Timestamp (in milliseconds) at which stream object was created

createdByTokenName
string

Name of the token used to create this object

creatorId
object
id
string
ingestRate
number

Rate at which sourceBytes increases (bytes/second)

isActive
boolean

If currently active

isHealthy
boolean

Indicates whether the stream is healthy or not.

issues
string[]

A string array of human-readable errors describing issues affecting the stream, if any.

lastSeen
number
multistream
object
name
string
required
outgoingRate
number

Rate at which transcodedBytes increases (bytes/second)

parentId
string

Points to parent stream object

playbackId
string

Used to form playback URL

playbackPolicy
object

Whether the playback policy for a asset or stream is public or signed

profiles
object[]
record
boolean

Should this stream be recorded? Uses default settings. For more customization, create and configure an object store.

sourceBytes
number
sourceSegments
number
sourceSegmentsDuration
number

Duration of all the source segments, sec

streamKey
string

Used to form RTMP ingest URL

suspended
boolean

If currently suspended

transcodedBytes
number
transcodedSegments
number
transcodedSegmentsDuration
number

Duration of all the transcoded segments, sec