Streams
Get Stream Config
Retrieve the configuration of a stream
GET
Get Stream Config
Overview
Retrieve the current configuration settings for a stream, including storage class, retention policy, timestamping behavior, and delete-on-empty settings.Authentication
This endpoint requires authentication via theS2-Basin header containing your basin name.
Path Parameters
string
required
The name of the stream.Example:
logs/applicationResponse
string
Storage class for recent writes:
standard- Append tail latency under 400msexpress- Append tail latency under 40ms
object
Retention policy for the stream.
object
Timestamping behavior configuration.
object
Automatic deletion configuration for empty streams.
Example Request
cURL
Stream names in the URL must be properly URL-encoded. For example,
logs/application becomes logs%2Fapplication.Example Response
Error Responses
- 404 Not Found - Stream does not exist
- 400 Bad Request - Invalid stream name
- 403 Forbidden - Insufficient permissions to view the configuration