Update
AI-generatedSummary
Update an existing schema in DocRouter.ai by specifying its stable schema ID, a new name, and a JSON schema definition.
Inputs
- Schema ID (required) — The stable identifier of the schema to update (not the revision ID).
- Name (required) — The new name for the schema.
- JSON Schema (required) — The JSON schema definition following the OpenAI structured outputs format (includes type, json_schema.name, json_schema.schema, strict).
Output shape
a single JSON object containing the updated schema details or an error response if the update fails.
The operation sends a PUT request to update the schema under the specified organization. If an error occurs and 'Continue on Fail' is enabled, the error details are returned in the output; otherwise, the node will error.