public-api
Extract Async
Start an extract job: pull schema-shaped structured data out of a document.
post/api/v1/extract_async
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.
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
Idempotent replay — a job with this idempotency_key already exists; body is its current state.
Changes
No recorded changes to this operation across all 1 revision of this API.