Datasets
Last updated
Last updated
Returns all the existing datasets in a client.
GET
Path parameters
Parameter name
Parameter type
Description
clientId
string
Client Id obtained from Deepen AI
Response
Returns a json with each field representing a dataset Id and its corresponding value being a DatasetResource.
Returns all the existing datasetIds in a client.
URL GET
Request
Path parameters
Parameter name
Parameter type
Description
clientId
string
Client Id obtained from Deepen AI
Response
Returns a json with key “datasets” and value as a list of dataset details object.
Dataset details object has field names ‘dataset_id’ and ‘dataset_name’ with corresponding values.
Response Object:
{“datasets”:
[
{“dataset_id”: “testdatasetId1”, “dataset_name”:”testdatasetname1”},
{“dataset_id”: “testdatasetId1”, “dataset_name”:”testdatasetname1”}
]
}
Get the metadata related to a dataset.
URL
Request
Path parameters
Parameter name
Parameter type
Description
datasetId
string
Dataset Id of the dataset
**Note: To get the dataset details of old format datasets (created using v1 APIs) using this api please pass the dataset_id as client_id:project_id:dataset_id
Response
Returns a DatasetResource object.
Returns all the files in a dataset.
URL
Request
Path parameters
Parameter name
Parameter type
Description
datasetId
string
Dataset Id of the dataset
Response
Returns a json with field ‘files’ that represents an array of FileResource objects.
Get the metadata related to a file.
URL
Request
Path parameters
Parameter name
Parameter type
Description
datasetId
string
Dataset Id of the file
fileId
string
File Id of the file
Response
Returns a FileResource object.
GET
GET
GET