---
title: "Translate a PDF document and stream translated pages as SSE"
method: POST
path: "/text"
---

# Translate a PDF document and stream translated pages as SSE

`POST /text`

## Response `200`

Server-Sent Events stream. Emits `page` events with TranslationPageEvent payload, then a `complete` event with TranslationCompleteEvent payload. Emits `error` with a message payload if processing fails mid-stream.

## Other responses

- `400` — Bad request — missing file, empty file, unsupported format, missing targetLanguage, or unknown strategy value

---

[API](https://skmtc.net/cdc/apis/zia-translation-service.md) · [All operations](https://skmtc.net/cdc/apis/zia-translation-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cdc/zia-translation-service/revisions/81f7e55a3813/schema)
