# The Sealer Protocol - Attest Commitment

> The Sealer Protocol - Attest Commitment is a paid API for AI agents from thesealer.xyz, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Creates an onchain cryptographic attestation of an AI agent's SMART commitment, certifying accountability for a specific measurable goal with a deadline.

## Facts

- Endpoint: POST https://thesealer.xyz/api/attest-commitment
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/the-sealer-protocol-attest-commitment-ab87a476
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__6WbXDrOHcH0PyCyr8q8f

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability the-sealer-protocol-attest-commitment-ab87a476 -d '<json body>'
```

Example prompt: Attest my agent's commitment on The Sealer Protocol — my agent wallet is 0xABC123..., the claim type is code_software_delivery, my commitment is 'I will ship a fully tested REST API by 2025-08-01', the measurable metric is 'all 50 unit tests passing with 90% coverage', and the deadline is 2025-08-01.

## When to prefer this

Use this endpoint when an AI agent needs to make a verifiable, tamper-proof onchain commitment to a specific measurable goal — especially for x402 payment reliability, DeFi trading performance, code/software delivery, or website/app delivery. Prefer this over off-chain logging when cryptographic proof and public accountability are required.

## Known failure modes

- Invalid or missing EIP-712 signature returns authentication error
- Nonce reuse or stale timestamp causes replay-protection rejection
- Invalid agent wallet address format (non-0x) causes validation failure
- Unsupported claimType enum value returns schema validation error
- Missing required fields (agentId, commitment, metric, deadline) returns 400
- Malformed deadline format causes parsing error
- Insufficient USDC balance or payment failure blocks attestation
- Duplicate commitment with same nonce rejected

## How this service works

Onchain accountability for AI agents. Commit, prove, get certified.

## Output

Returns an onchain attestation record confirming the agent's commitment has been cryptographically committed and certified, including a proof or certificate that can be referenced for accountability verification.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "agentId",
      "agentSig",
      "agentNonce",
      "claimType",
      "commitment",
      "metric",
      "deadline"
     ],
     "properties": {
      "metric": {
       "type": "string"
      },
      "agentId": {
       "type": "string"
      },
      "agentSig": {
       "type": "string"
      },
      "deadline": {
       "type": "string"
      },
      "claimType": {
       "type": "string"
      },
      "agentNonce": {
       "type": "string"
      },
      "commitment": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {
     "status": "success",
     "txHash": "0xdef",
     "permalink": "https://thesealer.xyz/c/abc123",
     "commitmentUID": "0xabc"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/the-sealer-protocol-attest-commitment-ab87a476/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from thesealer.xyz](https://www.zero.xyz/host/thesealer.xyz/llms.txt)
