> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Clay Enterprise: Clay Get Privacy Delete Status

> Get the status of a Clay Audiences privacy deletion job from its job ID. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get the status of a Clay Audiences privacy deletion job from its job ID.

> [!NOTE]
>
> Tool ID: `clay_get_privacy_delete_status`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'clay_get_privacy_delete_status',
  {
    "job_id": "job_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run clay_get_privacy_delete_status --input '{
  "job_id": "job_123"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "finished": 123,
    "job_id": "job_123",
    "status": "in_progress",
    "total": 123
  }
}
```

Use `deepline describe clay_get_privacy_delete_status --json` for the latest machine-readable contract.

## Input reference

Checks a privacy deletion job in your workspace, including tracked cascading cleanup. Completed and failed job statuses are retained for three days after completion or failure.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.job_id` | `string` | Yes | — | Minimum length: 1. Maximum length: 200. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Checks a privacy deletion job in your workspace, including tracked cascading cleanup. Completed and failed job statuses are retained for three days after completion or failure.",
    "properties": {
      "job_id": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    },
    "required": [
      "job_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | The deletion job is complete or failed. |
| `result.data.finished` | `integer` | Yes | — | The number of people confirmed complete. Remains 0 until the entire job completes, then equals total. This is not an estimate of partial progress. Minimum: 0. Maximum: 9007199254740991. |
| `result.data.job_id` | `string` | Yes | — | The deletion job ID returned when the request was queued. |
| `result.data.status` | `"in_progress" \| "complete" \| "failed"` | Yes | — | in\_progress includes queued work, retries, and cascading cleanup. complete means the deletion job and its tracked cleanup tasks succeeded. failed means the job failed and cleanup may be partial. Allowed: `in_progress`, `complete`, `failed`. |
| `result.data.total` | `integer` | Yes | — | The number of unique people selected for deletion. Minimum: 0. Maximum: 9007199254740991. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "The deletion job is complete or failed.",
        "properties": {
          "finished": {
            "type": "integer",
            "description": "The number of people confirmed complete. Remains 0 until the entire job completes, then equals total. This is not an estimate of partial progress.",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "job_id": {
            "type": "string",
            "description": "The deletion job ID returned when the request was queued."
          },
          "status": {
            "type": "string",
            "description": "in_progress includes queued work, retries, and cascading cleanup; complete means the deletion job and its tracked cleanup tasks succeeded; failed means the job failed and cleanup may be partial.",
            "enum": [
              "in_progress",
              "complete",
              "failed"
            ]
          },
          "total": {
            "type": "integer",
            "description": "The number of unique people selected for deletion.",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "job_id",
          "status",
          "total",
          "finished"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.