{"schema_version":"1.0","name":"AgentLedger","description":"Per-agent spend management: track spend across x402/MPP/API-key rails, set budget caps, get anomaly alerts, keep an audit trail.","url":"https://agent-ledger-production-0ff8.up.railway.app","api_base":"https://agent-ledger-production-0ff8.up.railway.app/v1","openapi":"https://agent-ledger-production-0ff8.up.railway.app/openapi.json","auth":{"type":"workspace_key","field":"workspace_key","description":"Get a workspace_key with no human at all by paying via POST /v1/billing/x402 (the paying wallet becomes the workspace identity), or at GET /start — no signup, no login, no card. Claiming a NEW agent_id requires that workspace_key in the first POST /v1/track or /v1/budget body; that call mints an agent_secret in the response — save it, every later write to that agent_id must include it and needs no workspace_key. Reads (report/alerts/tokens) require agent_secret or workspace_key, sent as X-Agent-Secret or X-Workspace-Key."},"pricing":{"model":"freemium","amount_usd":19.0,"description":"Free tier is 3 agents per workspace. Pro is $19/mo for unlimited agents. Launch window: the first 50 workspaces created get Pro free for 1 year."},"capabilities":[{"id":"mint_workspace_x402","description":"Self-serve workspace + workspace_key for an agent with a wallet — no human, no login. Present an x402 payment in the X-PAYMENT header; the paying wallet becomes the workspace identity. Do this first: a workspace_key is required to claim a new agent_id.","endpoint":"/v1/billing/x402","method":"POST","free":false},{"id":"track_spend","description":"Record a spend entry for an agent","endpoint":"/v1/track","method":"POST","free":true},{"id":"set_budget","description":"Set monthly/daily budget caps for an agent","endpoint":"/v1/budget","method":"POST","free":true},{"id":"get_report","description":"Spend report — totals, by rail, by service, anomalies","endpoint":"/v1/report/{agent_id}","method":"GET","free":true},{"id":"get_alerts","description":"Anomaly alerts for an agent","endpoint":"/v1/alerts/{agent_id}","method":"GET","free":true},{"id":"get_tokens","description":"Token burn report — in/out totals by model","endpoint":"/v1/tokens/{agent_id}","method":"GET","free":true}],"contact":"entradox@icloud.com","legal":"Parmanand LLC. Beta software, provided as-is."}