full diff

pub.chive.admin.getBackfillStatus

From
bafyreie74fbimxbmdgln5rrt4vdhbp6tcjnna3porwoejtcp67zlaeyaba indexed 2026-06-18 13:14 UTC View this version
To
bafyreie74fbimxbmdgln5rrt4vdhbp6tcjnna3porwoejtcp67zlaeyaba indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "backfillOperation": {
55 "description": "A backfill operation record",
66 "properties": {
77 "completedAt": {
88 "description": "Operation completion time",
99 "format": "datetime",
1010 "type": "string"
1111 },
1212 "error": {
1313 "description": "Error message if failed",
1414 "type": "string"
1515 },
1616 "id": {
1717 "description": "Operation ID",
1818 "type": "string"
1919 },
2020 "recordsProcessed": {
2121 "description": "Number of records processed so far",
2222 "type": "integer"
2323 },
2424 "startedAt": {
2525 "description": "Operation start time",
2626 "format": "datetime",
2727 "type": "string"
2828 },
2929 "startedBy": {
3030 "description": "DID of the admin who started the operation",
3131 "format": "did",
3232 "type": "string"
3333 },
3434 "status": {
3535 "description": "Operation status",
3636 "knownValues": [
3737 "running",
3838 "completed",
3939 "failed",
4040 "cancelled"
4141 ],
4242 "type": "string"
4343 },
4444 "totalRecords": {
4545 "description": "Total records to process (if known)",
4646 "type": "integer"
4747 },
4848 "type": {
4949 "description": "Backfill operation type",
5050 "knownValues": [
5151 "pds-scan",
5252 "freshness-scan",
5353 "citation-extraction",
5454 "full-reindex",
5555 "governance-sync",
5656 "did-sync"
5757 ],
5858 "type": "string"
5959 }
6060 },
6161 "required": [
6262 "id",
6363 "type",
6464 "status",
6565 "startedAt",
6666 "recordsProcessed"
6767 ],
6868 "type": "object"
6969 },
7070 "main": {
7171 "description": "Get status of backfill operations",
7272 "errors": [
7373 {
7474 "name": "AuthenticationRequired"
7575 },
7676 {
7777 "name": "AdminRequired"
7878 }
7979 ],
8080 "output": {
8181 "encoding": "application/json",
8282 "schema": {
8383 "properties": {
8484 "operation": {
8585 "description": "Single operation (when filtered by ID)",
8686 "ref": "#backfillOperation",
8787 "type": "ref"
8888 },
8989 "operations": {
9090 "description": "Backfill operations",
9191 "items": {
9292 "ref": "#backfillOperation",
9393 "type": "ref"
9494 },
9595 "type": "array"
9696 }
9797 },
9898 "type": "object"
9999 }
100100 },
101101 "parameters": {
102102 "properties": {
103103 "id": {
104104 "description": "Filter by specific operation ID",
105105 "type": "string"
106106 },
107107 "status": {
108108 "description": "Filter by operation status",
109109 "knownValues": [
110110 "running",
111111 "completed",
112112 "failed",
113113 "cancelled"
114114 ],
115115 "type": "string"
116116 }
117117 },
118118 "type": "params"
119119 },
120120 "type": "query"
121121 }
122122 },
123123 "id": "pub.chive.admin.getBackfillStatus",
124124 "lexicon": 1,
125125 "revision": 1
126126}