Get all recordings
This endpoint retrieves recordings for a particular voice.
HTTP Request
GET https://app.resemble.ai/api/v2/voices/<voice_uuid>/recordings?page=<page>&page_size=<page_size>
URL Parameters | Type | Description |
---|---|---|
voice_uuid | string | Recordings for the voice with this UUID will be returned |
Query Parameters | Type | Description |
---|---|---|
page | number starting from 1 | The page to fetch |
page_size | number between 10-1000 (inclusive) | Determines the number of items per page |
HTTP Response
{
"success": true,
"page": <number>,
"num_pages": <number>,
"page_size": <number,
"items": Array<{
"uuid": <string>,
"name": <string>,
"text": <string>,
"emotion": <string>,
"is_active": <boolean>,
"fill": <boolean>,
"audio_src": Optional<string>,
"created_at": <UTC string>,
"updated_at": <UTC string>,
"metrics": Optional<{
"signal_to_noise_ratio": <number>,
"loudness_grade": <string>,
"resemble_sample_score": <number>,
}>,
}>
}
Examples
NodeJS
1
2
3
4
5
6
7
8
9
10
import { Resemble } from '@resemble/node'
Resemble.setApiKey('YOUR_API_TOKEN')
const voiceUuid = '...'
const page = 1
const pageSize = 10
const response = await Resemble.v2.recordings.all(voiceUuid, page, pageSize)
const recordings = response.items
Try it out
API Key:
Voice Uuid:
Page:
Page Size: