{"openapi":"3.1.0","info":{"title":"FastMesh-Bazaar-Paid-Bridge API","version":"1.0.0","description":"24/7 Cloud Multiplexed Paid Edge Hand Bridge connecting 46+ FastMesh commercial engines and 41 zero-secret Register-Anything capabilities onto Causal Bazaar with strict 0600 credential hygiene and $0 anti-fake-200 buyer protection."},"servers":[{"url":"https://bazaarbridge.fastmesh.dev"},{"url":"http://127.0.0.1:9043"}],"paths":{"/health":{"get":{"summary":"Bridge health, card counts, uniqueness/public/pricing audit, and presence summary","responses":{"200":{"description":"OK"}}}},"/api/presence":{"get":{"summary":"Real-time per-hand_id presence=in, circuit breaker, latency, and archive cache stats","parameters":[{"name":"source","in":"query","schema":{"type":"string","enum":["local_http","ra_proxy"]}},{"name":"presence","in":"query","schema":{"type":"string","enum":["in","away"]}},{"name":"q","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Presence telemetry"}}}},"/api/earnings":{"get":{"summary":"Real-time revenue telemetry, billable runs vs $0 rejected fake-200 stats, and per-card ledger","responses":{"200":{"description":"Earnings telemetry"}}}},"/api/cards":{"get":{"summary":"Sanitized catalog of bridged paid Causal Bazaar capability cards","responses":{"200":{"description":"Card catalog"}}}},"/api/billing/packs":{"get":{"summary":"List non-expiring Creem prepaid credit packs","responses":{"200":{"description":"Pack catalog"}}}},"/api/billing/balance":{"get":{"summary":"Query tenant prepaid credit balance","parameters":[{"name":"tenant_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Credit balance"}}}},"/mcp":{"post":{"summary":"Native JSON-RPC 2.0 MCP endpoint (bridge_status, bridge_list_cards, bridge_presence, bridge_earnings, bridge_validate_manifest)","responses":{"200":{"description":"JSON-RPC 2.0 response"}}}},"/webhooks/creem":{"post":{"summary":"Fail-closed HMAC-SHA256 Creem webhook settlement updating idempotent SQLite credit ledger","responses":{"200":{"description":"Verified settlement"},"401":{"description":"Invalid or missing signature"},"503":{"description":"Webhook secret not configured"}}}},"/llms.txt":{"get":{"summary":"LLM discovery index","responses":{"200":{"description":"Plain text"}}}},"/skill.md":{"get":{"summary":"Autonomous agent integration manual","responses":{"200":{"description":"Markdown"}}}},"/seo/{slug}":{"get":{"summary":"Developer guide / GEO landing page","responses":{"200":{"description":"HTML or Markdown"}}}}}}