Storm docs logo
Search the docs.../
Explore Storm Products

Source

Returns information about the source connection for a specific substream.

Request

PropertyValue
MethodGET
URL/api/streams/{appName}/{streamKey}/{substreamName}/source
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X GET "{BASE_URL}/api/streams/{appName}/{streamKey}/{substreamName}/source" \
  -H "Authorization: Bearer YOUR_TOKEN"

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
streamKeystringYesStream key
substreamNamestringYesSubstream name (e.g., "native", "720p")
Request With Parameters
Code iconbash
curl -X GET "{BASE_URL}/api/streams/{appName}/{streamKey}/{substreamName}/source" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Body

Source Info

ParameterTypeDescription
data.idstringUnique identifier of the source connection
data.statestringSource state
data.applicationstringApplication name
data.streamKeystringStream key
data.sourceTypestringSource type
data.startTimeintegerSource connection start time (Unix timestamp in ms)
data.durationintegerConnection duration in milliseconds
data.inBandwidthintegerIncoming bandwidth in bytes/sec
data.outBandwidthintegerOutgoing bandwidth in bytes/sec
data.inTotalBytesintegerTotal incoming bytes
data.outTotalBytesintegerTotal outgoing bytes
data.videoPacketCountintegerTotal video packets received
data.audioPacketCountintegerTotal audio packets received
data.dataPacketCountintegerTotal data packets received

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "id": "v_0z1pvyxhmiomx229",
    "state": "PUBLISHED",
    "application": "edge",
    "streamKey": "f1",
    "sourceType": "WS_CLIENT",
    "startTime": 1764683374353,
    "duration": 74184447,
    "inBandwidth": 569986,
    "outBandwidth": 569986,
    "inTotalBytes": 34011182696,
    "outTotalBytes": 34011182696,
    "videoPacketCount": 2225553,
    "audioPacketCount": 3477408,
    "dataPacketCount": 0
  },
  "meta": {
    "executionTime": 3,
    "generatedAt": 1764757558705
  }
}

Error Response (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
Substream Not Found (404)
Code iconjson
{
  "message": "Substream not found"
}
Error Response
Code iconjson
{
  "message": "Error message"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.