pub.chive.admin.getBackfillStatus
Get status of backfill operations
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | admin.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.backfillOperation.properties.errorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.backfillOperation.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.backfillOperation.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.backfillOperation.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"backfillOperation": {
"description": "A backfill operation record",
"properties": {
"completedAt": {
"description": "Operation completion time",
"format": "datetime",
"type": "string"
},
"error": {
"description": "Error message if failed",
"type": "string"
},
"id": {
"description": "Operation ID",
"type": "string"
},
"recordsProcessed": {
"description": "Number of records processed so far",
"type": "integer"
},
"startedAt": {
"description": "Operation start time",
"format": "datetime",
"type": "string"
},
"startedBy": {
"description": "DID of the admin who started the operation",
"format": "did",
"type": "string"
},
"status": {
"description": "Operation status",
"knownValues": [
"running",
"completed",
"failed",
"cancelled"
],
"type": "string"
},
"totalRecords": {
"description": "Total records to process (if known)",
"type": "integer"
},
"type": {
"description": "Backfill operation type",
"knownValues": [
"pds-scan",
"freshness-scan",
"citation-extraction",
"full-reindex",
"governance-sync",
"did-sync"
],
"type": "string"
}
},
"required": [
"id",
"type",
"status",
"startedAt",
"recordsProcessed"
],
"type": "object"
},
"main": {
"description": "Get status of backfill operations",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"operation": {
"description": "Single operation (when filtered by ID)",
"ref": "#backfillOperation",
"type": "ref"
},
"operations": {
"description": "Backfill operations",
"items": {
"ref": "#backfillOperation",
"type": "ref"
},
"type": "array"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"id": {
"description": "Filter by specific operation ID",
"type": "string"
},
"status": {
"description": "Filter by operation status",
"knownValues": [
"running",
"completed",
"failed",
"cancelled"
],
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.admin.getBackfillStatus",
"lexicon": 1,
"revision": 1
}