Delete
AI-generatedSummary
Delete a specific LLM result for a given document and prompt revision in DocRouter.ai.
Inputs
- Document ID (required) — The ID of the document whose LLM result is to be deleted.
- Prompt Revision ID (required) — The prompt revision ID specifying which LLM result version to delete (e.g., "default").
Output shape
a single JSON object confirming success along with the document ID and prompt revision ID.
The output contains a success confirmation JSON with keys: success (true), documentId, and promptRevid. An error is thrown if the required Prompt Revision ID is missing or if the organization ID cannot be determined from the API token.
Examples
Example 1: Delete the LLM result for document "doc123" with the prompt revision "default".
Set Document ID to 'doc123' and Prompt Revision ID to 'default' with operation set to 'Delete'. The node returns a JSON indicating success and the IDs deleted.