Uploads
Get Download URL
Generate a pre-signed URL to download a media file from S3
POST
Generate a pre-signed S3 URL for downloading a media file associated with a recording. Pass theDocumentation Index
Fetch the complete documentation index at: https://docs.bota.dev/llms.txt
Use this file to discover all available pages before exploring further.
media_id to specify which file to download.
Authentication
Requires an API key withrecordings:read scope.
Path Parameters
The recording’s unique identifier (e.g.,
rec_abc123).Request Body
The media item to download (e.g.,
med_001). Get available media IDs from the recording’s media array.Response
Returns a pre-signed S3 download URL along with file metadata and an expiration timestamp.Response Fields
| Field | Type | Description |
|---|---|---|
download_url | string | Pre-signed S3 URL for downloading the file |
media_id | string | The requested media identifier |
content_type | string | MIME type of the file (e.g., audio/opus, image/jpeg) |
file_size_bytes | integer | File size in bytes |
expires_at | string | ISO 8601 timestamp when the download URL expires (1 hour from creation) |
Using the Download URL
The pre-signed URL can be used directly:cURL
Browser
Python
The download URL expires after 1 hour. If expired, request a new URL. The media must be in
uploaded status.
