Get Deletion Status

Returns the status of a language dataset or model deletion. When you delete a dataset or model, the deletion may not occur immediately. Use this call to find out when the deletion is complete.

Response Body

Name

Type

Description

Available Version

deletedObjectId

string

ID of the object deleted. Depending on the object you delete, this contains the dataset ID or the model ID.

2.0

id

string

ID of the deletion.

2.0

message

string

Additional information about the deletion. For example, a message is returned if the deletion fails.

2.0

object

string

Object returned; in this case, deletion.

2.0

organizationId

integer

ID of the org to which the dataset or model being deleted belongs.

2.0

progress

integer

How far the deletion has progressed. Values are between 0–1.

2.0

status

string

Status of the deletion. Valid values are:
QUEUED—Object deletion hasn't started.
RUNNING—Object deletion is in progress.
SUCCEEDED—Object deletion is complete.
SUCCEEDED_WAITING_FOR_CACHE_REMOVAL—Object was deleted, but it can take up to 30 days to delete some related files that are cached in the system.

2.0

type

string

Object that's being deleted. Valid values:

  • DATASET
  • MODEL

2.0

Language