{"uid":"cap_cjGlUHSzygw7LK4rr2dvU","slug":"agent-exec-storage-object-renewal-00742fd0","name":"agent-exec Storage Object 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/storage/%7Bid%7D/renew?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"plan":{"enum":["small","medium","large"],"type":"string","description":"Optional. Which plan to buy. Its retention window is ADDED to whatever the object has left, never substituted for it, so renewing early forfeits nothing. Omitted, misspelled or too small for the object, you get the smallest plan that holds the object, and the 402 quotes exactly that."}}},"responseSchema":{"type":"object","required":["id","expiresAt","previousExpiresAt","plan","payment"],"properties":{"id":{"type":"string"},"plan":{"enum":["small","medium","large"],"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 object is free again, after this renewal."},"previousExpiresAt":{"type":"integer","description":"Unix ms the object would have expired before this renewal."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0051","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.0051/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0051","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0051","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wAzF1ldVCLGUMkHXnMAY2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0051","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renews the retention window of a stored object in agent-exec's sandboxed storage by paying per-use via HTTP 402, extending its expiry without losing remaining time.","exampleAgentPrompt":"Renew the agent-exec storage object with ID abc123 using the medium plan so it doesn't expire — go ahead and pay the USDC fee.","exampleUseCases":[{"title":"Prevent expiry of execution artifact","prompt":"The code execution result I stored earlier in agent-exec is about to expire — renew it with the large plan so I have more time to review the output."},{"title":"Cheap early renewal to avoid data loss","prompt":"I want to top up the retention on my agent-exec storage object xyz789 before it runs out — use the small plan and pay the USDC fee now."},{"title":"Agent pipeline keeps intermediate result alive","prompt":"My pipeline saved intermediate data to agent-exec storage under ID def456 and we need it for another few hours — renew it on the medium plan right away."}],"resultDescription":"Returns the object's ID, the chosen plan, the new expiry timestamp (Unix ms), the previous expiry timestamp (Unix ms), and payment details including the payer wallet address, amount charged in atomic USDC units, network, and settlement transaction hash.","failureModes":["Object ID not found or already freed — 404 response","Payment insufficient or rejected — 402 response with exact required amount quoted","Invalid or misspelled plan name — server selects smallest plan that fits the object","Object already expired before renewal — cannot renew a freed object","Network or on-chain settlement failure — payment not confirmed, renewal not applied"],"whenToPreferThis":"Use this endpoint when you have an existing stored object on agent-exec that is approaching expiration and you want to extend its retention window without forfeiting any remaining time. Prefer this over re-uploading or re-executing when the object already exists and you simply need more time. It is ideal for agent pipelines that produce intermediate results and need to keep them alive across multiple steps without maintaining an account or API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:35:05.704Z","isFirstParty":false,"canonicalSlug":"agent-exec-storage-object-renewal-00742fd0"}