{"uid":"cap_0G6IgU2vgH3_ZFkdj5Xqe","slug":"vaaya-modal-sandbox-terminate-f4294d63","name":"Vaaya Modal Sandbox Terminate","description":"Modal — Terminate a running sandbox.","url":"https://vaaya.ai/api/run/modal/sandbox-terminate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["sandbox_id"],"properties":{"sandbox_id":{"type":"string","minLength":1}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_Wv4LbI7C0wEsGLNGit0i1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Terminates a running Modal sandbox execution environment via the Vaaya agent platform","exampleAgentPrompt":"Stop the Modal sandbox I started earlier — sandbox ID sb-abc123 — it's done running and I want to terminate it now.","exampleUseCases":null,"resultDescription":"Returns a confirmation that the specified Modal sandbox has been terminated, along with the updated sandbox state or status indicating it is no longer active.","failureModes":["Sandbox ID not found or already terminated — returns 404 or error status","Sandbox is in a non-terminable state — returns conflict error","Authentication or payment failure via x402 protocol — returns 402 or 401","Network timeout reaching Modal backend — returns 503 or timeout error","Invalid request body or missing sandbox identifier — returns 400"],"whenToPreferThis":"Use this endpoint when you have an active Modal sandbox (started via Vaaya or directly) that needs to be stopped, cleaned up, or released after a task completes or needs to be cancelled mid-execution. Prefer this over alternatives when operating within the Vaaya agent ecosystem with x402 micropayment support and no need to manage API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:28.389Z","isFirstParty":false}