Get a key and a snippet
1
Open a model
Go to Settings → Models and open the model you want.
2
Use via API
The Use via API section shows the model ID and the Base URL. Choose Create API key. The key can only call models, lasts 90 days, and is shown once, so copy it now.
3
Copy a snippet
Copy the ready-made curl, Python, or TypeScript example. The examples read the key from the
CORVIC_API_KEY environment variable.Call the API
The base URL ishttps://api.corvic.ai/openai/v1. Authenticate with Authorization: Bearer <key>.
Endpoints
Calls run as your organization. To run a call under a room’s policy and billing, add the
X-Corvic-Room-Id header.
The gateway is stateless: send the whole conversation with each call.
store, previous_response_id, conversation, and background are not supported. corvic/auto isn’t available over the API; call a tier such as corvic/rook.
