genericAny other document
Any document, with your own extraction schema.
- Category
- Other
- Country
- International
- Fields it extracts
- 0 fields
- Cost
- 1 credit
genericspecimenIf your document is not in the catalog, use the "any other document" type and define the fields you want to extract. Constaia returns each field with its confidence level and its position in the document.
What it checks
It has no automatic checks of its own: your rules apply (required fields, dates and holder).
Fields it extracts
Where it is used
Sample request
curl https://api.constaia.com/v1/analyze \
-H "Authorization: Bearer $CONSTAIA_API_KEY" \
-F "file=@document.pdf" \
-F 'options={
"expect": "generic",
"checks": {},
"storage": "none"
}'Sample response
Fictitious data. Shortened response.
{
"id": "an_01J9Z3K8QW4T6Y2B7N5M1R0PXC",
"object": "analysis",
"status": "completed",
"livemode": false,
"document": {
"type": "generic",
"label": "Any other document",
"confidence": 0.97
},
"verdict": {
"expected": [
"generic"
],
"match": true,
"status": "valid",
"reasons": [
{
"code": "type_match",
"severity": "info",
"message": "The document is: Any other document."
}
]
},
"fields": {
"title": {
"value": "Acta de la asamblea general",
"confidence": 0.99,
"validated": true
},
"date": {
"value": "2026-06-20",
"confidence": 0.98,
"validated": null
}
},
"checks": [],
"warnings": [],
"storage": {
"mode": "none",
"file_deleted_at": "2026-09-29T10:00:02Z",
"expires_at": null
},
"usage": {
"credits": 1,
"pages": 1
}
}FAQ
Does Constaia prove that the document is authentic?
No. It checks the type, the consistency of the data and your rules, and flags signals such as a possible edit or a photo of a screen. That does not prove authenticity.
Is a copy of the document kept?
Only if it needs review: then it's kept encrypted until someone decides and for 24 hours after that (configurable). Otherwise it's deleted as soon as the analysis ends. You can choose never to keep it.
And for the record…
Create your free account and validate your first document in five minutes. No credit card required.