Configuration Reference
Option Details
apiKey
Required - Your Observ API key for authentication and tracing. Get your API key from Settings → API Keys.- TypeScript
- Python
recall
Intelligently cache similar prompts and reduce costs in a few lines of code. When enabled, Observ analyzes the semantic meaning of prompts and returns cached responses for similar requests, even if the exact wording differs.- TypeScript
- Python
environment
Tag traces with an environment identifier for filtering in the dashboard. Useful for separating production, staging, development, and test traces.- TypeScript
- Python
"production", "staging", "development", "test"
debug
TypeScript only - This option is not available in the Python SDK.
- TypeScript
- API calls to Observ servers
- Caching hits/misses
- Tracing events
- Error details
Complete Example
- TypeScript
- Python
Environment Variables
- .env
- TypeScript
- Python
Next Steps
Usage Guide
Learn how to wrap provider clients
Session Tracking
Group related calls with sessions
Custom Metadata
Attach metadata to traces
Dashboard
View your traces and analytics
