Step 2 10 min

Replay an Agent Action

Query the audit trail and step through a signed action with full proof.

Query the Audit Trail

Audit Trail Querytypescript
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,
  );
});
Response200 OK
{
  "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
    }
  ]
}

What Each Entry Contains

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