Check if a platform action can be undone before your AI agent commits to it.
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
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
Quality
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
- —Reversibility intelligence for AI agents covering Gmail, Shopify, Stripe, and 17+ other platformshttps://undo.agentutil.net
- —POST /v1/check and POST /v1/lookup cost $0.002 per request; GET /v1/platforms and GET /v1/platforms/:id are freehttps://undo.agentutil.net
- —Free tier: 10 queries/day per IP, no signup requiredhttps://undo.agentutil.net
- —Paid tier uses x402 protocol with USDC on Basehttps://undo.agentutil.net
- —Pure data lookup, <50ms response timehttps://undo.agentutil.net
- —OpenAPI spec version 3.1.0 with full request/response schemashttps://undo.agentutil.net/openapi.json