Groundeddocs
ReferenceAdmin

Documents that failed or need OCR, by team, source and reason, without names or text (platform admins and auditors)

GET/v1/admin/parsing/document-problems

Admin, Parsing & OCR (owner decision 3 of docs/v0.2.0.md section 7). Counts per team, source and reason class with the oldest date: no document file names, titles, URLs or text. A document that failed or was skipped as scanned (needs_ocr) is counted; documents that are waiting or were skipped as empty are not.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/admin/parsing/document-problems"
{  "data": {    "items": [      {        "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",        "teamSlug": "string",        "teamName": "string",        "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2",        "sourceName": "string",        "reason": "needs_ocr",        "documents": 0,        "oldestAt": "2019-08-24T14:15:22Z",        "ocrState": "on"      }    ]  }}