{"openapi":"3.1.0","info":{"title":"Agent Treasury Guardian 2047","version":"0.1.0","description":"Atomic budget reservation across an AI-agent fleet with recipient allowlists and x402-v2 quote consistency checks; Beta, no settlement/mandate enforcement guarantee."},"servers":[{"url":"https://jzallxzbbdtelcpabfgr.supabase.co/functions/v1/agent-treasury-guardian"}],"components":{"securitySchemes":{"fleetToken":{"type":"apiKey","in":"header","name":"X-Fleet-Token","description":"Owner-created random fleet token, shown once. Must be supplied as X-Fleet-Token, not an Authorization bearer header on Supabase."},"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE"}}},"paths":{"/v1/demo":{"get":{"responses":{"200":{"description":"Sample request"}}}},"/v1/quote-check":{"post":{"summary":"Free structural x402 quote check; no fleet credential, reservation or payment","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Quote structurally valid, not independently verified"},"400":{"description":"Invalid quote"}}}},"/v1/fleets":{"post":{"summary":"Create independent fleet credential and spending limits","responses":{"200":{"description":"Credential shown once"}}}},"/v1/status":{"get":{"security":[{"fleetToken":[]}],"responses":{"200":{"description":"Daily coordinated budget"}}}},"/v1/reserve":{"post":{"security":[{"fleetToken":[]}],"summary":"Free beta reservation (3/day/fleet)","responses":{"200":{"description":"Atomic decision"}}}},"/v1/paid/reserve":{"post":{"security":[{"fleetToken":[]},{"x402":[]}],"summary":"Paid atomic reservation decision, $0.05 USDC per call","responses":{"200":{"description":"Paid reserve decision"},"402":{"description":"x402 payment required"}}}},"/v1/release":{"post":{"security":[{"fleetToken":[]}],"responses":{"200":{"description":"Released reservation"}}}},"/v1/mark-spent":{"post":{"security":[{"fleetToken":[]}],"responses":{"200":{"description":"UNVERIFIED self-reported spending"}}}}}}