Documents
Add a schema version
Saves the next version of one of the account's schemas. Free, and works at any balance.
- Earlier versions stay as they were, so an extract that names schema_version keeps getting the same schema.
- name and description, when left out, carry over from the previous version.
post/v1/extraction-schemas/{id}/versions
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The schema's schema_id (sch_...). An id longer than 128 characters answers 404 with code not_found, not schema_not_found.
Request body
Response
The new version.
Changes
No recorded changes to this operation across all 1 revision of this API.