Skip to main content
DELETE
cURL
A dataset that a queued or running job depends on returns DATASET_IN_USE. Finished jobs do not block deletion; they keep their record of which version they trained on.

Authorizations

Authorization
string
header
required

Authorization: Bearer <your API key> -- the same key as inference. A key reaches the account it belongs to and no other.

Path Parameters

account
string
required

Your account id -- the one in the console's address bar (my-account for this key). It must be the account the key belongs to.

Maximum string length: 64
dataset
string
required

The dataset's id, as chosen when it was created.

Maximum string length: 64

Response

OK.

name
string
datasetId
string
displayName
string
source
enum<string>
Available options:
DATASET_SOURCE_UPLOAD,
DATASET_SOURCE_JOB_OUTPUT,
DATASET_SOURCE_SPLIT
sourceJob
string
parentVersion
string
state
enum<string>
Available options:
DATASET_STATE_CREATING,
DATASET_STATE_UPLOADING,
DATASET_STATE_VALIDATING,
DATASET_STATE_READY,
DATASET_STATE_FAILED,
DATASET_STATE_DELETED
latestVersionNo
integer
totalBytes
string<int64>
activeReferenceCount
integer
createdBy
string
createTime
string<date-time>
updateTime
string<date-time>
deleteTime
string<date-time>
versions
object[]
lineage
object