{"slug":"agent402-tools-api-decide-execute-3d881c","title":"Run a decision's plan through Agent402","host":"agent402.tools","method":"POST","resource":"https://agent402.tools/api/decide/execute","category":"code","description":"Run a decision's plan through Agent402: first-party steps run directly, third-party steps are paid on your behalf (paid on Base, or by credits or card) and relayed at the seller's price plus a disclosed routing fee. Priced at the plan's budget (or your maxBudgetUsd, whichever you set) less a valid e","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1067,"reported_calls_30d":4,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"creditToken":"dc_...","decisionId":"dec_2b1c9e0f4a7d4c3e9b8a1f00","maxBudgetUsd":0.05},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"creditToken":{"description":"executionCredit.token from that decision (optional)","type":"string"},"decisionId":{"description":"From POST /api/decide","type":"string"},"maxBudgetUsd":{"description":"Spend ceiling for the run (default: the plan's estimate via Agent402)","type":"number"},"params":{"description":"Per-step params overriding the plan's exampleParams, keyed by step number","type":"object"}},"required":["decisionId"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"budgetUsd":{"type":"number"},"creditAppliedUsd":{"type":"number"},"decisionId":{"type":"string"},"leftoverCredit":{},"paidUsd":{"type":"number"},"routingFeePct":{"type":"integer"},"runId":{"type":"string"},"spentUsd":{"type":"number"},"status":{"type":"string"},"steps":{"items":{"type":"object"},"type":"array"}},"required":["runId","decisionId","status","steps","budgetUsd","spentUsd","paidUsd","creditAppliedUsd","routingFeePct"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":1067,"error":null}],"description_full":"Run a decision's plan through Agent402: first-party steps run directly, third-party steps are paid on your behalf (paid on Base, or by credits or card) and relayed at the seller's price plus a disclosed routing fee. Priced at the plan's budget (or your maxBudgetUsd, whichever you set) less a valid execution credit; spend stops at that budget, fallbacks are tried in order, and any unspent amount comes back as a credit. A run where no step succeeds is not charged.","last_updated":"2026-09-30T05:02:59.419Z","schemes":["exact"]}