Create a validation result for document annotations in Affinda. Use this tool to record validation outcomes after parsing a document. Validation results track whether specific annotations (extracted data fields) pass or fail business rules. Prerequisites: 1. Get a document ident…
passedbooleanWhether the validation passed (true), failed (false), or is not applicable (null/omitted).
messageRequiredstringHuman-readable message explaining why the validation passed or failed.
documentRequiredstringUnique identifier of the document being validated. Obtain from Get Documents or Create Document actions.
ruleSlugRequiredstringThe kebab-case slug identifier of the validation rule being applied. Must match pattern: lowercase letters, numbers, and hyphens only (e.g., 'field-is-required', 'amount-is-positive').
annotationsRequiredarrayList of annotation IDs that this validation result applies to. Obtain annotation IDs from the Get Annotations action for a specific document.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.