Query the audit trail and step through a signed action with full proof.
const audit = await fetch('https://api.mosscomputing.com/v1/agents/{agent_id}/audit', {
headers: { 'Authorization': 'Bearer ' + access_token },
}).then(r => r.json());
audit.entries.forEach(entry => {
console.log(
entry.timestamp,
entry.policy_decision,
entry.action.description,
);
});{
"entries": [
{
"envelope_id": "env_abc123",
"timestamp": "2026-08-25T10:00:00Z",
"policy_decision": "allow",
"action": { "intent": "respond", "description": "Replied to customer" },
"signature": "ml_dsa_44_...",
"verified": true
}
]
}Envelope ID
Unique ID for the signed action envelope
Policy Decision
allow, block, escalate, or report
ML-DSA-44 Signature
Post-quantum cryptographic signature
Verified
Whether the signature has been verified