create_extraction_schema_version
curl --request POST \
--url https://ndi-api.nace.ai/v1/extraction-schemas/{schema_id}/versions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"schema": {}
}'{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"owner": "platform",
"schema": {},
"schema_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"version": 2,
"description": "<string>"
}{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}create_extraction_schema_version
Validate and append the next immutable integer version of a tenant-owned family.
POST
/
v1
/
extraction-schemas
/
{schema_id}
/
versions
create_extraction_schema_version
curl --request POST \
--url https://ndi-api.nace.ai/v1/extraction-schemas/{schema_id}/versions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"schema": {}
}'{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"owner": "platform",
"schema": {},
"schema_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"version": 2,
"description": "<string>"
}{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}Authorizations
Path Parameters
Stable schema family id (sch_...).
Body
application/json
Append the next immutable version of an existing tenant-owned family.
Omitted name / description inherit the previous version's values so
callers can ship a schema-only change without restating metadata.
Response
Successful Response
One immutable schema version, including the frozen JSON Schema body.
Required string length:
1 - 128Available options:
platform, tenant Show child attributes
Show child attributes
Required range:
x >= 1Required string length:
1 - 2000