Skip to main content
POST
Clean the dataset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

datasetKey
string<uuid>
required

Response

Cleaning started.

datasetKey
string<uuid>
required
Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[4][0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
status
enum<string>
required

Status of dataset creation:

  • PENDING - The dataset has been created and is pending further actions. Mainly data addition
  • PROCESSING - The dataset is currently being processed. When this status is returned an url to check status is returned too
  • COMPLETED - The dataset has been processed and is completed. The dataset is now ready to be used for training models
  • FAILED - The dataset processing has failed
Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
datasetCreationProgressUrl
string
required
numberOfBuckets
integer
datasetUploadInfo
object

Where to PUT the CSV on the single-file route. Prefer uploadTargets, which names each file it expects.

uploadUrl is a signed URL valid for 60 minutes. PUT the CSV as a binary body with Content-Type: text/csv and every header listed in extraHeaders (one colon-joined Name:value pair per header, semicolon-separated). Send no Authorization header: the signature covers the request, and an extra header breaks it.

uploadTargets
object[]

Where to PUT each input file. A dataset built from a train and a labelled test file returns one target per file; a dataset whose files came from a completed refinement returns none, because nothing is uploaded. Empty on the single-file pipeline.