public-api
Extract Sync
Extract structured data from a document and wait for the result.
post/api/v1/extract
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
timeout_secondsnumber
Max seconds to wait before returning 408 (the job keeps running; poll GET /jobs/{job_id}).
Request body
Example request
{
"schema": {
"additionalProperties": false,
"properties": {
"invoice_number": {
"description": "Invoice identifier.",
"type": "string"
},
"inspection_year": {
"description": "Inspection year, or null when the document does not establish one.",
"type": [
"integer",
"null"
]
}
},
"type": "object"
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.