Trace a unit
trace_unitThe whole history of one serialized unit: every custody hop from commissioning to dispensing, whether the append-only log has been tampered with, and what each regulation makes of it. Use this to answer "where has this been", "who handled it", "is its record trustworthy" and "does this unit pass DSCSA / the EU passport rules". Every failing check cites the clause it enforces — quote the clause, not just the verdict. IMPORTANT: verdicts are readiness signals, never a legal compliance determination, and the response says so. Never report one as confirmation that a product is compliant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | Optional: "dscsa" or "dpp". Omit to judge under every pack. | |
| unit_id | Yes | The unit id (cun_...). Use find_unit first if you only have a scan. |