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

Substream Journal

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

Request

PropertyValue
MethodGET
URL/api/streams/{appName}/{streamKey}/{substreamName}/journal
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X GET "{BASE_URL}/api/streams/{appName}/{streamKey}/{substreamName}/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}/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)

Journal Object

ParameterTypeDescription
data.list[].idintegerUnique identifier of the journal entry
data.list[].messagestringJournal 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": "Source State Change: PUBLISHED",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374354,
        "pipelineState": "PUBLISHED"
      },
      {
        "id": 1,
        "message": "Publish State Change: true",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374353,
        "pipelineState": "AWAITING"
      }
    ]
  },
  "meta": {
    "executionTime": 0,
    "generatedAt": 1764757002390
  }
}

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.