Uploads
Complete Upload
Mark the recording upload as complete
POST
Mark the recording upload as complete after all files have been uploaded to S3. This transitions the recording status fromDocumentation Index
Fetch the complete documentation index at: https://docs.bota.dev/llms.txt
Use this file to discover all available pages before exploring further.
pending to uploaded and fires an event for downstream processing (e.g., transcription).
Authentication
This endpoint accepts two authentication methods:| Auth | Use case |
|---|---|
| API key | Backend uploading on behalf of devices (BLE sync) |
| Device token | 4G/WiFi devices uploading directly |
Path Parameters
The recording’s unique identifier (e.g.,
rec_abc123).Response
Returns the updated recording object with status set touploaded.
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | The recording’s unique identifier |
device_id | string | The device that created this recording |
end_user_id | string | The end user associated with this recording |
name | string | null | Human-readable name for the recording |
status | string | Recording status (will be uploaded on success) |
duration_ms | integer | null | Duration of the recording in milliseconds |
started_at | string | ISO 8601 timestamp when the recording started |
ended_at | string | ISO 8601 timestamp when the recording ended |
transcription_id | string | null | Associated transcription ID, if any |
media | array | Files associated with this recording |
media[].id | string | Media identifier (med_*) |
media[].type | string | Media type: audio, image, or video |
media[].mime_type | string | MIME type of the file |
media[].file_size_bytes | integer | File size in bytes |
media[].status | string | Upload status: pending, uploaded |
media[].captured_at | string | null | ISO 8601 timestamp of when the media was captured |
media[].created_at | string | ISO 8601 timestamp of when the media record was created |
metadata | object | Custom metadata attached to the recording |
created_at | string | ISO 8601 timestamp when the recording was created |
Complete Upload Flow
The recording must be in
pending status. Calling this on an already-uploaded recording returns a 400 error.
