Get stream configuration.
curl --request GET \
--url https://{basin}.b.s2.dev/v1/streams/{stream} \
--header 'Authorization: Bearer <token>'{
"delete_on_empty": {
"min_age_secs": 1
},
"retention_policy": {
"age": 1
},
"storage_class": "standard",
"timestamping": {
"mode": "client-prefer",
"uncapped": true
}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}streams
Get stream configuration.
Get an S2 stream’s current configuration.
GET
/
streams
/
{stream}
Get stream configuration.
curl --request GET \
--url https://{basin}.b.s2.dev/v1/streams/{stream} \
--header 'Authorization: Bearer <token>'{
"delete_on_empty": {
"min_age_secs": 1
},
"retention_policy": {
"age": 1
},
"storage_class": "standard",
"timestamping": {
"mode": "client-prefer",
"uncapped": true
}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}This endpoint returns reconfigurable stream settings such as storage class and retention. It does not expose the stream’s immutable
cipher which can be inspected by listing.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Path Parameters
Stream name.
Required string length:
1 - 512Response
Delete-on-empty configuration.
Show child attributes
Show child attributes
Retention policy for the stream. If unspecified, the default is to retain records for 7 days.
- Option 1
- Option 2
Show child attributes
Show child attributes
Storage class for recent writes.
Available options:
standard, express Timestamping behavior.
Show child attributes
Show child attributes

