Repo File-preflight
Check lightweight metadata for a path in a public GitHub repository at an optional ref. It does not clone or download large file contents.
$0.002 / callPOST /repo/file-preflightx402 · Base
Use when
- does this file exist in the repository
- check public file metadata
- find the download link for this repository file
Input example
{
"repository": "owner/project",
"path": "package.json",
"ref": "main"
}
Canonical paid endpoint
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/repo/file-preflight