Dataset
Create
Used to create dataset.
POST
URL:{{base_url}}/api/{{version}}/dataset/create
Headers
Authorization*
API key
Content-Type*
Application/jsonn
Request Body
file*
form-data
Zip file.
name*
form-data
Name of the dataset.
task_type*
form-data
Type of dataset.
description*
form-data
Description of the dataset.
View
Used to list datasets.
GET
URL:{{base_url}}/api/{{version}}/dataset/view
Headers
Authorization*
API key
Content-Type*
Application/jsonn
View
Used to get details of a particular dataset.
GET
URL:{{base_url}}/api/{{version}}/dataset/:id/view
Path Parameters
id
String
Id of a particular dataset.
Headers
Authorization*
API key
Content-Type*
Application/jsonn
Upload
Used to upload data item for upgrading dataset.
POST
URL:{{base_url}}/api/{{version}}/dataset/:id/upload
Path Parameters
id*
String
Id of the dataset.
Headers
Authorization*
API key
Content-Type*
application/json
Request Body
file
form-data
In the case of FORM and DOC models, file must be a document with extension png, jpeg and pdf. In the case of NER model, file must be a json.
label_file
form-data
Json file. Used in FORM and DOC models.
ocr_file
form-data
Json file. Used in FORM and DOC models.
fields_json
form-data
Json file. Used in FORM models.
Upload API is used to upload single data item at a time.
Update
Used to update dataset using uploaded data.
POST
URL:{{base_url}}/api/{{version}}/dataset/:id/upload
Path Parameters
id*
String
Id of the dataset.
Headers
Authorization*
API key
Content-Type*
application/json
Bulk Update
Used to update dataset using zip file which contains multiple data items.
POST
URL:{{base_url}}/api/{{version}}/dataset/:id/bulkupdate
Path Parameters
id*
String
Id of dataset.
Headers
Authorization*
API key
Content-Type*
application/json
Used to upload and update multiple data items.
Upgrade
Used to upgrade dataset which is already updated.
POST
URL:{{base_url}}/api/{{version}}/model/:id/dataset/upgrade
Path Parameters
id *
String
Id of dataset.
Headers
Authorization*
API key
Content-Type*
application/json
Last updated