Python SDK

Python Python SDK is the easiest and most recommended way to integrate with Ownlayer

Install SDK

pip install ownlayer

Add add OWNLAYER_API_KEY to your .env file:

OWNLAYER_API_KEY=ey...xxx

Change OpenAI or Anthropic imports to use Ownlayer wrapper

- import openai
+ from ownlayer.openai import openai

Last updated