Get the processing status of a dataset
client.datasets.getStatus(stringdatasetID, RequestOptionsoptions?): DatasetGetStatusResponse { dataset_id, error, progress, 2 more }
GET/api/v1/datasets/{dataset_id}/status
Get the processing status of a dataset
import Adaption from 'adaption';
const client = new Adaption({
apiKey: process.env['ADAPTION_API_KEY'], // This is the default and can be omitted
});
const response = await client.datasets.getStatus('dataset_id');
console.log(response.dataset_id);{
"dataset_id": "dataset_id",
"error": {
"message": "message"
},
"progress": {
"percent": 0,
"processed_rows": 0,
"total_rows": 0
},
"row_count": 0,
"status": "pending"
}Returns Examples
{
"dataset_id": "dataset_id",
"error": {
"message": "message"
},
"progress": {
"percent": 0,
"processed_rows": 0,
"total_rows": 0
},
"row_count": 0,
"status": "pending"
}