---
title: "Server-to-server trigger for processor extract-from-gcs"
method: POST
path: "/api/internal/processor/extract-from-gcs"
tags: ["internal"]
---

# Server-to-server trigger for processor extract-from-gcs

`POST /api/internal/processor/extract-from-gcs`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/internal/processor/extract-from-gcs`
- Auth: none declared

## Request body

- InternalExtractFromGcsDto
  - `gcs_path` string, required
  - `document_id` string, required
  - `user_id` string, required
  - `folder_id` string, required
  - `max_pages` number
  - `webhook_target` 'nest' | 'next'
  - `defer_ocr` boolean

## Response `202`

Extraction accepted

## Other responses

- `401`: Unauthorized
- `503`: Trigger secret not configured

---

[API](https://skmtc.dev/opencase/apis/opencase-backend-api.md) · [All operations](https://skmtc.dev/opencase/apis/opencase-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/opencase/apis/opencase-backend-api/revisions/c66ef2d8dc00?raw)
