{"uid":"cap_IDWUdR_s8zZe3ZAMHDqyV","slug":"stableupload-site-renew-44137f90","name":"StableUpload Site Renew","description":"Renew a site for count x the original tier retention window. Price = tier price x count.","url":"https://stableupload.dev/api/site/renew","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tier":{"enum":["10mb","100mb","1gb","short-10mb","short-100mb","short-1gb"],"type":"string","description":"Tier of the upload (must match the original tier)"},"count":{"type":"integer","default":1,"maximum":10,"minimum":1,"description":"Number of tier retention periods to extend (default 1)"},"uploadId":{"type":"string","minLength":1,"description":"Upload ID to renew"}}},"responseSchema":{"type":"json","example":{"count":1,"uploadId":"bs94s5b4ca","newExpiresAt":"2026-05-09T16:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"20","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":"$20/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cDPX-_MQd83mYCOC9gPwt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"20","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 an existing uploaded site by renewing it for one or more tier periods","exampleAgentPrompt":"Renew my StableUpload site with upload ID 'abc123xyz' on the 100mb tier for 2 more retention periods so it doesn't expire.","exampleUseCases":null,"resultDescription":"Returns the upload ID, the updated expiration timestamp (newExpiresAt), and the count of periods renewed. Confirms how far the expiry has been pushed forward.","failureModes":["Invalid or unknown uploadId returns an error","Tier mismatch — specified tier does not match the original upload tier","Count out of range (must be 1–10)","Payment of $20 USDC fails or is rejected","Upload already expired and cannot be renewed","Required fields uploadId or tier missing from request body"],"whenToPreferThis":"Use this endpoint when an existing site hosted on StableUpload needs its expiration extended without re-uploading or re-activating content. Prefer this over a full re-upload when the site content has not changed and you simply want to preserve availability for additional retention periods.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:20.266Z","isFirstParty":false}