@@ -9,28 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010## [ 3.1.0] - 2026-05-27
1111
12- ### Added
13-
14- - ` client.parse() ` — first-class support for the Data Extraction API
15- (` /extraction/parse ` ). Supports all four processing modes (` text ` ,
16- ` structure ` , ` understand ` , ` agentic ` ) and both output shapes (spatial
17- elements and whole-document Markdown). Typed response model with
18- discriminated element variants (paragraph, table, formula, picture,
19- keyValueRegion, handwriting). Billed against ** extraction credits** , a
20- separate billing bucket from the ** processor API credits** used by the
21- other endpoints.
22- - ` NutrientClient(extract_api_key=...) ` — optional constructor parameter
23- for the DWS Extract API key. ` parse() ` uses it for ` /extraction/parse `
24- requests; every other method continues to use ` api_key ` . Falls back to
25- ` api_key ` when omitted (the path that becomes the default once global
26- DWS API keys roll out). Passing only a Processor ` api_key ` against
27- ` /extraction/parse ` is rejected by the server with ` 403 ` .
28- - New types exported from ` nutrient_dws ` : ` ExtractionCredits ` ,
29- ` ParseResponse ` , ` ParseInstructions ` , ` ParseMode ` , ` ParseOutputFormat ` ,
30- ` ParseElement ` , ` ParseOutputBody ` , ` ParseOutputElements ` ,
31- ` ParseOutputMarkdown ` , ` ParagraphElement ` , ` TableElement ` , ` TableCell ` ,
32- ` FormulaElement ` , ` PictureElement ` , ` KeyValueRegionElement ` ,
33- ` KeyValuePair ` , ` HandwritingElement ` .
12+ - Added ` client.parse() ` for the Data Extraction API (` /extraction/parse ` )
13+ - Added ` extract_api_key ` constructor parameter — DWS Extract is a separate product with its own API key
3414
3515## [ 3.0.0] - 2026-01-30
3616
0 commit comments