{"openapi":"3.1.0","info":{"title":"OpenMarket Agentic Commerce Exchange API","version":"1.0.0","description":"Universal commercial intent, opportunity, quote comparison, cross-provider bundle planning, scoped agent delegation, and non-custodial transaction routing API (Open Group Public / non-adult)."},"servers":[{"url":"https://openmarket.run"}],"components":{"securitySchemes":{"cookieSession":{"type":"apiKey","in":"cookie","name":"__Host-openmarket_session"},"bearerAuth":{"type":"http","scheme":"bearer","description":"User session token or scoped agent delegation token (om_agt_...)"}}},"paths":{"/api/health":{"get":{"operationId":"health","summary":"Service liveness check","responses":{"200":{"description":"OK"}}}},"/api/ready":{"get":{"operationId":"ready","summary":"Readiness check including DB & migrations","responses":{"200":{"description":"Ready"}}}},"/api/revision":{"get":{"operationId":"revision","summary":"Running release SHA and metadata","responses":{"200":{"description":"Revision info"}}}},"/api/v1/categories":{"get":{"operationId":"listCategories","summary":"List launch B2B categories and gated expansion categories","responses":{"200":{"description":"Categories"}}}},"/api/v1/providers":{"get":{"operationId":"searchProviders","summary":"Search verified providers and capabilities","responses":{"200":{"description":"Providers list"}}},"post":{"operationId":"createProvider","summary":"Register a supplier/provider profile","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"201":{"description":"Created"}}}},"/api/v1/intents":{"get":{"operationId":"listIntents","summary":"List public intents (plus own private intents when authenticated)","responses":{"200":{"description":"Intents list"}}},"post":{"operationId":"createIntent","summary":"Create a public, invitation-only, or private commercial intent","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"201":{"description":"Created"}}}},"/api/v1/intents/parse":{"post":{"operationId":"parseIntentDraft","summary":"Parse natural language need into structured commercial intent draft","responses":{"200":{"description":"Parsed draft"}}}},"/api/v1/intents/{id}/matches":{"get":{"operationId":"getIntentMatches","summary":"Deterministic ranked provider matches with fit breakdown","responses":{"200":{"description":"Ranked matches"}}}},"/api/v1/intents/{id}/offers/compare":{"get":{"operationId":"compareIntentOffers","summary":"Like-for-like normalized offer comparison","responses":{"200":{"description":"Comparison table"}}}},"/api/v1/offers":{"post":{"operationId":"submitOffer","summary":"Submit an estimate or binding quote with itemized pricing","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"201":{"description":"Offer submitted"}}}},"/api/v1/offers/{id}/negotiate":{"post":{"operationId":"negotiateOffer","summary":"Send a question or counter-offer in an offer negotiation thread","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"201":{"description":"Message recorded"}}}},"/api/v1/offers/{id}/accept":{"post":{"operationId":"acceptOffer","summary":"Atomically accept a valid offer within authority and route execution","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Offer accepted and routed"}}}},"/api/v1/bundles":{"get":{"operationId":"listBundles","summary":"List buyer cross-provider bundle plans","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Bundles"}}},"post":{"operationId":"createBundle","summary":"Propose a multi-provider bundle plan","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"201":{"description":"Bundle plan created"}}}},"/api/v1/bundles/{id}/route":{"post":{"operationId":"routeBundle","summary":"Route constituent bundle deliverables independently with failure recovery","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Bundle routing result"}}}},"/api/v1/orders":{"get":{"operationId":"listOrders","summary":"List routed orders reconciled from signed source events","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Orders"}}}},"/api/v1/orders/{id}/action":{"post":{"operationId":"orderLifecycleAction","summary":"Route cancellation, refund, or dispute to owning source platform","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Routed to owner"}}}},"/api/v1/delegations":{"get":{"operationId":"listDelegations","summary":"List scoped agent delegations","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Delegations"}}},"post":{"operationId":"createDelegation","summary":"Create scoped, revocable, time-limited agent mandate","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"201":{"description":"Delegation created with one-time token"}}}},"/api/v1/delegations/{id}/revoke":{"post":{"operationId":"revokeDelegation","summary":"Immediately revoke an agent delegation","security":[{"cookieSession":[]},{"bearerAuth":[]}],"responses":{"200":{"description":"Revoked"}}}},"/api/v1/intelligence/trends":{"get":{"operationId":"marketTrends","summary":"Privacy-preserving aggregate demand & supply gap intelligence (k >= 3)","responses":{"200":{"description":"Aggregate trends"}}}},"/api/v1/integrations":{"get":{"operationId":"listIntegrations","summary":"Live verified health and routing eligibility of Open Group owners","responses":{"200":{"description":"Integrations"}}}},"/api/v1/connect-ai/status":{"get":{"operationId":"connectAiStatus","summary":"Universal Connect AI (og-connect v0.3.4) status","responses":{"200":{"description":"Connect AI status","content":{"application/json":{"example":{"purposes":{"intent.draft":"long_form","offer.draft":"long_form","bundle.decompose":"agent","match.explain":"chat","market.insights":"long_form"}}}}}}}},"/api/v1/webhooks/source-events":{"post":{"operationId":"ingestSourceWebhook","summary":"Receive signed HMAC-SHA256 source platform order/fulfillment events","responses":{"200":{"description":"Reconciled"}}}},"/mcp":{"post":{"operationId":"mcpRpc","summary":"Model Context Protocol Streamable HTTP JSON-RPC 2.0 endpoint","responses":{"200":{"description":"JSON-RPC response"}}}}}}