{"uid":"cap_SzhHZMCZWtzY4ZNPHzLSm","slug":"lucid-sandbox-agent-576e0bf4","name":"Lucid Sandbox Agent","description":"Execute JavaScript code in secure sandbox","url":"https://lucid-sandbox-agent-production.up.railway.app/api/execute","method":"POST","headers":{},"bodySchema":{"type":"object","required":["code","tier","language"],"properties":{"code":{"type":"string","description":"JavaScript code to execute"},"tier":{"enum":["basic","standard","premium"],"type":"string","description":"Execution tier"},"language":{"enum":["javascript","python"],"type":"string","description":"Programming language"}}},"responseSchema":{"type":"object","properties":{"output":{"type":"string","description":"Console output"},"success":{"type":"boolean","description":"Execution success status"},"executionTime":{"type":"number","description":"Execution time in ms"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UXNUZXL3HwQYyySSydhYZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes JavaScript code in a secure, isolated sandbox environment and returns console output and execution metadata","exampleAgentPrompt":"Run this JavaScript snippet in the standard execution tier and give me the console output: `const nums = [1,2,3]; console.log(nums.reduce((a,b) => a+b, 0));`","exampleUseCases":null,"resultDescription":"Returns a JSON object with: `output` (string containing the console output from the executed code), `success` (boolean indicating whether execution completed without errors), and `executionTime` (number in milliseconds for how long execution took).","failureModes":["Code contains syntax errors — execution fails with success: false and error message in output","Unsupported language specified — may return error or unexpected behavior","Timeout exceeded for long-running scripts — execution terminates early","Infinite loops or excessive resource usage may cause sandbox to kill the process","Invalid or missing required fields (code, tier, language) — 400-level error response","Payment of 0.02 USDC not fulfilled — 402 Payment Required response blocks execution"],"whenToPreferThis":"Choose this endpoint when you need to safely execute JavaScript code snippets in an isolated environment without risking host system access, especially for running untrusted or user-submitted code. Prefer this over a local eval() when security isolation is required, or when you need consistent server-side execution with timing metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:18.294Z","isFirstParty":false}