{"uid":"cap_8D-35Rwe5qGYiV7OmzEdl","slug":"blockrun-ai-ef93eeb9","name":"BlockRun.AI Sandbox Terminate","description":"Terminate sandbox and release resources.","url":"https://blockrun.ai/api/v1/modal/sandbox/terminate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sandbox_id":{"type":"string","description":"Sandbox ID from /sandbox/create"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MRj2sDcwtdzRwCQecfsAQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Terminates a running sandbox environment and releases its allocated compute resources.","exampleAgentPrompt":"Terminate the BlockRun sandbox with ID sandbox-abc123 and release all its resources.","exampleUseCases":null,"resultDescription":"A confirmation that the sandbox has been terminated and its compute resources have been released, typically including the sandbox ID and termination status.","failureModes":["Invalid or unknown sandbox_id returns a 404 or error response","Sandbox already terminated returns an error or idempotency confirmation","Payment failure (402) if USDC balance is insufficient","Network timeout if sandbox termination takes too long","Unauthorized access if sandbox_id belongs to a different user"],"whenToPreferThis":"Use this endpoint when you have finished executing code in a BlockRun sandbox (created via /sandbox/create) and need to clean up resources to avoid unnecessary charges or resource leaks. Always call this after your sandbox workflow is complete.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-07-22T20:43:48.846Z","lastSuccessfullyRanAt":"2026-07-22T20:43:48.846Z","lastHealthCheckAt":"2026-09-13T12:50:31.926Z","isFirstParty":false}