{"uid":"cap_ZaPnS-u_ruYTb5kGe6l_Y","slug":"agent-exec-claim-key-renewal-42af4884","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.net/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_w0osX0AUL1F1vcJcHeZfa","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 time of an existing agent-exec claim key by adding an hour, day, or week subscription plan on top of the remaining duration.","exampleAgentPrompt":"My agent-exec claim key is about to expire — extend it by one day using my holder wallet 0xAbC123... so we don't lose any remaining time.","exampleUseCases":[{"title":"Prevent expiry during long-running job","prompt":"My agent-exec claim key is going to expire in 30 minutes and I still have a long computation running — renew it for another hour using holder 0xDeF456... so execution doesn't get cut off."},{"title":"Weekly renewal for persistent agent fleet","prompt":"I want to keep my agent-exec claim key alive for the whole week — extend it with the weekly plan using holder 0xAaB789... so my agent fleet has uninterrupted access."},{"title":"Top up key early without losing leftover time","prompt":"I want to add a day to my agent-exec key right now using holder 0xC0ffEe... — I know the docs say extending early doesn't forfeit remaining time, so go ahead and stack a day plan on top."}],"resultDescription":"Returns the updated claim key identifier, the chosen plan, the new expiry timestamp in Unix milliseconds, the previous expiry timestamp before extension, and full payment details including paying wallet address, amount charged in atomic USDC units, network, and the on-chain settlement transaction hash.","failureModes":["CLAIM_NOT_YOURS: the provided holder does not match the key's current holder, renewal is rejected","Key not found: the specified claim key does not exist or has already been released","Payment failure: insufficient USDC balance or x402 payment could not be settled on-chain","Invalid plan: plan value is not one of hour, day, week","Network error or sandbox unavailable: transient infrastructure failure"],"whenToPreferThis":"Use this endpoint when an agent already holds a valid agent-exec claim key and needs to extend its validity period without releasing and re-acquiring the key. It is the correct endpoint for keeping long-running execution sessions alive, topping up time before expiry, and stacking additional plan durations on top of remaining time — all without forfeiting unused duration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:34:22.117Z","isFirstParty":false,"canonicalSlug":"agent-exec-claim-key-renewal-42af4884"}