---
title: "Retrieve the status of the bulk deletion"
method: GET
path: "/s/{spaceId}/api/observability/slos/_bulk_delete/{taskId}"
tags: ["slo"]
---

# Retrieve the status of the bulk deletion

`GET /s/{spaceId}/api/observability/slos/_bulk_delete/{taskId}`

Retrieve the status of the bulk deletion operation for SLOs.  This endpoint returns the status of the bulk deletion operation, including whether it is completed and the results of the operation.

## Path parameters

- `spaceId` string, required
- `taskId` string, required

## Headers

- `kbn-xsrf` string, required

## Response `200`

Successful response

- SLOsBulkDeleteStatusResponse — Indicates if the bulk deletion is completed, with the detailed results of the operation.
  - `error` string — The error message if the bulk deletion operation failed
  - `isDone` boolean — Indicates if the bulk deletion operation is completed
  - `results` object[] — The results of the bulk deletion operation, including the success status and any errors for each SLO
    - `error` string — The error message if the deletion operation failed for this SLO
    - `id` string — The ID of the SLO that was deleted
    - `success` boolean — The result of the deletion operation for this SLO

## Other responses

- `400` — Bad request
- `401` — Unauthorized response
- `403` — Forbidden response

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
