Skip to content

The SDK reads your API key from POMA_API_KEY by default.

Create an API key

  1. Open POMA Playground.
  2. Sign in or create an account.
  3. Copy an API key from the playground.

If you need access, contact sdk@poma-ai.com.

Set the environment variable

bash
export POMA_API_KEY="your-api-key"
powershell
setx POMA_API_KEY "your-api-key"

On Windows, open a new terminal after running setx.

You can also pass the key directly:

python
from poma import PrimeCut

client = PrimeCut(api_key="your-api-key")

Optional environment variables

The SDK also respects API_BASE_URL.

Use it only when you need to point the client at a non-default POMA API base URL.