---
title: "Get bulk document deletion job status"
method: GET
path: "/api/dataentities/{dataEntityName}/delete/jobs/{jobId}"
tags: ["Bulk deletion"]
---

# Get bulk document deletion job status

`GET /api/dataentities/{dataEntityName}/delete/jobs/{jobId}`

## Request

- Base URL: `https://apiexamples.vtexcommercestable.com.br`
- URL: `https://apiexamples.vtexcommercestable.com.br/api/dataentities/{dataEntityName}/delete/jobs/{jobId}`
- Auth: one of:
  - API key in header `X-VTEX-API-AppKey` and API key in header `X-VTEX-API-AppToken`
  - API key in header `VtexIdclientAutCookie`

Retrieves the current status of a bulk document deletion job created with the [Create bulk document deletion job](https://developers.vtex.com/docs/api-reference/master-data-api-v2#post-/api/dataentities/-dataEntityName-/delete) endpoint.

Poll this endpoint until the job leaves the `InProgress` status.

Possible `Status` values:

- `InProgress`: The job is running and documents are being deleted in batches. Keep polling and do not create another job for this data entity.
- `Success`: All matching documents were deleted. Compare `DocumentsDeleted` with the number of documents you expected to delete.
- `Failed`: Processing stopped after exhausting internal retries. The deletion is partial, which means that documents from completed batches were already deleted. Fix the underlying cause and create a new job with the same filter to finish the deletion.

## Errors

| Status code | Cause | What to do |
| - | - | - |
| `404` | The `jobId` does not exist for this account and data entity, or the job was created more than 60 days ago. Job records are kept for 60 days after creation. | Check the `jobId`, the `an` query parameter, and the data entity in the URL. If all three are correct, the job is older than 60 days and its record is no longer available. |

## Permissions

This request requires a valid [user token](https://developers.vtex.com/docs/guides/api-authentication-using-user-tokens), sent in the `VtexIdclientAutCookie` header.

## Path parameters

- `dataEntityName` string, required
- `jobId` string, required

## Query parameters

- `an` string, required

## Response `200`

OK

- BulkDeleteJobStatusResponseVO: Response body object.
  - `JobId` string: Unique identifier of the bulk deletion job.
  - `Entity` string: Name of the data entity whose documents the job deletes.
  - `Status` 'InProgress' | 'Success' | 'Failed': Current status of the bulk deletion job. Possible values: `InProgress`, `Success`, or `Failed`.
  - `Filter` string: Deletion criteria sent when the job was created.
  - `DocumentsDeleted` integer: Number of documents that the job has deleted.
  - `CreatedAt` string, date-time: Date and time when the job was created, in the ISO 8601 format.
  - `UpdatedAt` string, date-time: Date and time when the job was last updated, in the ISO 8601 format.

## Other responses

- `404`: Not Found

## Changes

- **2026-09-04** `c3f40532233a`: 5 info
  - added the optional property `CreatedAt` to the response with the `200` status
  - added the optional property `Entity` to the response with the `200` status
  - added the optional property `Filter` to the response with the `200` status
  - added the optional property `JobId` to the response with the `200` status
  - …1 more
- **2026-09-02** `8abe82281c5c`: 1 info
  - endpoint added
- **2026-05-14** `6d3f8010fa54`: 1 breaking
  - api path removed without deprecation
- **2026-04-08** `4d580ec5be53`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vtex/apis/master-data-api-v2/changes/api/dataentities/:dataEntityName/delete/jobs/:jobId/get.md)

---

[API](https://skmtc.dev/vtex/apis/master-data-api-v2.md) - [All operations](https://skmtc.dev/vtex/apis/master-data-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/vtex/apis/master-data-api-v2/revisions/4d580ec5be53?raw)
