{"uid":"cap_G_00eRocaL3HiDxNGfK2-","slug":"agent-exec-deadman-switch-registration-ac05ae14","name":"Agent-Exec Deadman Switch Registration","description":"Accountless, pay-per-use code execution for software agents: submit source code, get stdout, stderr and exit code back from an isolated, network-less sandbox. No account, no API key -- possession of valid payment is sufficient.","url":"https://agent-exec.448c.org/deadman?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["probe","description","leaseSeconds"],"properties":{"probe":{"type":"object","description":"At least one of expectedBodyContains / expectedStatus is required -- a probe with no predicate can never resolve to confirmed or refuted."},"description":{"type":"string","description":"What you are about to do."},"leaseSeconds":{"type":"number","description":"How long before an unconfirmed entry's probe runs."}}},"responseSchema":{"type":"object","required":["id","status","description","probe","createdAt","leaseExpiresAt","payment"],"properties":{"id":{"type":"string","format":"uuid","description":"Keep this -- it is both how you confirm and how anyone reads the eventual verdict back."},"probe":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Absolute http:// or https:// URL, GETted from OUR vantage point once the lease expires."},"expectedStatus":{"type":"integer","maximum":599,"minimum":100,"description":"The response status must equal this for the verdict to be confirmed-by-probe."},"expectedBodyContains":{"type":"string","maxLength":500,"minLength":1,"description":"The response body must contain this substring for the verdict to be confirmed-by-probe."}},"description":"At least one of expectedBodyContains / expectedStatus is required -- a probe with no predicate can never resolve to confirmed or refuted."},"status":{"enum":["pending"],"type":"string","description":"Always pending at registration."},"payment":{"type":"object","properties":{"asset":{"type":"string"},"payer":{"type":"string","description":"The paying wallet's address."},"amount":{"type":"string","description":"Atomic units of the settlement asset that were charged."},"network":{"type":"string"},"transaction":{"type":"string","description":"On-chain settlement transaction hash."}}},"createdAt":{"type":"integer","description":"Unix ms this entry was registered."},"description":{"type":"string"},"leaseExpiresAt":{"type":"integer","description":"Unix ms the lease expires -- confirm before this or the probe owns the entry."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0054","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_48Tby8kMi3rIJDaExE4KR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a pay-per-use deadman switch entry with a probe URL and lease duration, returning a UUID to confirm or let expire for automated verification.","exampleAgentPrompt":"Register a deadman switch for me — probe https://example.com/health every 60 seconds and expect a 200 status code; describe it as 'checking my API server is alive', and set the lease to 120 seconds.","exampleUseCases":[{"title":"Agent liveness watchdog for deployed service","prompt":"Set up a deadman switch that will probe https://my-api.example.com/ping expecting a 200 status after 90 seconds — describe it as 'agent heartbeat check for production API' with a 90-second lease."},{"title":"Content availability verification after publish","prompt":"After I publish my blog post, register a deadman switch to probe https://myblog.com/new-post in 60 seconds and confirm it contains the text 'Welcome to my new post' — describe it as 'verifying post went live', lease 60 seconds."},{"title":"Workflow step confirmation with fallback probe","prompt":"Register a deadman switch entry for my data pipeline step — probe https://pipeline.internal/status after 300 seconds, expect the body to contain 'completed', and describe it as 'pipeline stage 2 completion check', lease 300 seconds."}],"resultDescription":"Returns a JSON object containing a UUID (use this to confirm the entry before expiry), status set to 'pending', the probe configuration (URL, expected status, expected body substring), timestamps for creation and lease expiry in Unix milliseconds, and payment details including the on-chain transaction hash, paying wallet address, asset, network, and amount charged in atomic units.","failureModes":["Missing required probe predicate (no expectedStatus or expectedBodyContains) — entry cannot resolve to confirmed or refuted","Invalid leaseSeconds value — too short or non-numeric","Payment failure — invalid or insufficient USDC payment via x402 protocol","Probe URL is malformed or not an absolute http/https URL","Entry not confirmed before leaseExpiresAt — probe runs automatically and status resolves based on probe result","Server unavailable or 5xx error during registration"],"whenToPreferThis":"Choose this endpoint when you need an accountless, pay-per-use deadman switch that automatically probes a remote URL after a configurable lease duration, with no API key or account required — payment via x402 USDC is the only credential. Prefer this over traditional monitoring services when running AI agent workflows that need lightweight, one-shot liveness or content verification without infrastructure setup. Best suited for agents that need to register a canary check, confirm a workflow step, or detect inactivity within a bounded time window.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:40:12.414Z","isFirstParty":false,"canonicalSlug":"agent-exec-deadman-switch-registration-ac05ae14"}