Skip to main content
GET
Get validity results for a specific document

Authorizations

Authorization
string
header
required

Machine-to-machine clients use the OAuth 2.0 client credentials grant. Each tenant has its own authorization server: in the token URL below, replace tenant with your tenant identifier.

Headers

tenant
string
required

Your tenant identifier. Requests without it are rejected.

Path Parameters

policyId
string
required
Pattern: ^policy(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$
documentId
string
required
Pattern: ^document(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$

Response

documentId
string
required

Document ID

status
enum<string>
required

Overall validity status

Available options:
PENDING,
VALID,
INVALID,
FAILED,
SKIPPED
results
object[]
required

Results for each validity rule

aiMetadata
object

AI validity metadata

checkedAt
string

Last check timestamp

override
object

Override metadata if validity was manually overridden