Create a new recording
device_id and end_user_id in request bodydevice_id nor end_user_id (automatically extracted from token)dtok_*), this field is automatically populated from the token and should NOT be included in the request.dtok_*), this field is automatically populated from the token and should NOT be included in the request.| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the recording (rec_*). |
device_id | string | ID of the device that captured the recording. |
end_user_id | string | ID of the associated end user. |
name | string | Human-readable name for the recording. |
status | string | Current recording status (see below). |
duration_ms | integer | null | Recording duration in milliseconds. null until audio is uploaded. |
started_at | string | ISO 8601 timestamp of when the recording started. |
ended_at | string | ISO 8601 timestamp of when the recording ended. |
transcription_id | string | null | ID of the associated transcription. null until transcription is created. |
media | array | Files associated with this recording (audio, images, video). Empty until uploaded. |
media[].id | string | Media identifier (med_*). |
media[].type | string | Media type: audio, image, or video. |
media[].mime_type | string | MIME type (e.g., audio/opus, image/jpeg, video/mp4). |
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 | Arbitrary key-value metadata. |
created_at | string | ISO 8601 timestamp of when the recording was created. |
| Status | Description |
|---|---|
pending | Recording created, awaiting audio upload |
uploaded | Audio uploaded, ready for transcription |
processing | Transcription in progress |
completed | Transcription complete |
failed | Processing failed |