Schemas
Update a schema
Partially update a schema. name and description are patched independently; omitted keys are left unchanged. If definition.properties or a non-empty fields array is provided, all existing fields are replaced with the new set. PUT on this path delegates to the same handler, so both methods accept the same body and behave identically. Schemas managed by a Spec document are read-only through the public API and return 409 Conflict.
patch/v1/schemas/{id}
Request
- Base URL: https://api.talonic.com
- URL: https://api.talonic.com/v1/schemas/{id}
- Auth: HTTP bearer
Path parameters
idstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource UUID.
Request body
Example request
{
"fields": [
{
"field_name": "invoice_number",
"display_name": "Invoice Number",
"data_type": "string"
}
]
}Response
Schema updated.
Example response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"short_id": "SCH-A1B2C3D4",
"spec_id": "e2144027-39c0-44e8-a196-72be1e360749",
"spec_version": 3,
"spec_materialized_version": 3,
"name": "Invoice Schema",
"description": "Standard invoice fields for AP processing.",
"definition": {
"type": "object",
"properties": {
"invoice_number": {
"type": "string",
"title": "Invoice Number"
},
"total_amount": {
"type": "number",
"title": "Total Amount",
"description": "Total invoice amount including tax"
}
},
"required": [
"invoice_number"
]
},
"field_count": 8,
"version": 1,
"created_at": "2026-04-25T14:30:00.000Z",
"updated_at": "2026-04-25T14:30:00.000Z"
}