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 7b43e9e
Browse filesBrowse the repository at this point in the historyBrowse files
ks-release-bot
committed
chore(release): regenerate ksapi v1.156.1 from ks-backend
Copy file name to clipboardExpand all lines: docs/DocumentVersionMetadata.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
**preconversion_source_s3** | **str** | S3 URL to the original pre-conversion legacy Office file; null unless this version was converted from a legacy binary format. After conversion source_s3 points at the modern OOXML file and this field preserves the original for traceability. | [optional]
12
12
**cited_source_s3** | **str** | S3 URL to the agent's cited copy of the source (KS Citation comments intact); null unless the agent uploaded a file carrying citations. Read only for the agent edit round-trip so a follow-up chat re-extracts citation anchors instead of losing them; source_s3 stays the clean artifact served to chunking, the FE viewer, and downloads. | [optional]
13
13
**fast_plaintext_s3** | **str** | S3 URL to the fast plaintext export of the document | [optional]
14
+
**transcript_s3** | **str** | S3 URI of the ASR transcript JSON (per-segment start_ms/end_ms/text); null for non-media. Chunks carry timings too, but at merged-chunk granularity, so this is the only per-segment source. | [optional]
14
15
**hash** | **str** | Base64-encoded SHA256 hash of the uploaded source file | [optional]
15
16
**pipeline_state** | [**PipelineState**](PipelineState.md) | Current state of the ingestion pipeline workflow | [optional]
16
17
**total_pages** | **int** | Total number of pages in the document | [optional]
Copy file name to clipboardExpand all lines: docs/DocumentVersionResponse.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
20
20
**asset_s3_url** | **str** | Presigned URL to download the source document (6-hour validity) | [optional]
21
21
**cited_asset_s3_url** | **str** | Presigned URL (6-hour validity) to the agent's cited copy of the source, with KS Citation comments intact; null unless one was stored. For the agent edit round-trip only — human downloads and the FE viewer use asset_s3_url (clean) and render citations from citation_anchors. | [optional]
22
22
**fast_plaintext_url** | **str** | Presigned URL to download the fast plaintext export (6-hour validity) | [optional]
23
+
**transcript_url** | **str** | Presigned URL (6-hour validity) to the ASR transcript JSON with per-segment start_ms/end_ms/text; null for non-media. Chunks pack many segments into one, so this is what a client reads to follow a recording line by line. | [optional]
23
24
**page_screenshot_urls** | **List[str]** | Presigned URLs (6-hour validity) to per-page WEBP screenshots in page order: index 0 is page 1, index N-1 is page N. Populated only when the request includes include_page_screenshots=true; null otherwise. | [optional]
Copy file name to clipboardExpand all lines: ksapi/models/document_version_metadata.py
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ class DocumentVersionMetadata(BaseModel):
35
35
preconversion_source_s3: Optional[StrictStr] =Field(default=None, description="S3 URL to the original pre-conversion legacy Office file; null unless this version was converted from a legacy binary format. After conversion source_s3 points at the modern OOXML file and this field preserves the original for traceability.")
36
36
cited_source_s3: Optional[StrictStr] =Field(default=None, description="S3 URL to the agent's cited copy of the source (KS Citation comments intact); null unless the agent uploaded a file carrying citations. Read only for the agent edit round-trip so a follow-up chat re-extracts citation anchors instead of losing them; source_s3 stays the clean artifact served to chunking, the FE viewer, and downloads.")
37
37
fast_plaintext_s3: Optional[StrictStr] =Field(default=None, description="S3 URL to the fast plaintext export of the document")
38
+
transcript_s3: Optional[StrictStr] =Field(default=None, description="S3 URI of the ASR transcript JSON (per-segment start_ms/end_ms/text); null for non-media. Chunks carry timings too, but at merged-chunk granularity, so this is the only per-segment source.")
38
39
hash: Optional[StrictStr] =Field(default=None, description="Base64-encoded SHA256 hash of the uploaded source file")
39
40
pipeline_state: Optional[PipelineState] =Field(default=None, description="Current state of the ingestion pipeline workflow")
40
41
total_pages: Optional[StrictInt] =Field(default=None, description="Total number of pages in the document")
@@ -55,7 +56,7 @@ class DocumentVersionMetadata(BaseModel):
55
56
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")
56
57
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.")
Copy file name to clipboardExpand all lines: ksapi/models/document_version_response.py
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,10 @@ class DocumentVersionResponse(BaseModel):
45
45
asset_s3_url: Optional[StrictStr] =Field(default=None, description="Presigned URL to download the source document (6-hour validity)")
46
46
cited_asset_s3_url: Optional[StrictStr] =Field(default=None, description="Presigned URL (6-hour validity) to the agent's cited copy of the source, with KS Citation comments intact; null unless one was stored. For the agent edit round-trip only — human downloads and the FE viewer use asset_s3_url (clean) and render citations from citation_anchors.")
47
47
fast_plaintext_url: Optional[StrictStr] =Field(default=None, description="Presigned URL to download the fast plaintext export (6-hour validity)")
48
+
transcript_url: Optional[StrictStr] =Field(default=None, description="Presigned URL (6-hour validity) to the ASR transcript JSON with per-segment start_ms/end_ms/text; null for non-media. Chunks pack many segments into one, so this is what a client reads to follow a recording line by line.")
48
49
page_screenshot_urls: Optional[List[StrictStr]] =Field(default=None, description="Presigned URLs (6-hour validity) to per-page WEBP screenshots in page order: index 0 is page 1, index N-1 is page N. Populated only when the request includes include_page_screenshots=true; null otherwise.")
0 commit comments