x402basequality 0.62

Check if a platform action can be undone before your AI agent commits to it.

Price
per_call
Protocol
x402
Verified
no

What it does

AgentUtil Undo is a reversibility-intelligence API designed for autonomous AI agents. Before executing a destructive or hard-to-reverse operation on platforms like Gmail, Shopify, Stripe, and 17+ others, an agent can query this service to learn whether the action is reversible, what the recovery window is, and what safer alternatives exist.

The primary endpoint, POST /v1/check, accepts a platform identifier, resource type, action name, and optional batch scope/count. It returns a reversibility level, risk score, recovery mechanism, recovery window, safer alternatives with recommendations, and batch safety warnings when applicable. A lighter POST /v1/lookup endpoint provides a quick pre-flight check with just the reversibility level, recovery mechanism, and a single safer alternative. Two additional GET endpoints list supported platforms and their tracked actions, both free of charge.

Pricing follows the x402 protocol: $0.002 per request (USDC on Base) for the /v1/check and /v1/lookup endpoints, with a free tier of 10 queries per day per IP requiring no signup. The service advertises sub-50ms response times as a pure data lookup. Note that during probing the endpoint returned HTTP 400 rather than the expected 402 payment challenge, so liveness via x402 could not be fully confirmed; however, the landing page, OpenAPI spec, and discovery files are all served correctly.

Capabilities

reversibility-checkrisk-scoringrecovery-window-lookupsafer-alternative-suggestionbatch-safety-warningmulti-platform-supportx402-paymentusdc-on-basesub-50ms-latencyagent-discovery

Use cases

  • An AI agent checks whether deleting 500 Gmail emails can be undone before executing the batch operation
  • A workflow automation verifies that canceling a Stripe subscription is reversible and learns the recovery window
  • An agent building a Shopify integration queries safer alternatives before permanently removing products
  • A multi-step agent pipeline adds a pre-flight reversibility gate before any destructive API call

Fit

Best for

  • Autonomous AI agents that execute destructive platform actions
  • Workflow orchestrators needing pre-flight safety checks
  • Developers building guardrails into agent tool-use pipelines
  • Batch operations where irreversible mistakes are costly

Not for

  • Real-time undo/rollback execution — this is a lookup service, not an action executor
  • Platforms not in the supported list (currently ~20 platforms)
  • High-volume analytics or logging use cases

Quick start

curl -X POST https://undo.agentutil.net/v1/check \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "gmail",
    "resource": "email",
    "action": "delete",
    "scope": "batch",
    "count": 500
  }'

Example

Request

{
  "count": 500,
  "scope": "batch",
  "action": "delete",
  "platform": "gmail",
  "resource": "email"
}

Response

{
  "action": "delete",
  "summary": "Gmail email delete moves to Trash (recoverable for 30 days). Archiving is recommended as a safer alternative.",
  "platform": "gmail",
  "resource": "email",
  "risk_score": 0.3,
  "batch_warning": {
    "warning": "Batch delete of 500 emails. Consider archiving instead.",
    "threshold": 100
  },
  "recovery_window": "30 days",
  "recovery_mechanism": "Trash folder, recoverable within 30 days",
  "safer_alternatives": [
    {
      "action": "archive",
      "description": "Remove from inbox without deleting; fully reversible at any time",
      "recommended": true,
      "reversibility_level": "fully_reversible"
    }
  ],
  "reversibility_level": "soft_delete"
}

Endpoint

Transporthttp
Protocolx402
Pay to0x1357bef96ec515d250137d7eb712f0395eb5142d
CurrencyUSD COIN

Quality

0.62/ 1.00

Full OpenAPI 3.1 schema with request/response definitions and clear pricing metadata. However, the x402 probe returned HTTP 400 instead of the expected 402 challenge, so payment-gated liveness could not be confirmed. No dedicated docs page exists, and the example response is inferred from the schema rather than captured live.

Warnings

  • x402 probe returned HTTP 400 on POST, not the expected 402 payment challenge — endpoint liveness via x402 not fully confirmed
  • No /docs, /api, /pricing, or /README pages exist (all return 404)
  • Example response is inferred from the OpenAPI schema, not captured from a live call

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 01:22:57Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access