Skip to content

Read records

GET
/{stream}

Parameters

Query Parameters

seq

Start sequence number, or "now" for the current tail

Type
string
Default
"0"
count

Maximum records to return

Type
integer
Minimum
1
bytes

Maximum payload bytes per page, up to 4 MiB (default 64 KiB)

Type
integer
Minimum
1
format
Type
string
Valid values
"json""binary""raw"
Default
"json"
live
Type
string
Valid values
"long-poll""sse"
cursor
Type
string

Responses

Records from seq

JSON
[
  
{
  
  
"seq": 0,
  
  
"timestamp": 0,
  
  
"headers": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"body": "string",
  
  
"body_b64": "string"
  
}
]

Playground

Variables
Key
Value

Samples