curl "https://api.destined.ai/v1/datasets/ds_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"dataset_id": "ds_abc123",
"name": "My Dataset",
"row_count": 3,
"created_at": "2024-01-15T10:30:00Z",
"rows": [
{
"index": 0,
"text": "Hello, this is the first sentence.",
"speaker_id": "speaker-1",
"audio_url": "https://voice.s3.amazonaws.com/audio/ds_abc123_0.wav"
},
{
"index": 1,
"text": "This is another sentence.",
"speaker_id": "speaker-2",
"audio_url": "https://voice.s3.amazonaws.com/audio/ds_abc123_1.wav"
}
]
}
Datasets
Get Dataset
Get details and rows for a dataset
GET
/
v1
/
datasets
/
{dataset_id}
curl "https://api.destined.ai/v1/datasets/ds_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"dataset_id": "ds_abc123",
"name": "My Dataset",
"row_count": 3,
"created_at": "2024-01-15T10:30:00Z",
"rows": [
{
"index": 0,
"text": "Hello, this is the first sentence.",
"speaker_id": "speaker-1",
"audio_url": "https://voice.s3.amazonaws.com/audio/ds_abc123_0.wav"
},
{
"index": 1,
"text": "This is another sentence.",
"speaker_id": "speaker-2",
"audio_url": "https://voice.s3.amazonaws.com/audio/ds_abc123_1.wav"
}
]
}
Path Parameters
The unique dataset ID
Response
Dataset identifier
Dataset name
Array of dataset rows with generated audio URLs
curl "https://api.destined.ai/v1/datasets/ds_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"dataset_id": "ds_abc123",
"name": "My Dataset",
"row_count": 3,
"created_at": "2024-01-15T10:30:00Z",
"rows": [
{
"index": 0,
"text": "Hello, this is the first sentence.",
"speaker_id": "speaker-1",
"audio_url": "https://voice.s3.amazonaws.com/audio/ds_abc123_0.wav"
},
{
"index": 1,
"text": "This is another sentence.",
"speaker_id": "speaker-2",
"audio_url": "https://voice.s3.amazonaws.com/audio/ds_abc123_1.wav"
}
]
}
⌘I