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

Substream Source Journal

Returns a paginated list of journal entries (events and state changes) for the source connection of a specific substream.

Request

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

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
streamKeystringYesStream key
substreamNamestringYesSubstream name
Request
Code iconbash
curl -X GET "{BASE_URL}/api/streams/{appName}/{streamKey}/{substreamName}/source/journal" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Body

Pagination

ParameterTypeDescription
data.totalItemsintegerTotal number of journal entries
data.itemsPerPageintegerNumber of items per page
data.totalPagesintegerTotal number of pages
data.currentPageintegerCurrent page number
data.hasPreviousbooleanIndicates if a previous page exists
data.hasNextbooleanIndicates if a next page exists
data.lastTimestampintegerTimestamp of the most recent entry (Unix timestamp in ms)
data.listarrayArray of journal entry objects

Journal Entry

ParameterTypeDescription
data.list[].idintegerUnique identifier of the journal entry
data.list[].messagestringJSON-encoded message describing the event
data.list[].threadNamestringThread name that generated the entry
data.list[].createDateintegerEntry creation timestamp (Unix timestamp in ms)
data.list[].pipelineStatestringPipeline state at the time of entry

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "totalItems": 3,
    "itemsPerPage": 20,
    "totalPages": 1,
    "currentPage": 1,
    "hasPrevious": false,
    "hasNext": false,
    "lastTimestamp": 1764683374354,
    "list": [
      {
        "id": 2,
        "message": "{\"packetID\":\"metadataUpdate\",\"data\":{...}}",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374354,
        "pipelineState": "PUBLISHED"
      },
      {
        "id": 1,
        "message": "{\"packetID\":\"streamRequestResult\",\"data\":{...}}",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374351,
        "pipelineState": "CONNECTING"
      },
      {
        "id": 0,
        "message": "{\"packetID\":\"serverHandshake\",\"data\":{...}}",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374342,
        "pipelineState": "CONNECTING"
      }
    ]
  },
  "meta": {
    "executionTime": 2,
    "generatedAt": 1764757763060
  }
}

Error Responses

Substream Not Found (404)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Substream not found"
}
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.