Obtaining Your Access Key
Create or log in to your Obiguard account. Create an access key for your agent or project and use it to authenticate your requests.Authentication with SDKs
Obiguard SDKs
- Python SDK
- cURL
OpenAI SDK
When integrating Obiguard through the OpenAI SDK, modify the base URL and add thex-obiguard-api-key header for authentication.
Here’s an example of how to do it:
We use the
createHeaders helper function from the Obiguard SDK here to easily create Obiguard headers.You can pass the raw headers (x-obiguard-api-key, x-obiguard-provider) directly in the defaultHeaders param as well.- Python

