at.happyproto.fleet.listInstances
The reporting fleet, one row per instance, from its most recent snapshot. Admin only.
Details · query
| Kind | query |
|---|---|
| Authority | fleet.happyproto.at |
| Indexed |
Checks
Validunlimited-stringdefs.instance.properties.instanceIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.reportModeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instance.properties.versionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"consent": {
"properties": {
"total": {
"type": "integer"
},
"withContact": {
"type": "integer"
},
"withHost": {
"type": "integer"
},
"withLexiconNames": {
"type": "integer"
}
},
"required": [
"total"
],
"type": "object"
},
"instance": {
"properties": {
"instanceId": {
"type": "string"
},
"lastSeen": {
"format": "datetime",
"type": "string"
},
"lexicons": {
"type": "integer"
},
"records": {
"type": "integer"
},
"reportMode": {
"knownValues": [
"auto",
"manual"
],
"type": "string"
},
"scriptErrors": {
"type": "integer"
},
"spaces": {
"type": "integer"
},
"users": {
"type": "integer"
},
"version": {
"type": "string"
}
},
"required": [
"instanceId",
"lastSeen",
"version",
"reportMode"
],
"type": "object"
},
"main": {
"description": "The reporting fleet, one row per instance, from its most recent snapshot. Admin only.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is not a HappyProto admin.",
"name": "Forbidden"
},
{
"description": "The telemetry store could not be queried.",
"name": "Upstream"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"consent": {
"description": "What the fleet has consented to share. Absence of a field is a consent decision, not a gap in collection.",
"ref": "#consent",
"type": "ref"
},
"instances": {
"items": {
"ref": "#instance",
"type": "ref"
},
"type": "array"
}
},
"required": [
"instances",
"consent"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "at.happyproto.fleet.listInstances",
"lexicon": 1
}