com.atproto.sync.getHostStatus
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Returns information about a specified upstream host, as consumed by the server. Implemented by relays.",
"errors": [
{
"name": "HostNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"accountCount": {
"description": "Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts.",
"type": "integer"
},
"hostname": {
"type": "string"
},
"seq": {
"description": "Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).",
"type": "integer"
},
"status": {
"ref": "com.atproto.sync.defs#hostStatus",
"type": "ref"
}
},
"required": [
"hostname"
],
"type": "object"
}
},
"parameters": {
"properties": {
"hostname": {
"description": "Hostname of the host (eg, PDS or relay) being queried.",
"type": "string"
}
},
"required": [
"hostname"
],
"type": "params"
},
"type": "query"
}
},
"id": "com.atproto.sync.getHostStatus",
"lexicon": 1
}
Metadata
- DID
-
did:plc:6msi3pj7krzih5qxqtryxlzw - CID
-
bafyreiazetpylsjgp5qfnu6qfb6ahthgjw7spbcl7hpyiz3srl7wnebdsq - Indexed At
- 2026-02-18 19:03 UTC
- AT-URI
-
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.sync.getHostStatus
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.
-
Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.