v3

latestOpenAPI 3.0.02026-07-31800117.7 KB
Capabilities

documents.repair-relationships

Retroactively diagnose and repair deterministic document relationships for a bounded document set. Uses shared schemas logic to mark true same-type duplicates and link related invoice/receipt documents.

post/capabilities/documents.repair-relationships

Request body

documentIdsstring[]

Specific document IDs to diagnose and repair together

messageIdstring

Email message ID whose extracted documents should be repaired

processedEntityIdstring

Processed entity ID whose extracted documents should be repaired

limitinteger

Maximum active documents to inspect

dryRunboolean

If true, preview deterministic repairs without writing changes

Response

Successful response

successboolean
codeinteger

Example response

{
  "success": true,
  "code": 200
}