# Changelog

Source: [Changelog](<https://docs.gptunnel.ru/en/changelog/>)

<a id="_top"></a>
Each entry identifies an API change or a documentation update. A documentation date is the date the guide was updated.

<a id="2-december-2026--documentation-update"></a>
## 2 December 2026 — documentation update

<a id="chat-completions-streaming-responses"></a>
### Chat Completions streaming responses

**Method:** `POST /v1/chat/completions`.

The [streaming guide](<https://docs.gptunnel.ru/en/api/chat-completions/streaming/>) now covers reading `delta.content`, collecting `usage` and tool arguments, and handling errors and interrupted connections. It includes a Python parser.

**Check your integration.** The client collects event data until a blank line, checks `error` and `finish_reason`, and distinguishes a normal `[DONE]` marker from a dropped connection. A `[DONE]` marker alone does not confirm successful generation.

<a id="two-ways-to-mask-data"></a>
### Two ways to mask data

**Methods:** `POST /v1/chat/completions` and `POST /v1/obfuscate`.

The documentation now covers [masking personal data in a model request](<https://docs.gptunnel.ru/en/api/pii-obfuscation/>) and [masking text in a separate request](<https://docs.gptunnel.ru/en/api/obfuscate/>) on two pages. Each page has its own request parameters and response examples.

**Check your integration.** Chat Completions takes `obfuscate: true` and `obfuscate_patterns`. The standalone method takes `text` and `custom_patterns`. In a model reply, GPTunneL restores the original values. The standalone method returns the masked text and a mapping between original values and placeholders.

<a id="creative-lab-price-quote"></a>
### Creative Lab price quote

**Method:** `POST /api/v2/media/price`.

The [price quote reference](<https://docs.gptunnel.ru/en/creative-lab/price/>) explains where to put `prompt`, when the API reads input files, when it can estimate rather than measure, and how submitted parameters relate to the values used for the calculation. Python, cURL, and JavaScript send the same request for the selected duration.

**Check your integration.** For Kling, send a non-empty `prompt` at the top level, beside `model`. Use the same parameters you will pass when creating the task. Read your current quote in `price` and `currency`. The example amount is illustrative. A quote creates no task and incurs no charge.
