Read this version’s body
read_versionRead back the rendered body of a version: the same bytes a reader receives in the browser, which differ from the uploaded file only by the one platform line — not a rewritten copy. This is how an agent confirms for itself that what went live is what it made: no browser, no screenshot, no human login, and no need to hand the link to the user to look at for you. Reads the entry file by default; pass file with a package-relative path to read one text file (.html, .md, .txt, .json, .svg and the like). To see which files a version has, and which one is the entry, read get_version artifacts. Two things it cannot read: PDF and PPTX content, which is page images (use preview_url, or the page count from get_version), and versions still uploading or converting, which have no body yet. A version in another workspace is not_found. A long body is returned up to a limit, and the reply states the full character count and whether it was cut.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | 包内相对路径;不传就读入口文件(get_version 的 artifacts 里 role=main 那个) | |
| version_id | Yes |