Prerequisites
- An API key (request access to get set up)
- The OpenAI SDK for your language, or any HTTP client
1. Install the OpenAI SDK
2. Configure the Client
Point the OpenAI SDK at Consus Gateway and pass your API key via thex-api-key header. Clients that can only send a Bearer token also work; see Authentication.
3. Make a Request
Swap themodel parameter to use any available model. All requests stay within government-authorized cloud environments.
What’s Next
- Authentication: API keys and key management
- Models: Available models and compliance levels
- Chat Completions: Full request/response reference
- Security: Data privacy and compliance