Groundeddocs
ReferenceAdmin

Queue a shared source's documents with one error code again (platform admins)

POST/v1/admin/shared-sources/{sourceId}/documents/retry

Queues the source's failed or skipped documents with the error code again, for example every document skipped as scanned (needs_ocr) once OCR is on. 400 invalid_error_code for other codes. Audited (document.retry_bulk).

Path Parameters

sourceId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/shared-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/retry" \  -H "Content-Type: application/json" \  -d '{    "errorCode": "needs_ocr"  }'
{  "data": {    "retried": 0  }}