Skip to main content

Packages & installation

The Python distribution is named audacity-sdk, but the import stays audacity — exactly the boto3 pattern of installing one name and importing another.

Your first request

A complete request/response round trip with the official AI Reserve SDKs. Set AUDACITY_API_KEY in your environment, pick a model, and run — the shapes below will look familiar to anyone who has used Bedrock’s Converse. (Using the OpenAI or Anthropic SDK instead? See connect what you already use.)

If your first request fails

The fastest diagnosis: open the portal, find your key under Profile → API Keys, and click Test — it fires one real request through the gateway with that key and translates any failure into the fix. The same translations, keyed to what the error response says:
Tip: every server-derived error carries a requestId — quote it to support and they can find the exact request. Full exception taxonomy in Errors & retries.