{"uid":"cap_bSFBvUDTU4Gvjc98ZqeXS","slug":"agent-exec-claim-key-renewal-2646e9a3","name":"agent-exec Claim Key Renewal","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/claim/%7Bkey%7D/renew?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["plan","holder"],"properties":{"plan":{"enum":["hour","day","week"],"type":"string","description":"Which plan to buy. Its duration is ADDED to whatever the key has left, never substituted for it, so extending early forfeits nothing."},"holder":{"type":"string","description":"Which of your holders is extending the key. Unsigned -- checked against the key's CURRENT holder (CLAIM_NOT_YOURS if it does not match), the same way DELETE /claim/{key}'s `holder` is: identity is the paying wallet, but a wallet's own fleet can still have more than one process, and only the one that actually holds the key may extend it."}}},"responseSchema":{"type":"object","required":["key","plan","expiresAt","previousExpiresAt","payment"],"properties":{"key":{"type":"string"},"plan":{"enum":["hour","day","week"],"type":"string"},"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."}}},"expiresAt":{"type":"integer","description":"Unix ms the hold is free again, after this extension."},"previousExpiresAt":{"type":"integer","description":"Unix ms the hold would have expired before this extension."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0052","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.0052/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0052","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0052","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aUwpXzd0IXyFvtzbnwMJW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0052","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extends the expiration of an existing agent-exec sandbox claim key by adding an hour, day, or week to its current remaining time.","exampleAgentPrompt":"Renew my agent-exec sandbox claim key 'abc123' for another day — my holder wallet is '0xDEAD...BEEF'.","exampleUseCases":[{"title":"Keep long-running agent job alive","prompt":"My agent-exec key 'k7f2x' is about to expire and I've got a long job still running — extend it by a week using holder wallet '0xABCD...1234' so it doesn't get reclaimed mid-execution."},{"title":"Routine daily renewal in autonomous fleet","prompt":"Add another day to agent-exec claim key 'z9qm3' for holder '0x9988...7766' — I want to keep our automated code-execution slot active through tomorrow."},{"title":"Early extension to avoid expiry gap","prompt":"Extend my agent-exec sandbox key 'p4nt8' by an hour using holder address '0x1122...3344' — I want to top it up now while it still has time left so I don't lose continuity."}],"resultDescription":"Returns the claim key identifier, the selected plan, the new expiry timestamp (Unix ms) after the extension, the previous expiry timestamp before renewal, and payment details including asset, payer wallet address, charged amount in atomic units, network, and on-chain transaction hash.","failureModes":["CLAIM_NOT_YOURS: the provided holder does not match the key's current holder — renewal is rejected","Key not found: the claim key does not exist or has already expired and been reclaimed","Payment failure: insufficient funds or payment channel error results in HTTP 402","Invalid plan: plan value is not one of 'hour', 'day', or 'week' — request is rejected","Network error or sandbox unavailability causing request timeout"],"whenToPreferThis":"Use this endpoint when you already hold a valid agent-exec claim key and need to extend its duration before it expires, particularly during long-running agent tasks or when managing a fleet of sandboxes. This is the only endpoint for extending an existing hold without forfeiting remaining time, making it the right choice over acquiring a new key whenever continuity of the existing claim matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:31:09.855Z","isFirstParty":false,"canonicalSlug":"agent-exec-claim-key-renewal-2646e9a3"}