/chat/completions
, /audio
, /embeddings
, etc. We also make these endpoints work across 250+ different LLMs.
However, there are still many endpoints like Cohere’s /rerank
or Deepgram’s /listen
that are uncommon or have niche use cases.
With the Gateway to Other APIs feature, you can route to any custom provider endpoint using Obiguard (including the ones hosted on your private setups) and get complete logging & monitoring for all your requests.
Supported HTTP Methods
POST
GET
PUT
DELETE
How to Integrate
- Get your Obiguard API key
- Add your provider details to Obiguard
- Make your request using Obiguard’s API or SDK
1. Get Obiguard API Key
Create or log in to your Obiguard account. Grab your account’s API key from the “Virtual Keys” page.2. Add Provider Details
Choose one of these authentication methods:Option 1. Generate a Virtual Key (Recommended)
Option 1. Generate a Virtual Key (Recommended)
Obiguard integrates with 40+ LLM providers. Add your provider credentials (such as API key) to Obiguard,
and get a virtual key that you can use to authenticate and send your requests.
Python
Creating virtual keys lets you:
- Manage all credentials in one place
- Rotate between different provider keys
Option 2. Direct Provider Auth
Option 2. Direct Provider Auth
Set the provider name from one of Obiguard’s 40+ supported providers list and use your provider credentials directly
with each request.
Python
Option 3. Custom Hosted Endpoint
Option 3. Custom Hosted Endpoint
Route to your privately hosted model endpoints.
- Choose a compatible provider type (e.g.,
openai
,cohere
) - Provide your endpoint URL with
customHost
- Include
Authentication
if needed
Python
3. Make Requests
Construct your request URL:
- Obiguard Gateway base URL remains same:
https://gateway.obiguard.ai/v1
- Append your custom endpoint at the end of the URL:
https://gateway.obiguard.ai/v1/{provider - endpoint}
End-to-end Example
Cohere Rerank Integration
Cohere Rerank Integration
A complete example showing document reranking with Cohere:
Caveats & Considerations
- Response objects are returned exactly as received from the provider, without Obiguard transformations
- REST API supports all HTTP methods:
POST
,GET
,PUT
, andDELETE
- SDK supports all HTTP methods:
POST
,GET
,PUT
, andDELETE
- There are no limitations on which provider endpoints can be proxied
- All requests are logged and monitored through your Obiguard dashboard
Next Steps
The complete list of features supported in the SDK are available on the link below.Obiguard SDK Client
Learn more about the Obiguard SDK Client