Create API keys
Create and use Adaption API keys for secure programmatic access to Adaptive Data from applications, CI, and notebooks.
API keys authenticate programmatic access to Adaptive Data—the same platform capabilities you use in the app, invoked from your code, automation, or notebooks. Treat them as credentials for production integrations, not as shareable tokens.
Create a key in the app
Section titled “Create a key in the app”- Sign in to Adaption.
- Create a key, copy it once, and store it securely. You will not be able to view it again.
Use the key in Python
Section titled “Use the key in Python”Pass the key explicitly:
from adaption import Adaption
client = Adaption(api_key="pt_live_...")Or set ADAPTION_API_KEY and construct the client without arguments:
export ADAPTION_API_KEY="pt_live_..."from adaption import Adaption
client = Adaption() # reads ADAPTION_API_KEYThe same pattern applies to AsyncAdaption for async code.
Next step
Section titled “Next step”Continue to Getting started to install the SDK and run your first ingest → adapt → download workflow.