List log segments whose start sequence falls within the given range. Segments are the physical storage units of the log.
cURL
curl --request GET \ --url http://localhost:3001/api/v1/log/segments
{ "status": "success", "segments": [ { "id": 0, "startSeq": 0, "startTimeMs": 1705766400000 } ] }
Start sequence number (inclusive). Defaults to 0.
0
x >= 0
End sequence number (exclusive). Defaults to max uint64.
max uint64
List of segments.
Response listing log segments.
"success"
Show child attributes