document-operations
validate_extract_schema
Validate an extraction schema without creating a job or consuming credits.
Cost class: fast (pure validation, no I/O, no model inference).
Use this before submitting an extract job to catch schema errors up front. On success valid=True and normalized_schema carries the compiled form the extraction pipeline will use. On failure valid=False and errors lists every violation — the whole list, not just the first.
post/v1/extract/schema-validation
Request
- Base URLhttps://ndi-api.nace.ai
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.