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.
Args: body: Exactly one of schema_id or schema. Optional schema_version pins a registry version when schema_id is set. caller: Authenticated tenant used to resolve tenant/platform schemas. session: Database session.
Returns: An :class:ExtractSchemaValidationResponse.
Raises: PlatformError: schema_not_found when schema_id is unknown.
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
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.