Platform API Keys
Key Types
Credential
Format
Purpose
INTERACTIVEAI_PUBLIC_KEY="pk-..."
INTERACTIVEAI_SECRET_KEY="sk-..."
INTERACTIVEAI_HOST="https://app.interactive.ai"from interactiveai import Interactive
interactiveai = Interactive()from interactiveai.openai import OpenAI
import os
client = OpenAI(
base_url="https://app.interactive.ai/api/v1",
api_key=os.environ["LLMROUTER_API_KEY"]
)curl https://app.interactive.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LLMROUTER_API_KEY" \
-d '{
"model": "openai/gpt-4o",
"messages": [
{"role": "user", "content": "Hello, world!"}
]
}'Creating API Keys
Creating a Project API Key

Creating a Router API Key

Security Best Practices
Compromised Keys
Last updated
Was this helpful?

