Skip to main content
GET
Read runtime sandbox file as raw bytes

Authorizations

Authorization
string
header
required

API token from cargo-ai login. Send as Authorization: Bearer <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

Read runtime sandbox file as raw bytes

reason
enum<string>
required
Available options:
repositoryNotFound