Skip to main content
GET
/
context
/
runtime
/
raw
Read runtime sandbox file as raw bytes
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

path
string
required

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

Minimum string length: 1

Response

Successful response

reason
string
required
Allowed value: "repositoryNotFound"