Retrieve the contents of a file from the authenticated account’s sandbox GitHub repository. Resolves the github_repo from the account’s snapshot, then fetches the file at the specified path from the repository’s main branch. Text files are returned verbatim. Binary files (.mp3, .png, .jpg, .mp4, .pdf, etc.) are returned base64-encoded — decode before writing to disk. Authentication is handled via the x-api-key header or Authorization Bearer token.
Documentation Index
Fetch the complete documentation index at: https://developers.recoupable.com/llms.txt
Use this file to discover all available pages before exploring further.
The file path within the repository (e.g. "src/index.ts" or "README.md").
"src/index.ts"
File contents retrieved successfully
Status of the operation
success The file content. Text files (.md, .json, .txt, source code, etc.) are returned verbatim. Binary files (.mp3, .png, .jpg, .mp4, .pdf, etc.) are returned base64-encoded — decode before writing to disk. The encoding is inferred from the file extension server-side; encoding field is not yet returned but planned.