Seal

Documentation

The action record

Last updated 6 December 2026

When your agent asks Seal before a payment or another consequential action, Seal answers allowed or refused and signs the answer either way. The signed part is an action record. This page documents it in full: the response it arrives in, every field, how the signed bytes are built, and how to check it without calling Aqta.

The format is ACTION-v1, an open specification with a frozen wire format. It is the sibling of the model-call receipt (ATTESTATION-v1, see The receipt): same issuer key, same canonicalisation rules, different subject. The receipt answers "what did the gateway decide about this model call?". The action record answers "what did the gateway decide this agent was allowed to do?".

Where the record appears

Your agent sends the exact action to POST /v1/actions/authorize: a tool name, the agent's name, and the args it intends to use. For a supplier payment the arguments name the payee, the account, the amount and the currency, and carry the approval a person signed for that invoice under aqta_grant.

The response wraps the signed record. Only record is signed; everything around it is the gateway's answer to your agent and never changes a verifier's verdict.

json
{
  "outcome": "ALLOWED",
  "action_id": "3f1c9a2e-...",
  "record": { "v": "action-1", "...": "the signed record, below" },
  "verify": "npx aqta-verify-receipt <record.json> --profile action-1 --key <key from /v1/attestation/public-key>",
  "grant_use": { "use_index": 1, "max_uses": 1, "remaining": 0 },
  "args_bound": { "...": "the exact object args_hash commits to" },
  "use_record": { "...": "a signed USE-v1 record of this use of the approval" }
}
Response fieldWhenMeaning
outcomealwaysALLOWED or BLOCKED. The same value as record.outcome.
action_idalwaysThe record's id. Use it to look the record up later and to check its place in the public log.
recordalwaysThe signed ACTION-v1 record. Store it as it is; this is what a reviewer checks.
verifyalwaysThe command that checks the record offline.
reasonrefusedWhy the action was refused, in words, including which value did not match the approval. Unsigned and advisory.
requiredsome refusalsWhat would have been needed for the action to clear. Unsigned and advisory.
grant_usean approval was presentedWhich use of the approval this was: use_index, max_uses and remaining. An approval limited to one use clears once; a second attempt is refused.
args_boundan approval was presentedThe exact argument object args_hash commits to, with the approval's reference bound in. Keep it with the approval itself.
use_recordallowed, with an approvalA signed record of which use of which approval this action consumed.
environmentsandbox keys"sandbox": the record is signed with the sandbox test key, not Seal's production key.

There is no separate "decision" or "policy" object: the decision is outcome and the policies that ran are policy_applied, both inside the signed record.

Fields

Thirteen fields, all required, and no others. Every value is a string or an array of strings: the format has no numbers, so it has no number-formatting differences between languages.

FieldTypeMeaning
vstringFormat version. Always the string "action-1". A model-call receipt uses the number 1, so the two cannot be confused.
action_idstringUUID v4, unique per record.
org_idstringIdentifier of the organisation the decision was made for.
session_idstringThe agent session the action was proposed in, or "" outside a session.
intent_hashstringSHA-256 (64 lowercase hex) of the session's registered intent, or "" when there is none.
agentstringThe name the agent gave for itself, for example ap-agent. Recorded, not verified.
toolstringThe action proposed, for example payments.transfer. Never empty.
args_hashstringSHA-256 (64 lowercase hex) of the canonical serialisation of the arguments. When an approval was presented, it is computed over args_bound, so the record commits to the approval as well as the payment.
outcomestringALLOWED or BLOCKED.
policy_appliedarrayIdentifiers of the policies that ran, sorted by UTF-16 code unit. May be empty.
timestampstringISO 8601 with an explicit offset. The issuer's clock.
public_keystringBase64url raw 32-byte Ed25519 public key of the issuer, unpadded.
signaturestringBase64url 64-byte Ed25519 signature, unpadded. Excluded from the signed bytes.

A refused payment is a record too. That is deliberate: the record of an action that did not run is usually the one a reviewer asks for.

What the signature establishes

A valid signature proves that the holder of the issuer key produced these exact bytes. It does not turn every field into a fact. Read each field by where it came from:

FieldWhere it came fromWhat the signature establishes
outcome, policy_appliedSealSeal ran these policies over the proposed action and reached this outcome. This is the core of the record.
timestampSeal's clockSeal's clock read this value.
org_id, session_id, action_idSealIdentifiers Seal assigned and bound to the decision.
intent_hashSealThe session carried this registered intent at decision time. Not that the action served it.
tool, args_hashDeclared by your agent, checked by SealYour agent declared this action with these arguments, and Seal decided on exactly that declaration.
agentDeclared by your agentThe agent claimed this name. Seal does not verify it.

An ALLOWED record proves the action was authorised. It does not prove the payment was sent, settled, or sent with the same arguments, and it does not prove that the invoice was genuine. Keep the record beside your payment provider's own confirmation.

How the signed bytes are built

  1. Remove signature.
  2. Serialise the other twelve fields as JSON with keys sorted by UTF-16 code unit, no whitespace (, and : separators), and non-ASCII characters written as UTF-8, never as \u escapes.
  3. Encode the result as UTF-8. Those bytes are what Ed25519 signs.

args_hash follows the same rules: SHA-256 over the canonical serialisation of the argument object (or of args_bound when an approval was presented), never over the raw request bytes. To check that a record matches the payment you hold, canonicalise the same object and compare the hash.

Check a record

Pin the issuer key once, out of band: https://api.aqta.ai/v1/attestation/public-key. Then check the record offline. The verifier must be told the record is an action record with --profile action-1; it never guesses the format from the fields.

bash
npx aqta-verify-receipt record.json --profile action-1 --key <pinned-key>
bash
pip install aqta-verify-receipt
aqta-verify-receipt record.json --profile action-1 --key <pinned-key>

Both exit 0 on a valid record and non-zero on failure. Without --profile action-1 the verifier treats the file as a model-call receipt and reports a missing field, which is the format check working, not a broken record.

In a browser, paste the record into the verifier with the record type set to agent action. A published sample, a refusal the production gateway signed in a demonstration session, is at /samples/sample-action.json.

Every action record also enters the public transparency log, refusals included. Check that a record is there with its action_id on Seal Transparency.

Post-quantum signature

Since 23:06 UTC on 3 December 2026, every new action record also carries an ML-DSA-87 signature (NIST FIPS 204) in a separate companion record (PQ-RECORD-v1, draft). Records from 18:51 to 23:06 UTC that day carry an ML-DSA-65 companion instead; earlier records carry Ed25519 only. Fetch the companion with your API key from /v1/actions/{id}/pq-record.

The verifier checks the companion only with --profile pq-record; without it, it checks Ed25519 only. For an action record, name the format and the algorithm:

bash
npx aqta-verify-receipt record.json --profile pq-record --receipt-profile ACTION-v1 \
  --key <pinned Ed25519 key> --pq-key <pinned ML-DSA-87 key> --pq-algorithm ML-DSA-87 \
  --pq-sidecar companion.json

For a record from the ML-DSA-65 window, pin the retired ML-DSA-65 key and pass --pq-algorithm ML-DSA-65. Keys and their windows are at https://api.aqta.ai/v1/attestation/pq-record-keys; The receipt has the full detail.

Example

A refused payment: the same invoice, sent to a bank account the approval did not name.

json
{
  "v": "action-1",
  "action_id": "a81d0c55-2f4e-4d1b-9c0a-6e2b7d93f1a4",
  "org_id": "org-sandbox-example",
  "session_id": "",
  "intent_hash": "",
  "agent": "ap-agent",
  "tool": "payments.transfer",
  "args_hash": "e07f3b18c2d94a5e8f1b6c0d7a3e9f24b5c8d1e0f6a7b2c3d4e5f60718293a4b",
  "outcome": "BLOCKED",
  "policy_applied": ["policy_sandbox_approvals"],
  "timestamp": "2026-12-02T09:14:05+00:00",
  "public_key": "<issuer public key>",
  "signature": "<Ed25519 signature, base64url>"
}

Illustrative values: the hash, ids and key above are placeholders, so this example does not verify. Use the published sample or your own sandbox records to run the check.

Specification

The full specification, including the normative provenance table and the conformance vectors, is ACTION-v1. Two reference verifiers, TypeScript on npm and Python on PyPI, return the same verdict on every published vector.