---
title: "POST /api/company-documents/process/"
method: POST
path: "/api/company-documents/process/"
tags: ["Company Documents"]
---

# POST /api/company-documents/process/

`POST /api/company-documents/process/`

Process a company document by triggering extraction and type classification

## Request body

- object
  - `fileId` string, required

## Response `201`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `fileId` string, required
    - `status` string, required
    - `percentage` number, required
    - `workflows` string[], required
    - `finishedWorkflows` string[], required
    - `metadata` object, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, nullable, required

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 1 breaking, 1 info
  - the response property `data/updatedAt` became nullable for the status `201`
  - response property `data/updatedAt` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/company-documents/process/post.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/97e51f27dc77/schema)
