{"openapi":"3.1.0","info":{"title":"Agent Reuse Guard","version":"1.0.0-beta","description":"Atomic per-fleet coordination of exact work between cooperating AI agents under owner-asserted legal reuse rules. No custody, wallet enforcement, content inspection, proof of delivery or verified savings."},"servers":[{"url":"https://jzallxzbbdtelcpabfgr.supabase.co/functions/v1/agent-reuse-guard"}],"components":{"securitySchemes":{"fleetToken":{"type":"apiKey","in":"header","name":"X-Fleet-Token"}}},"paths":{"/v1/claim":{"post":{"security":[{"fleetToken":[]}],"summary":"Atomically reserve a tenant-scoped exact work fingerprint","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vendor_sha256","work_sha256","license_scope_sha256","agent_id","intent_id","quoted_usdc","reuse_rights_confirmed"],"properties":{"vendor_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"work_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"license_scope_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"agent_id":{"type":"string"},"intent_id":{"type":"string"},"quoted_usdc":{"type":"string"},"ttl_seconds":{"type":"integer","minimum":60,"maximum":604800},"reuse_rights_confirmed":{"type":"boolean","const":true}}}}}},"responses":{"200":{"description":"Coordination decision"},"401":{"description":"Invalid fleet token"}}}},"/v1/complete":{"post":{"security":[{"fleetToken":[]}],"summary":"Owner assertion of licensed reusable delivery","responses":{"200":{"description":"Transition"}}}},"/v1/release":{"post":{"security":[{"fleetToken":[]}],"summary":"Release reservation","responses":{"200":{"description":"Transition"}}}},"/v1/status":{"get":{"security":[{"fleetToken":[]}],"summary":"Active state counts for own fleet","responses":{"200":{"description":"Counts"}}}},"/v1/demo":{"get":{"summary":"Synthetic no-spend demo","responses":{"200":{"description":"Example"}}}}}}