Check the tail.
curl --request GET \
--url https://{basin}.b.s2.dev/v1/streams/{stream}/records/tail \
--header 'Authorization: Bearer <token>'{
"tail": {
"seq_num": 1,
"timestamp": 1
}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}records
Check the tail.
Check the current tail of an S2 stream.
GET
/
streams
/
{stream}
/
records
/
tail
Check the tail.
curl --request GET \
--url https://{basin}.b.s2.dev/v1/streams/{stream}/records/tail \
--header 'Authorization: Bearer <token>'{
"tail": {
"seq_num": 1,
"timestamp": 1
}
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Read interfaces
See when to use reads, read sessions, or check-tail calls.
Stream positions
Head, tail, sequence numbers, and timestamps.
Reading SDK
Check the tail from SDK clients.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Path Parameters
Stream name.
Required string length:
1 - 512Response
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record.
Show child attributes
Show child attributes

