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

curl -X POST 'https://api.dmzagent.com/v1/agent-outputs/OUTPUT_ID/ack' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"ack_ref": "TICKET-123"}'

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.