{"version":1,"resources":["https://stableclaude.vercel.app/api/start","https://stableclaude.vercel.app/api/resume","https://stableclaude.vercel.app/api/list","https://stableclaude.vercel.app/api/read","https://stableclaude.vercel.app/api/file-url"],"mppResources":["https://stableclaude.vercel.app/api/start","https://stableclaude.vercel.app/api/resume"],"description":"Pay-per-run AI agent execution API. Submit a prompt and optional files; an agent runs in an isolated sandbox with full code execution capabilities and produces downloadable output. No API keys — pay per run in USDC on Base via x402.","ownershipProofs":[],"instructions":"# Giga API\n> Pay-per-run AI agent execution. Submit prompt + optional files, agent runs in sandbox, download output. x402/MPP (USDC on Base/Solana/Tempo). Tiers: $1 (default), $2, $5.\n\n## Workflow\n1. POST /api/start (paid) { prompt, tier?: \"$1.00\", files?: [{filename, data: \"base64...\"}] } → { runId, status: \"running\" }\n2. Poll POST /api/read (SIWX, free) { runId } every ~5s until status is \"completed\" or \"failed\"\n3. POST /api/read { runId, includeFiles: true } → file list with paths\n4. POST /api/file-url (SIWX, free) { runId, path } → { url, expiresAt } (1hr presigned URL)\n5. GET /api/file?token=... (no auth) → binary download. Use curl, not agentcash fetch.\n\n## Endpoints\n- POST /api/start — paid ($1-$5). Start agent run. files[].data must be base64-encoded.\n- POST /api/read — SIWX (free). Poll status. Set includeFiles: true for file list after completion. logs may be null early — keep polling.\n- POST /api/list — SIWX (free). List runs. { limit?: 10, offset?: 0 }\n- POST /api/file-url — SIWX (free). Get presigned download URL for a file.\n- GET /api/file — no auth. Download via presigned token.\n- POST /api/resume — paid. Resume a completed/failed run.\n\n## Status Values\npending → running → completed | failed\n\n## Important\n- Check balance before launching — runs cost $1-$5 plus internal API costs.\n- For large files (100KB+), use agentcash CLI with shell substitution: npx agentcash@latest fetch ... -m POST -b \"$(cat /tmp/body.json)\"\n- Keep parallel sandbox calls to ≤5 batches to avoid settlement failures.\n- Save runIds immediately to a file — if context is lost, you need them to poll results.\n- Test one run before going parallel.\n"}