For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundChangelogSign In
OverviewAPI ReferencePre-recorded STTStreaming STTVoice AgentsSpeech UnderstandingGuardrailsLLM GatewayFAQ
OverviewAPI ReferencePre-recorded STTStreaming STTVoice AgentsSpeech UnderstandingGuardrailsLLM GatewayFAQ
  • Getting started
    • Transcribe a pre-recorded audio file
    • Model selection
    • View model benchmarks
    • Evaluate model accuracy
    • Cloud endpoints & data residency
    • Manage concurrent requests
    • Webhooks
  • Models
    • Medical Mode
  • Features
    • Boost specific terms
    • Label speakers
    • Transcribe multiple audio channels
    • Transcribe audio with mixed languages
    • Correct spelling of terms
    • Include filler words
    • Search for words in transcript
    • Set the start and end of the transcript
  • Guides
LogoLogo
PlaygroundChangelogSign In
On this page
  • Default Endpoint
  • EU Data Residency
  • Endpoints
  • Which endpoint should I use?
  • How to use it
Getting started

Cloud Endpoints and Data Residency

Was this page helpful?
Previous

Concurrency

Next
Built with

Choose the endpoint that best fits your application’s requirements—whether that’s using the default US region or ensuring your audio data stays within the European Union.

Default Endpoint

The default endpoint (api.assemblyai.com) processes your pre-recorded audio transcription requests in the US region. If you don’t specify a base URL, this is the endpoint used for the request.

EU Data Residency

The EU endpoint (api.eu.assemblyai.com) guarantees your data never leaves the European Union. This is designed for organizations with strict data residency and governance requirements—your audio and transcription data will remain entirely within the EU.

Endpoints

EndpointBase URLDescription
US (default)api.assemblyai.comData stays in the US
EUapi.eu.assemblyai.comData stays in the EU

Which endpoint should I use?

  • No data residency requirements? Use the default endpoint. No configuration change is needed.
  • Need EU data residency? Use the EU endpoint to ensure your audio and transcription data stays within the European Union.

How to use it

Update your base URL to your preferred endpoint. Select an endpoint tab below to see examples for each.

US (default)
EU data residency

The US endpoint is the default. If you’re using the SDKs without overriding the base URL, you’re already using this endpoint. No configuration change is required.

1import assemblyai as aai
2
3aai.settings.api_key = "<YOUR_API_KEY>"
4
5# No base_url override needed — US is the default
6# audio_file = "./local_file.mp3"
7audio_file = "https://assembly.ai/wildfires.mp3"
8
9config = aai.TranscriptionConfig(
10 speech_models=["universal-3-pro", "universal-2"],
11 language_detection=True,
12)
13
14transcript = aai.Transcriber(config=config).transcribe(audio_file)
15
16if transcript.status == "error":
17 raise RuntimeError(f"Transcription failed: {transcript.error}")
18
19print(transcript.text)