v1

latestOpenAPI 3.0.3MIT2026-07-22153276289.7 KB
Validation Results

Create a validation result

Create a validation result.

post/v3/validation_results

Request body

annotationsinteger[] required

List of annotation ids that were validated

passedboolean nullable

Whether the validation passed or not, null if the validation was not applicable

ruleSlugstring required

The kebab-case slug of the validation rule that was applied

messagestring required

Message explaining why the validation failed

documentstring required

Unique identifier for the document

Example request

{
  "annotations": [
    1,
    2,
    3
  ],
  "passed": true,
  "ruleSlug": "supplier-name-is-alphanumeric",
  "message": "Expected 'ThisInputShouldMatch' to match regex pattern '[0-9]*"
}

Response

Successfully created a validation result.

idinteger required

Validation Result's ID

annotationsinteger[] required

List of annotation ids that were validated

passedboolean nullable required

Whether the validation passed or not, null if the validation was not applicable

ruleSlugstring required

The kebab-case slug of the validation rule that was applied

messagestring required

Message explaining why the validation failed

documentstring required

Unique identifier for the document

Example response

{
  "id": 1,
  "annotations": [
    1,
    2,
    3
  ],
  "passed": true,
  "ruleSlug": "supplier-name-is-alphanumeric",
  "message": "Expected 'ThisInputShouldMatch' to match regex pattern '[0-9]*"
}