Read runtime sandbox file as raw bytes
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
Read runtime sandbox file as raw bytes
Documentation Index
Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Repository-relative path of the file to fetch. The response is the raw bytes from the configured default branch on GitHub.
Minimum string length:
1Response
Successful response
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Allowed value:
"repositoryNotFound"
