Verify the sync state of a record
Parameters
Output
Encoding
application/jsoninSync
boolean
Required
Whether the indexed record is in sync with the PDS
indexed
boolean
Required
Whether the record is indexed
indexedAt
stringdatetime
Optional
When the record was indexed
lastSyncedAt
stringdatetime
Optional
When the record was last synced
staleDays
integer
Optional
Number of days since last sync if stale
uri
stringat-uri
Required
AT-URI of the record
Errors
InvalidRequest
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "InvalidRequest"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"indexed",
"inSync"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the record"
},
"inSync": {
"type": "boolean",
"description": "Whether the indexed record is in sync with the PDS"
},
"indexed": {
"type": "boolean",
"description": "Whether the record is indexed"
},
"indexedAt": {
"type": "string",
"format": "datetime",
"description": "When the record was indexed"
},
"staleDays": {
"type": "integer",
"description": "Number of days since last sync if stale"
},
"lastSyncedAt": {
"type": "string",
"format": "datetime",
"description": "When the record was last synced"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the record to verify"
}
}
},
"description": "Verify the sync state of a record"
}