Update
AI-generatedSummary
Update an existing LLM result for a specific document and prompt revision in DocRouter.ai with user-edited data, optionally marking the result as verified.
Inputs
- Document ID (required) — Specify the ID of the document whose LLM result you want to update.
- Prompt Revision ID (required) — Provide the prompt revision ID, e.g., "default", to identify the specific prompt revision for the update.
- Updated LLM Result (required) — Pass the updated LLM result object containing user edits in JSON format.
- Is Verified — Optionally mark the updated result as verified by setting this boolean flag.
Output shape
a single JSON object reflecting the updated LLM result and the operation status.
The operation returns the updated LLM result in JSON format. If an error occurs, it will be included in the output for the corresponding input item. Prompt Revision ID is mandatory; omitting it results in an error.
Examples
Example 1: Update an LLM analysis result with corrections and mark as verified
Set 'Document ID' to target document, 'Prompt Revision ID' to the relevant revision (e.g., 'default'), provide the edited LLM result JSON under 'Updated LLM Result', and set 'Is Verified' to true.