---
title: "Get the result of a purge request"
method: GET
path: "/sources/{sourceKey}/v1/purge/{purgeId}"
tags: ["Purge"]
---

# Get the result of a purge request

`GET /sources/{sourceKey}/v1/purge/{purgeId}`

Get the result of a purge request.

## Path parameters

- `sourceKey` string, required
- `purgeId` string, required

## Response `200`

Gets the current status of the purge job.

- V1PurgeOperationReceipt
  - `taskId` string, required — The task identifier. Used to track an async task in the system. Use the task ID to poll for completion status. The taskId holds different prefix to represent different tasks. - oneOf task: `s_<id>`. - bulk task: `bk_<id>` (deprecated: `<id>` only). - bundle task: `bd_<id>` (deprecated: `<id>` only). - purge task: `pg_<id>` (deprecated: `purge:<id>`).
  - `purgeId` string, required — ID of the purge operation. Deprecated, please use the taskId instead.
  - `collectionType` 'resources' | 'relationships' | 'objects', required
  - `collectionKey` string, required — Key of the resource or relationship collection.
  - `status` 'SUCCESS' | 'PENDING' | 'CANCELLED' | 'FAILURE', required — Status of the operation. * `SUCCESS`: The operation was persisted in the source, or was dropped by a reject action of the user. * `PENDING`: The operation is being processed asyncronously by the system or is in a pipeline IN_REVIEW status. * `CANCELLED`: The operation was cancelled by the system due to a concurrent operation. * `FAILURE`: The operation failed due to validation or processing error.
  - `deletedCount` integer — Number of documents deleted in case of success status.
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Returned when the request is malformed or invalid.
- `404` — Returned when the purge operation does not exist.

---

[API](https://skmtc.dev/clinia/apis/registry-api.md) · [All operations](https://skmtc.dev/clinia/apis/registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clinia/registry-api/revisions/3a9197b11351/schema)
