Streams
List Streams
Retrieve a paginated list of streams in a basin
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 theS2-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/cpustring
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