Tracira icon

Tracira

Check and inspect your AI outputs in Tracira

Output → Set a Decision

AI-generated

Summary

Set a decision on an existing AI output by approving, rejecting, editing, or marking it as handled. When editing, either provide a corrected version directly or instruct the AI to redo the output.

Inputs

  • Output ID (required) — The ID of the output to set the decision on.
  • Decision (required) — Choose to approve, reject, edit (changed), or mark as handled. Reject stops the workflow; edit requires further details.
  • How (required) — When the decision is 'changed', specify whether you have the corrected output or want to ask the AI to redo it.
  • Corrected Output (required) — Provide the corrected output if 'How' is set to 'I Have the Corrected Version'.
  • Comment (required) — Provide a comment or instructions for the AI if 'How' is set to 'Ask the AI to Redo It'.

Output shape

a single JSON object representing the updated output with its new decision status

If the decision is 'changed', the corrected output or redo instruction affects the data that arrives on the Tracira Trigger as both output and correctedOutput. The API request PATCHes the decision endpoint for the specified output ID.

Examples

Example 1: Approve an output by ID

Set Output ID to the target output and Decision to 'Approve'.

Example 2: Reject an output by ID

Set Output ID to the target output and Decision to 'Reject'. Reject will halt workflow progression.

Example 3: Edit output by providing corrected version

Set Output ID, Decision to 'Edit', How to 'I Have the Corrected Version', and provide the corrected output text.

Links

Discussion