ReferenceData sources
Queue a source's documents with one error code again (team editors)
POST
/v1/teams/{team}/sources/{sourceId}/documents/retryQueues 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
team*string
Team slug or ID
sourceId*string
Format
uuidRequest 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/teams/string/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/retry" \ -H "Content-Type: application/json" \ -d '{ "errorCode": "needs_ocr" }'{ "data": { "retried": 0 }}