curl --request GET \
--url https://api.getcargo.io/v1/context/runtime/raw \
--header 'Authorization: Bearer <token>'{
"reason": "<string>"
}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).
curl --request GET \
--url https://api.getcargo.io/v1/context/runtime/raw \
--header 'Authorization: Bearer <token>'{
"reason": "<string>"
}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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Repository-relative path of the file to fetch. The response is the raw bytes from the configured default branch on GitHub.
1Successful response
"repositoryNotFound"Was this page helpful?