All API endpoints in the reference documentation are relative to the following base URL:
For any request you make when communicating with Merge Gateway, you will need an API key to authenticate yourself as an authorized user.
Add your API Key with a “Bearer ” prefix as a header called Authorization to authorize your Merge API requests. This header must be included in every request in this format:
Gateway’s public API surface is centered around three endpoint groups:
GET /models
provider or vendor?model=<provider/model_id>GET /vendors
GET /vendors/{vendor_id}POST /responses
vendor that ultimately served the requestGET /models returns canonical model identity at the top level and vendor-specific execution metadata under vendors.
Example:
Use GET /models?model=<provider/model_id> when you want one specific model object but prefer a query parameter over a path parameter. The slash is fine there because it is part of the query parameter value.
GET /vendors returns execution hosts, not canonical model owners.
Example:
POST /responses returns the canonical model that served the request and a top-level vendor field for the execution host that actually handled it.