Quickstart: proxy your first request
Create a virtual key and send a chat completion through Andora Shield in about five minutes. One virtual key per provider path — the provider is in the URL.
1. Create a virtual key
- Sign up at /auth/signup and finish onboarding (or open Dashboard → Shield).
- Paste a real provider API key — it is encrypted at rest and never shown again.
- Copy the virtual key once (
sk-andora-…). Store it like a secret.
2. Call the proxy (curl)
OpenAI-shaped JSON. Provider is a path segment — there is no single shared OpenAI base URL for all vendors.
curl -s "https://useandora.com/proxy/openai/v1/chat/completions" \
-H "Authorization: Bearer $ANDORA_VIRTUAL_KEY" \
-H "Content-Type: application/json" \
-H "x-andora-session-id: agent-run-1" \
-d '{
"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": "Hello"}]
}'3. OpenAI SDK
from openai import OpenAI
client = OpenAI(
api_key="sk-andora-...",
base_url="https://useandora.com/proxy/openai/v1",
)
client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello"}],
)For Anthropic, use /proxy/anthropic/v1 with the same virtual-key pattern (provider must match the key).
4. See it in the dashboard
Open Dashboard → usage and Shield metrics. Set a spend limit on the virtual key to verify hard caps (including mid-stream cutoff on streaming responses).
Providers
GA providers are production-ready. Bedrock and Vertex are beta (custom endpoint URL + Bearer token — not native IAM/ADC yet).
- openai
- anthropic
- gemini
- groq
- cohere
- mistral
- openrouter
- deepseek
- azure-openai
- together
- fireworks
- bedrockbeta
- vertexbeta