Skip to content
SupportGo to app
Introduction

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.

  1. Sign in to Adaption.
  2. Open Settings and the API keys section.
  3. Create a key, copy it once, and store it securely. You will not be able to view it again.

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:

Terminal window
export ADAPTION_API_KEY="pt_live_..."
from adaption import Adaption
client = Adaption() # reads ADAPTION_API_KEY

The same pattern applies to AsyncAdaption for async code.

Continue to Getting started to install the SDK and run your first ingest → adapt → download workflow.