Precision Retry

Retry With Precision

Changed on

Retry document processing with enhanced Gemini vision

This endpoint:

  1. Accepts a list of document IDs to retry
  2. Fetches original images from S3
  3. Processes with Gemini 2.5 Flash for best accuracy
  4. Updates database with improved structured data
  5. Returns updated results

Example request:

POST /api/precision/retry
{
    "document_ids": ["doc-id-1", "doc-id-2"],
    "batch_id": "batch-id-123",
    "apply_to_all_pages": false
}

Returns: List of results for each document processed

post/api/precision/retry

Request

  • Base URL
    https://api.qomplement.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.qomplement.com/api/precision/retry
  • Auth
    HTTP bearer

Request body

document_idsstring[] required
batch_idstring required
apply_to_all_pagesboolean
page_numbersinteger[] nullable
schema_fieldsobject[] nullable

Response

Successful Response

unknown required

Changes