Skip to content

Learn · Tutorials

Tutorial: close the review loop

Acknowledge a completed fix so the decision record closes.

When a person approves a held action, the platform dispatches the fix to your system — but the record stays open until your system says the work is done. This tutorial closes that loop.

Post the acknowledgment

from dmzagent import Client

client = Client(api_key="YOUR_API_KEY")
client.ack_output(
    output_id="OUTPUT_ID",
    ack_ref=your_ticket_id,  # idempotent on (output_id, ack_ref)
)

Idempotent: sending the same output id and reference twice is safe.

Why it matters

The decision trail now shows the whole story: proposed, held, approved, dispatched, and acknowledged — with your own ticket or change id attached. If no acknowledgment arrives in time, the record marks itself failed instead of pretending the fix landed.