---
title: "Purge Untagged Matters"
method: POST
path: "/developer/transcript-filing/purge-untagged-matters"
tags: ["Developer", "Developer - Transcript Filing"]
---

# Purge Untagged Matters

`POST /developer/transcript-filing/purge-untagged-matters`

Deactivate mirrored matters with no lifecycle status.

Rows without ``matter_status`` were mirrored by the legacy single-root +
depth sweep (mostly a matter's own subfolders — Pleadings, Discovery).
Once matter sources are configured, every legitimate matter is tagged, so
untagged rows are provably stale. This clears them without waiting for a
full rebuild sweep to complete.

Soft-deactivation only — rows are kept, never deleted.

## Response `200`

Successful Response

- DriveCaseMatchingSyncStatus — Status of the Drive matter + Google contacts mirrors (developer panel).
  - `matter_folder_depth` integer
  - `matter_root_folder_id` string, nullable
  - `content_extraction_enabled` boolean
  - `extraction_status` string
  - `extraction_last_run_at` string, date-time, nullable
  - `extraction_last_error_msg` string, nullable
  - `profiled_matter_count` integer
  - `matters_status` string
  - `matters_last_synced_at` string, date-time, nullable
  - `matters_last_error_msg` string, nullable
  - `active_matter_count` integer
  - `untagged_matter_count` integer
  - `contacts_status` string
  - `contacts_last_synced_at` string, date-time, nullable
  - `contacts_last_error_msg` string, nullable
  - `active_contact_count` integer

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
