---
title: "Extract Document Endpoint"
method: POST
path: "/api/v1/documents/{document_id}/extract"
tags: ["Documents"]
---

# Extract Document Endpoint

`POST /api/v1/documents/{document_id}/extract`

## Request

- Base URL: `https://api.withverifa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.withverifa.com/api/v1/documents/{document_id}/extract`
- Auth: none declared

Trigger field extraction on a document.

Runs OCR/AI extraction appropriate for the document's classification.
Results are stored in the document_extractions table.

## Path parameters

- `document_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/withverifa/apis/verifa.md) · [All operations](https://skmtc.dev/withverifa/apis/verifa/llms.txt) · [OpenAPI document](https://skmtc.dev/withverifa/apis/verifa/revisions/7288c82c9e33?raw)
