Skip to main content
GET
List Streams

Overview

List all streams in a basin with optional filtering by prefix. Results are paginated with a maximum of 1000 streams per request.

Authentication

This endpoint requires authentication via the S2-Basin header containing your basin name.

Query Parameters

string
Filter to streams whose names begin with this prefix.Example: logs/ would match logs/app and logs/system but not metrics/cpu
string
Filter to streams whose names lexicographically start after this string. Must be greater than or equal to the prefix if specified.Used for pagination - pass the last stream name from the previous page to get the next page of results.
number
default:"1000"
Number of results to return. Maximum value is 1000.

Response

StreamInfo[]
Array of matching streams.
boolean
Indicates that there are more results that match the criteria. Use the last stream name with start_after to retrieve the next page.

Example Request

cURL

Example Response

Pagination Example

To retrieve all streams with pagination: