GET
/
streams
/
{stream}
/
records
/
tail
curl --request GET \
  --url https://{basin}.b.aws.s2.dev/v1/streams/{stream}/records/tail \
  --header 'Authorization: Bearer <token>'
{
  "tail": {
    "seq_num": 1,
    "timestamp": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

stream
string
required

Stream name, which must be unique within the basin. It can be an arbitrary string upto 512 characters. Backslash (/) is recommended as a delimiter for hierarchical naming.

Response

200
application/json
tail
object
required

Sequence number that will be assigned to the next record on the stream, with timestamp of the last record.