---
title: "Extract Preview"
method: POST
path: "/api/knowledge/extract"
---

# Extract Preview

`POST /api/knowledge/extract`

Extract text from image/audio/PDF files without indexing.
Used by the frontend review-before-indexing flow — the user can
edit the extracted text before clicking "Index".

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/nexa/apis/farm-intel-api.md) · [All operations](https://skmtc.dev/nexa/apis/farm-intel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexa/farm-intel-api/revisions/b1933769082d/schema)
