{"uid":"cap_yk5ZVW1_ACBp3qS4WGcM9","slug":"blockrun-ai-sandbox-terminate-99196f39","name":"Blockrun AI Sandbox Terminate","description":"Terminate a running sandbox and release its resources.","url":"https://sol.blockrun.ai/api/v1/modal/sandbox/terminate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fncmTvchS666RikvmHyhd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Terminates a running sandbox environment and releases all associated compute resources.","exampleAgentPrompt":"Terminate sandbox sb-abc123 and release all its resources — I'm done running code in it.","exampleUseCases":[{"title":"Clean up after automated code testing","prompt":"I'm done with my test run — go ahead and terminate sandbox sb-xyz789 and free up the resources."},{"title":"Shut down idle sandbox to save costs","prompt":"That sandbox sb-def456 has been sitting idle for too long, please terminate it now so we stop incurring charges."},{"title":"Post-task sandbox teardown in a workflow","prompt":"The data processing job just finished — terminate sandbox sb-ghi012 and release everything it was using."}],"resultDescription":"A confirmation that the sandbox has been terminated and its compute resources have been released, typically including the sandbox ID and final status.","failureModes":["Sandbox ID not found or already terminated — returns 404 or error status","Sandbox still initializing and cannot be terminated yet","Authentication or payment failure — x402 payment not accepted","Network timeout during termination request","Sandbox in an unrecoverable state preventing clean termination"],"whenToPreferThis":"Use this endpoint when you have a running Modal sandbox (created via Blockrun AI's sandbox infrastructure) that you need to shut down and free resources from — particularly after completing a code execution task, to avoid ongoing resource consumption or costs. Prefer this over simply abandoning a sandbox, as it ensures clean resource deallocation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T12:23:38.260Z","isFirstParty":false,"canonicalSlug":"blockrun-ai-sandbox-terminate-99196f39"}