Conventions
For OpenAI library compatibility, see Migrate from OpenAI.
Quick REST example
Framework guides
Practical notes
- Rate limits and retries: Use exponential backoff on
429responses. See Rate limits. - OpenAI-compatible libraries: Set
OPENAI_API_BASE=https://api.synapsai.cloud/v1and test with a simple call before integrating complex chains. - Security: Never embed API keys in client-side code. See Security best practices.

