Skip to main content

Client

Basic Configuration

Configuration Parameters

string
required
Your Cerevox API key. Get one at cerevox.ai/lexa
string
default:"https://data.cerevox.ai"
Base URL for the Cerevox API. Change for custom endpoints or testing
float
default:"60.0"
Default timeout for API requests in seconds. Individual operations can override this
int
default:"3"
Maximum number of automatic retry attempts for failed requests
float
default:"1.0"
Base delay between retry attempts. Uses exponential backoff
float
default:"2.0"
Default interval between job status checks during parsing
int
default:"10"
Maximum number of concurrent requests (async client only)

Environment Variables

Standard Environment Variables

Development vs Production

Performance Tuning

Timeout Configuration

Concurrency Configuration

Security

API Key Management

Network Security

Logging

Basic Logging Setup

Production Logging

Framework Integration

Django

FastAPI

Validation


Next Steps

Explore real-world examples to see these configurations in action.