Upload a media file
<llms-only>
> For the complete documentation index, see [llms.txt](https://www.assemblyai.com/docs/llms.txt)
</llms-only>
Upload a media file to AssemblyAI's servers.
<Note>To upload a media file to our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.</Note>
<Warning>Requests to transcribe uploaded files must use an API key from the same project as the key that was used to upload the file. If you use an API key from a different project you will get a `403` error and "Cannot access uploaded file" message.</Warning>