{"uid":"cap_FY2vlQSryrFN5Ej5zrzqC","slug":"agent-exec-deadman-switch-registration-88ae8539","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.net/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_7QTj8eRjq2WJeIDjzLkKh","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: if the agent fails to confirm before the lease expires, a probe URL is automatically checked to verify liveness or task completion.","exampleAgentPrompt":"Register a deadman switch that says 'Checking if my data pipeline finished' — if I don't confirm within 120 seconds, probe https://mypipeline.example.com/status and make sure it returns HTTP 200 and contains the word 'done'.","exampleUseCases":[{"title":"Agent liveness heartbeat check","prompt":"Set up a deadman switch with description 'Agent heartbeat for job #42' — if I don't confirm in 60 seconds, probe https://jobs.myapp.io/42/status and verify it returns status 200 and body contains 'running'."},{"title":"Task completion verification","prompt":"Register a watchdog for my report generation task — describe it as 'Verify nightly report was generated', give it a 300-second lease, and if I don't confirm, probe https://reports.internal/nightly and check the response contains 'report_complete'."},{"title":"Deployment rollout guard","prompt":"Create a deadman switch called 'Production deploy guard' with a 90-second lease — if I don't manually confirm the deploy succeeded, automatically probe https://app.prod.example.com/healthz and expect HTTP 200 back."}],"resultDescription":"Returns a JSON object with a UUID entry ID (needed for later confirmation), status always set to 'pending', the probe object including URL and predicates, Unix-ms timestamps for creation and lease expiry, and payment details including wallet address, amount charged, asset, network, and transaction hash.","failureModes":["Probe object missing both expectedBodyContains and expectedStatus — entry cannot ever resolve to confirmed or refuted","leaseSeconds not provided or invalid — request rejected","Payment insufficient or invalid x402 credentials — 402 response with no entry created","URL in probe is unreachable from the service's vantage point — probe may time out and leave entry unresolved","Agent fails to confirm before lease expires — probe fires automatically and owns the verdict"],"whenToPreferThis":"Use this endpoint when you need an accountless, pay-per-use watchdog mechanism for an AI agent or automated pipeline — especially when you want a remote third party to verify liveness or task completion via HTTP probe if the agent goes silent. Prefer this over polling or cron-based monitors when you need cryptographic payment as the sole authentication mechanism and want zero account management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:31:48.492Z","isFirstParty":false,"canonicalSlug":"agent-exec-deadman-switch-registration-88ae8539"}