github.contents
failGet repository content
Requires owner, repo, and path. Select `content_text` for decoded UTF-8 file contents when GitHub returns base64 content; keep `content` only when you need the raw API payload. Most useful optional filters: ref. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.
All variants failed: 6 errors, 0 successful.
What to do
Either the resource is private, doesn't exist, or your filter values don't match a real resource.
Try a known public repo (anomalyco/opencode, sst/opencode, octocat/Hello-World)Either the resource is private, doesn't exist, or your filter values don't match a real resource.
Confirm the resource exists: it may be private, removed, or org-scopedIf the failure is 404 on `anomalyco/opencode`, try `sst/opencode` or `octocat/Hello-World`. The retry script does this automatically.
python3 scripts/retry_batch.py --source github --only-category <category>Summary
| Variant | Trials | Min | Median | Max | Row counts | Errors |
|---|---|---|---|---|---|---|
| minimal | 2 | 28096 ms | 28810 ms | 29525 ms | [0, 0] | 2 |
| realistic | 2 | 25052 ms | 26594 ms | 28137 ms | [0, 0] | 2 |
| edge | 2 | 28880 ms | 29264 ms | 29648 ms | [0, 0] | 2 |
Latency per trial
Probe variants — every command + output
2 trialssmallest valid query
SELECT * FROM github.contents WHERE owner = 'anomalyco' AND repo = 'opencode' AND path = '1' LIMIT 1Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/contents/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/contents/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
2 trialstypical user query
SELECT * FROM github.contents WHERE owner = 'anomalyco' AND repo = 'opencode' AND path = '1' LIMIT 25Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/contents/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/contents/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
2 trialsedge: larger limit
SELECT * FROM github.contents WHERE owner = 'anomalyco' AND repo = 'opencode' AND path = '1' LIMIT 200Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/contents/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/contents/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
All returned rowsacross all non-errored trials · filterable · paginated
Trial comparison
| Variant / combo | Trial # | Latency | Rows | Status | First key returned |
|---|---|---|---|---|---|
| minimal | t1 | 29525ms | 0 | error | — |
| minimal | t2 | 28096ms | 0 | error | — |
| realistic | t1 | 25052ms | 0 | error | — |
| realistic | t2 | 28137ms | 0 | error | — |
| edge | t1 | 29648ms | 0 | error | — |
| edge | t2 | 28880ms | 0 | error | — |
bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T05:51:54Zreports/github/tables/contents.json2026-08-31T05:51:54Z2026-08-31T05:51:54Z0