{"uid":"cap_A9YTE826mHyEYfeRRjV-O","slug":"x402vps-extend-container-lease-6d0df836","name":"x402vps Extend Container Lease","description":"Provision Docker containers on demand. Pay per lease with USDC on Base. No signup, no API key. Built for AI agents.","url":"https://x402vps.com/api/extend?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"id":"ctr_4cb194","expiresAt":1784746373691,"leaseHours":2,"priceCharged":"$0.01"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M6LsXNmby5qktdmxRVm7R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extends the lease duration of an existing Docker container, charging USDC on Base via x402 payment protocol","exampleAgentPrompt":"Extend the lease on container ctr_4cb194 for another 2 hours — pay with USDC on Base.","exampleUseCases":[{"title":"Keep agent container alive overnight","prompt":"My AI agent is running in container ctr_4cb194 and it's going to expire soon — extend it by 2 hours so it doesn't get shut down mid-task."},{"title":"Auto-renew long-running compute task","prompt":"I've got a data processing job running in container ctr_7fa321 that needs more time — extend the lease by 2 hours and charge my USDC wallet."},{"title":"Prevent expiry during critical workflow","prompt":"My container ctr_9bc042 is about to expire in the middle of a deployment pipeline — top it up for 2 more hours right now."}],"resultDescription":"Returns a JSON object with the container ID, the new expiration timestamp in Unix milliseconds, the number of lease hours added, and the amount of USDC charged (e.g. '$0.01').","failureModes":["Container ID not found or already expired — returns error with container not found message","Insufficient USDC balance or payment failure — x402 payment rejection","Invalid or missing method field in request body — validation error","Container lease cannot be extended beyond maximum allowed duration"],"whenToPreferThis":"Use this endpoint when an existing x402vps container needs more runtime and you want to extend it without reprovisioning. Prefer this over creating a new container when you need continuity of state, existing processes, or open connections. Ideal for long-running AI agent tasks that outlast the initial lease, automated workflows that self-extend before expiry, or any scenario where container teardown would be disruptive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:40:37.882Z","isFirstParty":false,"canonicalSlug":"x402vps-extend-container-lease-6d0df836"}