network.bsky.jetstream.listSegments
Enumerate sealed segment files available for download, in ascending index order.
Details · query
| Kind | query |
|---|---|
| Authority | jetstream.bsky.network |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.segment.properties.checksumNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.segment.properties.nameNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Enumerate sealed segment files available for download, in ascending index order.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"segments": {
"items": {
"ref": "#segment",
"type": "ref"
},
"type": "array"
}
},
"required": [
"segments"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "Opaque pagination cursor from a previous response.",
"type": "string"
},
"limit": {
"default": 100,
"description": "Maximum number of segment file names to return.",
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"segment": {
"properties": {
"checksum": {
"description": "Segment-format xxh3 metadata checksum as 16-char hex; equals the getSegment ETag.",
"type": "string"
},
"eventCount": {
"description": "Number of events in the segment.",
"type": "integer"
},
"index": {
"description": "Zero-based segment index.",
"type": "integer"
},
"maxSeq": {
"type": "integer"
},
"maxWitnessedAt": {
"description": "Latest witnessed-at, unix microseconds.",
"type": "integer"
},
"minSeq": {
"type": "integer"
},
"minWitnessedAt": {
"description": "Earliest witnessed-at, unix microseconds.",
"type": "integer"
},
"name": {
"description": "Segment filename; pass to getSegment.",
"type": "string"
},
"sizeBytes": {
"description": "File size in bytes.",
"type": "integer"
}
},
"required": [
"name",
"index",
"sizeBytes",
"checksum",
"eventCount",
"minSeq",
"maxSeq",
"minWitnessedAt",
"maxWitnessedAt"
],
"type": "object"
}
},
"id": "network.bsky.jetstream.listSegments",
"lexicon": 1
}