github source

github.license

partial

Get the license for a repository

Requires owner and repo. Most useful optional filters: ref. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.

owner, repo captured 2026-08-31 06:30:59Zmedian 31037 ms
Verdict: PARTIAL

1 errors across trials but 3 variants returned data.

What to do

Some variants failed
partial

Investigate which variants returned empty rows and which errored. The failing variant often has the missing filter shape.

Re-probe with smaller LIMIT to isolate the failing variant.
Unrecognized error
unknown

Inspect the raw error and add a rule to scripts/analyze_failures.py.

View the error under Probe variants → first trial → error block.
Retry with alternate repos
retry-strategy

If 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>
rendering…

Summary

VariantTrialsMinMedianMaxRow countsErrors
minimal236751 ms42082 ms47413 ms[24, 24]0
realistic231037 ms31037 ms31037 ms[0, 24]1
edge242043 ms47441 ms52840 ms[24, 24]0

Latency per trial

minimalmedian 42082ms
t136751mst247413ms
scale: 0–47413 ms
realisticmedian 31037ms
t1-1mst231037ms
scale: 0–31037 ms
edgemedian 47441ms
t152840mst242043ms
scale: 0–52840 ms

Probe variants — every command + output

minimal2 trials
min 36751ms · median 42082ms · max 47413ms · rows 24,24

smallest valid query

Command
SELECT * FROM github.license WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 1
Trials + output
trial 1·36751ms·rows 24isError=false
First row (click to expand JSON)
{
  "_links": "{\"self\":\"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev\",\"git\":\"https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c\",\"html\":\"https://github.com/anomalyco/opencode/blob/dev/LICENSE\"}",
  "_links__git": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "_links__html": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "_links__self": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev",
  "content": "TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVy",
  "download_url": "https://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSE",
  "encoding": "base64",
  "git_url": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "html_url": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "license": "{\"key\":\"mit\",\"name\":\"MIT License\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"node_id\":\"MDc6TGljZW5zZTEz\"}",
  "license__html_url": "",
  "license__key": "mit",
  "license__name": "MIT License",
  "license__node_id": "MDc6TGljZW5zZTEz",
  "license__spdx_id": "MIT",
  "license__url": "https://api.github.com/licenses/mit",
  "name": "LICENSE",
  "owner": "anomalyco",
  "path": "LICENSE",
  "ref": "",
  "repo": "opencode",
  "sha": "6439474beed8e0271df9862eff97ffd70ec2464c",
  "size": "1065",
  "type": "file",
  "url": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev"
}
columns (25)
_links_links__git_links__html_links__selfcontentdownload_urlencodinggit_urlhtml_urllicenselicense__html_urllicense__keylicense__namelicense__node_idlicense__spdx_idlicense__urlnameownerpathrefreposhasizetypeurl
trial 2·47413ms·rows 24isError=false
First row (click to expand JSON)
{
  "_links": "{\"self\":\"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev\",\"git\":\"https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c\",\"html\":\"https://github.com/anomalyco/opencode/blob/dev/LICENSE\"}",
  "_links__git": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "_links__html": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "_links__self": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev",
  "content": "TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVy",
  "download_url": "https://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSE",
  "encoding": "base64",
  "git_url": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "html_url": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "license": "{\"key\":\"mit\",\"name\":\"MIT License\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"node_id\":\"MDc6TGljZW5zZTEz\"}",
  "license__html_url": "",
  "license__key": "mit",
  "license__name": "MIT License",
  "license__node_id": "MDc6TGljZW5zZTEz",
  "license__spdx_id": "MIT",
  "license__url": "https://api.github.com/licenses/mit",
  "name": "LICENSE",
  "owner": "anomalyco",
  "path": "LICENSE",
  "ref": "",
  "repo": "opencode",
  "sha": "6439474beed8e0271df9862eff97ffd70ec2464c",
  "size": "1065",
  "type": "file",
  "url": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev"
}
columns (25)
_links_links__git_links__html_links__selfcontentdownload_urlencodinggit_urlhtml_urllicenselicense__html_urllicense__keylicense__namelicense__node_idlicense__spdx_idlicense__urlnameownerpathrefreposhasizetypeurl
realistic2 trials
min 31037ms · median 31037ms · max 31037ms · rows 0,24

typical user query

Command
SELECT * FROM github.license WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 25
Trials + output
trial 1·-1ms·rows 0isError=true
Error
timeout
trial 2·31037ms·rows 24isError=false
First row (click to expand JSON)
{
  "_links": "{\"self\":\"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev\",\"git\":\"https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c\",\"html\":\"https://github.com/anomalyco/opencode/blob/dev/LICENSE\"}",
  "_links__git": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "_links__html": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "_links__self": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev",
  "content": "TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVy",
  "download_url": "https://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSE",
  "encoding": "base64",
  "git_url": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "html_url": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "license": "{\"key\":\"mit\",\"name\":\"MIT License\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"node_id\":\"MDc6TGljZW5zZTEz\"}",
  "license__html_url": "",
  "license__key": "mit",
  "license__name": "MIT License",
  "license__node_id": "MDc6TGljZW5zZTEz",
  "license__spdx_id": "MIT",
  "license__url": "https://api.github.com/licenses/mit",
  "name": "LICENSE",
  "owner": "anomalyco",
  "path": "LICENSE",
  "ref": "",
  "repo": "opencode",
  "sha": "6439474beed8e0271df9862eff97ffd70ec2464c",
  "size": "1065",
  "type": "file",
  "url": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev"
}
columns (25)
_links_links__git_links__html_links__selfcontentdownload_urlencodinggit_urlhtml_urllicenselicense__html_urllicense__keylicense__namelicense__node_idlicense__spdx_idlicense__urlnameownerpathrefreposhasizetypeurl
edge2 trials
min 42043ms · median 47441ms · max 52840ms · rows 24,24

edge: larger limit

Command
SELECT * FROM github.license WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 200
Trials + output
trial 1·52840ms·rows 24isError=false
First row (click to expand JSON)
{
  "_links": "{\"self\":\"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev\",\"git\":\"https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c\",\"html\":\"https://github.com/anomalyco/opencode/blob/dev/LICENSE\"}",
  "_links__git": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "_links__html": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "_links__self": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev",
  "content": "TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVy",
  "download_url": "https://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSE",
  "encoding": "base64",
  "git_url": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "html_url": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "license": "{\"key\":\"mit\",\"name\":\"MIT License\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"node_id\":\"MDc6TGljZW5zZTEz\"}",
  "license__html_url": "",
  "license__key": "mit",
  "license__name": "MIT License",
  "license__node_id": "MDc6TGljZW5zZTEz",
  "license__spdx_id": "MIT",
  "license__url": "https://api.github.com/licenses/mit",
  "name": "LICENSE",
  "owner": "anomalyco",
  "path": "LICENSE",
  "ref": "",
  "repo": "opencode",
  "sha": "6439474beed8e0271df9862eff97ffd70ec2464c",
  "size": "1065",
  "type": "file",
  "url": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev"
}
columns (25)
_links_links__git_links__html_links__selfcontentdownload_urlencodinggit_urlhtml_urllicenselicense__html_urllicense__keylicense__namelicense__node_idlicense__spdx_idlicense__urlnameownerpathrefreposhasizetypeurl
trial 2·42043ms·rows 24isError=false
First row (click to expand JSON)
{
  "_links": "{\"self\":\"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev\",\"git\":\"https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c\",\"html\":\"https://github.com/anomalyco/opencode/blob/dev/LICENSE\"}",
  "_links__git": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "_links__html": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "_links__self": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev",
  "content": "TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVy",
  "download_url": "https://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSE",
  "encoding": "base64",
  "git_url": "https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df9862eff97ffd70ec2464c",
  "html_url": "https://github.com/anomalyco/opencode/blob/dev/LICENSE",
  "license": "{\"key\":\"mit\",\"name\":\"MIT License\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"node_id\":\"MDc6TGljZW5zZTEz\"}",
  "license__html_url": "",
  "license__key": "mit",
  "license__name": "MIT License",
  "license__node_id": "MDc6TGljZW5zZTEz",
  "license__spdx_id": "MIT",
  "license__url": "https://api.github.com/licenses/mit",
  "name": "LICENSE",
  "owner": "anomalyco",
  "path": "LICENSE",
  "ref": "",
  "repo": "opencode",
  "sha": "6439474beed8e0271df9862eff97ffd70ec2464c",
  "size": "1065",
  "type": "file",
  "url": "https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev"
}
columns (25)
_links_links__git_links__html_links__selfcontentdownload_urlencodinggit_urlhtml_urllicenselicense__html_urllicense__keylicense__namelicense__node_idlicense__spdx_idlicense__urlnameownerpathrefreposhasizetypeurl

All returned rowsacross all non-errored trials · filterable · paginated

120 rows stored · 120 returned · page 1/5
10{"self":"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=d…https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df98…https://github.com/anomalyco/opencode/blob/dev/LICENSEhttps://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=devTUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVyhttps://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSEbase64https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df98…https://github.com/anomalyco/opencode/blob/dev/LICENSE{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com…mitMIT LicenseMDc6TGljZW5zZTEzMIThttps://api.github.com/licenses/mitLICENSEanomalycoLICENSEopencode6439474beed8e0271df9862eff97ffd70ec2464c1065filehttps://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev
11bWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBvZiBjaGFyZ2UsIHRv
12IGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weQpvZiB0aGlzIHNvZnR3YXJl
13IGFuZCBhc3NvY2lhdGVkIGRvY3VtZW50YXRpb24gZmlsZXMgKHRoZSAiU29m
14dHdhcmUiKSwgdG8gZGVhbAppbiB0aGUgU29mdHdhcmUgd2l0aG91dCByZXN0
15cmljdGlvbiwgaW5jbHVkaW5nIHdpdGhvdXQgbGltaXRhdGlvbiB0aGUgcmln
16aHRzCnRvIHVzZSwgY29weSwgbW9kaWZ5LCBtZXJnZSwgcHVibGlzaCwgZGlz
17dHJpYnV0ZSwgc3VibGljZW5zZSwgYW5kL29yIHNlbGwKY29waWVzIG9mIHRo
18ZSBTb2Z0d2FyZSwgYW5kIHRvIHBlcm1pdCBwZXJzb25zIHRvIHdob20gdGhl
19IFNvZnR3YXJlIGlzCmZ1cm5pc2hlZCB0byBkbyBzbywgc3ViamVjdCB0byB0
110aGUgZm9sbG93aW5nIGNvbmRpdGlvbnM6CgpUaGUgYWJvdmUgY29weXJpZ2h0
111IG5vdGljZSBhbmQgdGhpcyBwZXJtaXNzaW9uIG5vdGljZSBzaGFsbCBiZSBp
112bmNsdWRlZCBpbiBhbGwKY29waWVzIG9yIHN1YnN0YW50aWFsIHBvcnRpb25z
113IG9mIHRoZSBTb2Z0d2FyZS4KClRIRSBTT0ZUV0FSRSBJUyBQUk9WSURFRCAi
114QVMgSVMiLCBXSVRIT1VUIFdBUlJBTlRZIE9GIEFOWSBLSU5ELCBFWFBSRVNT
115IE9SCklNUExJRUQsIElOQ0xVRElORyBCVVQgTk9UIExJTUlURUQgVE8gVEhF
116IFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZLApGSVRORVNTIEZPUiBB
117IFBBUlRJQ1VMQVIgUFVSUE9TRSBBTkQgTk9OSU5GUklOR0VNRU5ULiBJTiBO
118TyBFVkVOVCBTSEFMTCBUSEUKQVVUSE9SUyBPUiBDT1BZUklHSFQgSE9MREVS
119UyBCRSBMSUFCTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdFUyBPUiBPVEhFUgpM
120SUFCSUxJVFksIFdIRVRIRVIgSU4gQU4gQUNUSU9OIE9GIENPTlRSQUNULCBU
121T1JUIE9SIE9USEVSV0lTRSwgQVJJU0lORyBGUk9NLApPVVQgT0YgT1IgSU4g
122Q09OTkVDVElPTiBXSVRIIFRIRSBTT0ZUV0FSRSBPUiBUSEUgVVNFIE9SIE9U
123SEVSIERFQUxJTkdTIElOIFRIRQpTT0ZUV0FSRS4K
224{"self":"https://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=d…https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df98…https://github.com/anomalyco/opencode/blob/dev/LICENSEhttps://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=devTUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNSBvcGVuY29kZQoKUGVyhttps://raw.githubusercontent.com/anomalyco/opencode/dev/LICENSEbase64https://api.github.com/repos/anomalyco/opencode/git/blobs/6439474beed8e0271df98…https://github.com/anomalyco/opencode/blob/dev/LICENSE{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com…mitMIT LicenseMDc6TGljZW5zZTEzMIThttps://api.github.com/licenses/mitLICENSEanomalycoLICENSEopencode6439474beed8e0271df9862eff97ffd70ec2464c1065filehttps://api.github.com/repos/anomalyco/opencode/contents/LICENSE?ref=dev

Trial comparison

Variant / comboTrial #LatencyRowsStatusFirst key returned
minimalt136751ms24ok_links, _links__git, _links__html
minimalt247413ms24ok_links, _links__git, _links__html
realistict1-1ms0error
realistict231037ms24ok_links, _links__git, _links__html
edget152840ms24ok_links, _links__git, _links__html
edget242043ms24ok_links, _links__git, _links__html
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T06:30:59Z
JSON record: reports/github/tables/license.json
first_run_at: 2026-08-31T06:30:59Z
last_retried_at: 2026-08-31T06:30:59Z
retry_count: 0
View version history →