Documentation Index
Fetch the complete documentation index at: https://docs.observ.dev/llms.txt
Use this file to discover all available pages before exploring further.
Configuration Reference
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Your Observ API key (required) |
recall | boolean | false | Enable semantic caching |
environment | string | "production" | Environment tag for filtering |
debug | boolean | false | Enable debug logging (TypeScript only) |
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
