v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBdatasets
Get a dataset
Returns a dataset by ID, including the total number of files and a list of each file's name and size in bytes.
get/datasets/{dataset_id}
Path parameters
dataset_idstring required
Response
Dataset retrieved successfully
Example response
{
"file_count": 0,
"custom_model_ids": [
"custom_model_ids",
"custom_model_ids"
],
"files": [
{
"file_name": "file_name",
"caption": "caption",
"file_size_bytes": 6
},
{
"file_name": "file_name",
"caption": "caption",
"file_size_bytes": 6
}
],
"dataset": {
"creation_time": "2000-01-23T04:56:07+00:00",
"user_id": "user_id",
"dataset_id": "dataset_id",
"name": "name",
"cover_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
}
}
}