v1

latestOpenAPI 3.1.02026-07-2631411.5 MB
Context - Runtime

Read runtime sandbox file as raw bytes

Stream the raw bytes of a file from the workspace context repository's default branch on GitHub, with a resolved Content-Type header. Used by the file viewer for binary previews (images, PDFs).

get/context/runtime/raw

Query parameters

pathstring required

Repository-relative path of the file to fetch. The response is the raw bytes from the configured default branch on GitHub.

Repository-relative path of the file to fetch. The response is the raw bytes from the configured default branch on GitHub.

Response

Successful response

OR
OR
OR
OR