---
title: "Trigger Matter Extraction"
method: POST
path: "/developer/transcript-filing/matter-extraction/run"
tags: ["Developer", "Developer - Transcript Filing"]
---

# Trigger Matter Extraction

`POST /developer/transcript-filing/matter-extraction/run`

Queue a content-extraction run.

sample_size 1-10: pre-flight test over that many unprofiled matters —
allowed while content extraction is still disabled, so cost/quality can
be validated on a handful of folders before committing to a full run.
sample_size 0: full run (requires the toggle to be on).

## Request body

- MatterExtractionRequest — Trigger content extraction; sample_size > 0 = pre-flight test over N unprofiled matters (allowed before opting in), 0 = full run (requires content_extraction_enabled).
  - `sample_size` integer

## Response `200`

Successful Response

- MatterExtractionTriggerResponse
  - `queued` boolean, required
  - `sample` boolean, required

## Other responses

- `422` — Validation Error

---

[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)
