You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aef4cbd
Browse filesBrowse the repository at this point in the historyBrowse files
ks-release-bot
committed
chore(release): regenerate ksapi v1.158.1 from ks-backend
Copy file name to clipboardExpand all lines: docs/DocumentVersionMetadata.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@ Name | Type | Description | Notes
26
26
**xlsx_kpi_catalog** | **List[Dict[str, object]]** | KPI (Key Performance Indicator) cells detected by the XLSX parser. Each entry contains a label, computed value, cell address, and driver cell references. Applicable to financial models and operational spreadsheets; not populated for template spreadsheets that lack computed KPI cells. | [optional]
27
27
**citation_anchors** | [**List[XlsxCellAnchorOutputOrDocxParagraphAnchorOutput]**](XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.md) | In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk. | [optional]
28
28
**information_statistics** | [**InformationStatistics**](InformationStatistics.md) | Aggregate statistics for the document version (tokens, chunk counts, depth) | [optional]
29
-
**quota_charged** | **bool** | True once the conversion activity successfully consumed PAGE quota | [optional][default to False]
29
+
**quota_charged** | **bool** | Diagnostics only — nothing reads it and nothing refunds. Kept for pre-existing rows that carry it. | [optional][default to False]
30
30
**quota_page_count** | **int** | Page quantity charged at conversion start; 0 if not yet charged | [optional][default to 0]
31
31
**quota_media_minutes** | **int** | MEDIA_MINUTE quantity charged at media preparation; 0 if not yet charged | [optional][default to 0]
32
-
**quota_idempotency_key** | **str** | Stable consume key (matches workflow_id); 'UNSET'for pre-Phase-2 docs so refund logic short-circuits | [optional][default to 'UNSET']
32
+
**quota_idempotency_key** | **str** | Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET'when no consume was committed | [optional][default to 'UNSET']
33
33
**file_md5** | **str** | MD5 of source bytes; 'UNSET' for pre-Phase-2 docs, real hex digest after first prep run | [optional][default to 'UNSET']
34
34
**idempotency_key** | **str** | Opt-in create key. A repeat ingest with the same key at the same (parent, name) replays this document instead of colliding — makes a ZIP fan-out member retry idempotent. | [optional]
Copy file name to clipboardExpand all lines: ksapi/models/document_version_metadata.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,10 +50,10 @@ class DocumentVersionMetadata(BaseModel):
50
50
xlsx_kpi_catalog: Optional[List[Dict[str, Any]]] =Field(default=None, description="KPI (Key Performance Indicator) cells detected by the XLSX parser. Each entry contains a label, computed value, cell address, and driver cell references. Applicable to financial models and operational spreadsheets; not populated for template spreadsheets that lack computed KPI cells.")
51
51
citation_anchors: Optional[List[XlsxCellAnchorOutputOrDocxParagraphAnchorOutput]] =Field(default=None, description="In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk.")
52
52
information_statistics: Optional[InformationStatistics] =Field(default=None, description="Aggregate statistics for the document version (tokens, chunk counts, depth)")
53
-
quota_charged: Optional[StrictBool] =Field(default=False, description="True once the conversion activity successfully consumed PAGE quota")
53
+
quota_charged: Optional[StrictBool] =Field(default=False, description="Diagnostics only — nothing reads it and nothing refunds. Kept for pre-existing rows that carry it.")
54
54
quota_page_count: Optional[StrictInt] =Field(default=0, description="Page quantity charged at conversion start; 0 if not yet charged")
55
55
quota_media_minutes: Optional[StrictInt] =Field(default=0, description="MEDIA_MINUTE quantity charged at media preparation; 0 if not yet charged")
56
-
quota_idempotency_key: Optional[StrictStr] =Field(default='UNSET', description="Stable consume key (matches workflow_id); 'UNSET' for pre-Phase-2 docs so refund logic short-circuits")
56
+
quota_idempotency_key: Optional[StrictStr] =Field(default='UNSET', description="Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET' when no consume was committed")
57
57
file_md5: Optional[StrictStr] =Field(default='UNSET', description="MD5 of source bytes; 'UNSET' for pre-Phase-2 docs, real hex digest after first prep run")
58
58
idempotency_key: Optional[StrictStr] =Field(default=None, description="Opt-in create key. A repeat ingest with the same key at the same (parent, name) replays this document instead of colliding — makes a ZIP fan-out member retry idempotent.")
0 commit comments