{"uid":"cap_OFyL2DZycOD1e9JxF6p7N","slug":"agent-exec-storage-object-renewal-8739c76b","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.45.67.221.128.sslip.io/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_PawqKtyLM-HDgK4Jifw4M","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":"Extends the retention window of a stored object in the agent-exec sandbox by paying per-use with USDC, no account required.","exampleAgentPrompt":"Renew the storage for my agent-exec object abc123 using a medium plan so it sticks around longer — pay with USDC.","exampleUseCases":[{"title":"Keep execution artifact alive","prompt":"My agent-exec object xyz789 is about to expire and I still need it — renew it with a large plan so I have more time to retrieve the results."},{"title":"Proactive early renewal","prompt":"Renew storage for agent-exec object def456 now using the small plan — I want to top it up before it gets close to expiring so I don't lose anything."},{"title":"Automated sandbox artifact retention","prompt":"After each code run, automatically renew the output object in agent-exec with a medium plan so our pipeline always has access to the latest results without manual intervention."}],"resultDescription":"Returns a JSON object with the storage object ID, the chosen plan, the new expiry timestamp (Unix ms), the previous expiry timestamp (Unix ms before renewal), and payment details including the on-chain transaction hash, payer wallet address, amount charged in atomic USDC units, asset name, and network.","failureModes":["Object ID not found — returns 404 if the storage object does not exist or has already been freed","Insufficient payment — returns 402 with a quote for the correct amount if payment is too low or plan is too small for the object","Invalid plan value — omitted, misspelled, or undersized plan causes the smallest valid plan to be auto-selected","Payment verification failure — on-chain transaction not confirmed, resulting in rejection","Object already expired — if the object has already been released, renewal is not possible"],"whenToPreferThis":"Use this endpoint when an AI agent needs to extend the lifetime of an object already stored in the agent-exec sandbox without creating a new execution. It is the right choice when the agent wants to prevent imminent expiry of a stored result, proactively top up retention time, or automate storage management as part of a longer-running pipeline — all without needing an account or API key, just a valid USDC payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:35:53.595Z","isFirstParty":false,"canonicalSlug":"agent-exec-storage-object-renewal-8739c76b"}