Get a Batch
This endpoint retrieves one batch in a project.
HTTP Request
GET https://app.resemble.ai/api/v2/projects/<project_uuid>/batch/<batch_uuid>
URL Parameters | Type | Description |
---|---|---|
batch_uuid | string | UUID of the batch to fetch |
project_uuid | string | UUID of the project to which the batch belongs |
HTTP Response
{
"success": true,
"item": {
"uuid": <string>,
"body": Array<Array<string, string>>,
"voice_uuid": <string>,
"total_count": <number>,
"completed_count": <number>,
"failed_count": <number>,
"clips": Array<Clip>,
"created_at": <UTC Date>,
"updated_at": <UTC Date>
}
}
Note:
clips
is only returned if there are any completed or failed clips
Examples
NodeJS
1
2
3
4
5
6
7
8
import { Resemble } from '@resemble/node'
Resemble.setApiKey('YOUR_API_TOKEN')
const projectUuid = '..'
const batchUuid = '..'
const res = await Resemble.v2.batch.get(projectUuid, batchUuid)
Try it out
API Key:
Project UUID:
Batch UUID: