curl 'https://stream.tonbo.dev/ds/demo/streams'
curl 'https://stream.tonbo.dev/ds/demo/streams?prefix=session-&limit=100'
{
"bucket_id": "demo",
"prefix": "",
"stream_count": 2,
"streams": [
{
"stream_id": "hello",
"status": "open",
"content_type": "application/json",
"tail_offset": 42,
"created_at_ms": 1711234567890,
"last_write_at_ms": 1711234599000
}
],
"next_cursor": "hello",
"has_more": false
}
Buckets
List streams
List streams within a bucket with optional prefix filtering and pagination.
GET
/
ds
/
{bucket}
/
streams
curl 'https://stream.tonbo.dev/ds/demo/streams'
curl 'https://stream.tonbo.dev/ds/demo/streams?prefix=session-&limit=100'
{
"bucket_id": "demo",
"prefix": "",
"stream_count": 2,
"streams": [
{
"stream_id": "hello",
"status": "open",
"content_type": "application/json",
"tail_offset": 42,
"created_at_ms": 1711234567890,
"last_write_at_ms": 1711234599000
}
],
"next_cursor": "hello",
"has_more": false
}
Response
| Status | Meaning |
|---|---|
200 | Streams listed. |
400 | Invalid bucket ID or limit out of range. |
404 | Bucket not found. |
Show properties
Show properties
curl 'https://stream.tonbo.dev/ds/demo/streams'
curl 'https://stream.tonbo.dev/ds/demo/streams?prefix=session-&limit=100'
{
"bucket_id": "demo",
"prefix": "",
"stream_count": 2,
"streams": [
{
"stream_id": "hello",
"status": "open",
"content_type": "application/json",
"tail_offset": 42,
"created_at_ms": 1711234567890,
"last_write_at_ms": 1711234599000
}
],
"next_cursor": "hello",
"has_more": false
}

