Try it free

Get record deletion status

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Get the current status of a record deletion request in Dynatrace with the Grail Storage Record Deletion API, including progress and final outcome.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/storage/record/v1/delete:status

Overview

Returns the current status of a record deletion process. Possible statuses:

  • submitted: deletion is queued, not yet started.

  • processing: deletion is in progress; the progress field shows the percentage of segments processed.

  • finished: all records were successfully deleted.

  • incomplete: deletion finished with partial failures; some segments could not be rewritten.

  • failed: deletion failed completely.

  • cancelled: deletion was cancelled before processing started.

  • unknown: no deletion task found for the provided ID.

Authentication

To execute this request, you need a platform token or OAuth access token with storage:records:delete scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
bodyDeletedRecordsProcess

Status request

bodyRequired

Request body objects

The DeletedRecordsProcess object

ElementTypeDescriptionRequired
taskIdstring-Required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"taskId": "49eb7d8e-806a-4829-9d29-c2a92e642366"
}

Response

Response codes

CodeTypeDescription
200StatusDeleteRecordsResponse

Successfully returned status of the record deletion process.

400ErrorEnvelope

Bad request for requesting status of the record deletion process.

401ErrorEnvelope

Unauthorized.

403ErrorEnvelope

Access forbidden.

Response body objects

The StatusDeleteRecordsResponse object

ElementTypeDescription
messagestring-
progressstring-
rewrittenBytesinteger-
statusstring-
The element can hold these values
  • finished
  • submitted
  • processing
  • unknown
  • failed
  • incomplete
  • cancelled
submittedAtstring-

The ErrorEnvelope object

ElementTypeDescription
errorExceptionalReturn-

The ExceptionalReturn object

ElementTypeDescription
codeinteger-
errorDetails(CustomValidationErrorInfo | InvalidAuditEventsErrorInfo | MediaTypeErrorInfo | ParameterErrorInfo | ProxyErrorInfo | QueryFrontendRawErrorInfo | RequestBodyErrorInfo)[]-
messagestring-

The CustomValidationErrorInfo object

The ErrorInfo object

ElementTypeDescription
messagestring-

The InvalidAuditEventsErrorInfo object

The MediaTypeErrorInfo object

The ParameterErrorInfo object

The ProxyErrorInfo object

The QueryFrontendRawErrorInfo object

The RequestBodyErrorInfo object

Response body JSON models

{
"status": "cancelled",
"message": "Deletion of records cancelled.",
"submittedAt": "2026-04-01T03:15:12Z",
"rewrittenBytes": 0
}
{
"error": {
"code": 1,
"errorDetails": [
{
"message": "string"
}
],
"message": "string"
}
}
Related tags
Platform APIDynatrace Platform