Documents
Save an extraction schema
Saves version 1 of a new schema under a generated schema_id. POST /v1/documents/extract can then name it with schema_id instead of sending schema inline. Free, and works at any balance.
- Access: only this account can see or use it.
- Changes: schemas can't be edited. Add a version instead.
- Retention: the schema, with every version, is kept until you delete it or close your account.
- Retries: a retried create saves a second schema.
post/v1/extraction-schemas
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The saved schema.
Changes
No recorded changes to this operation across all 1 revision of this API.