Update Recording

PATCH https://app.resemble.ai/api/v2/voices/{voice_uuid}/recordings/{uuid} or PUT https://app.resemble.ai/api/v2/voices/{voice_uuid}/recordings/{uuid}

Update recording metadata.

ParameterTypeRequiredNotes
voice_uuidstringVoice UUID (URL parameter).
uuidstringRecording UUID (URL parameter).
FieldTypeRequiredNotes
namestringRecording name (max 256 characters).
textstringTranscript (max 1024 characters).
emotionstringEmotion label (max 64 characters).
is_activebooleanWhether recording is active for training.
fillbooleanWhether to use for fill/speech-to-speech.
$curl --request PATCH 'https://app.resemble.ai/api/v2/voices/VOICE_UUID/recordings/RECORDING_UUID' \
> -H 'Authorization: Bearer YOUR_API_TOKEN' \
> -H 'Content-Type: application/json' \
> --data '{
> "emotion": "excited",
> "is_active": true,
> "name": "launch_intro",
> "text": "This is our big announcement!"
> }'
1{
2 "success": true,
3 "item": {
4 "uuid": "RECORDING_UUID",
5 "name": "launch_intro",
6 "text": "This is our big announcement!",
7 "emotion": "excited",
8 "fill": false,
9 "is_active": true,
10 "audio_src": "https://...",
11 "created_at": "2024-01-15T10:30:00Z",
12 "updated_at": "2024-01-15T11:10:00Z"
13 }
14}

Cannot activate recordings marked as outliers.