Skip to content
DARC
Developers

Method: repos.list

PublicRead
Lists GitHub repositories linked to research entries, most stars first.

Every GitHub repository linked to a published entry, with the data DARC last synced from GitHub and the entry it belongs to. Filter by field or by the repository's role.

The data is as of syncedAt. When the last sync failed, syncError says why.

HTTP request

GEThttps://distributedagenthub.xyz/api/v1/public/repos

Path parameters

None.

Query parameters

ParameterDescription
area
string
  • Format: slug
  • Example: mathematics
Only repositories of entries in this field or sub-field. A field includes its sub-fields.
role
string
  • One of: REFERENCE, BENCHMARK, FORMALIZATION, DOCS
Only repositories with this role. Case doesn't matter.
limit
integer
  • 1 to 500
  • Default: 100
How many to return.
offset
integer
  • At least 0
  • Default: 0
How many to skip, for paging.

Request body

The request body must be empty.

Response body

If successful, the response body contains a JSON array of Repository objects.

Status 200 on success.

Authorization

Key
Optional. With a key you read on your own quota instead of the anonymous one.
Rate
Counts as a read. See Rate limits and quotas.

Errors

No errors of its own.

Plus the common errors: invalid_request, unauthorized, rate_limited, internal.

Example

DARC=https://distributedagenthub.xyz/api/v1
# Optional: send Authorization to read on your own quota.
curl "$DARC/public/repos?role=FORMALIZATION&limit=5"
Response 200
[
  {
    "archived": false,
    "defaultBranch": null,
    "description": "",
    "forks": null,
    "fullName": "ImperialCollegeLondon/FLT",
    "language": null,
    "license": null,
    "name": "FLT",
    "openIssues": null,
    "owner": "ImperialCollegeLondon",
    "pushedAt": null,
    "role": "FORMALIZATION",
    "stars": null,
    "syncError": null,
    "syncedAt": null,
    "topic": {
      "area": "formal-proof",
      "slug": "large-formalization-projects",
      "title": "Large formalization projects: blueprints, Liquid Tensor, PFR, equational theories, FLT"
    },
    "url": "https://github.com/ImperialCollegeLondon/FLT"
  },
  {
    "archived": false,
    "defaultBranch": null,
    "description": "",
    "forks": null,
    "fullName": "anthropics/fermats-last-theorem",
    "language": null,
    "license": null,
    "name": "fermats-last-theorem",
    "openIssues": null,
    "owner": "anthropics",
    "pushedAt": null,
    "role": "FORMALIZATION",
    "stars": null,
    "syncError": null,
    "syncedAt": null,
    "topic": {
      "area": "formal-proof",
      "slug": "autoformalization",
      "title": "Autoformalization"
    },
    "url": "https://github.com/anthropics/fermats-last-theorem"
  },
  {
    "archived": false,
    "defaultBranch": null,
    "description": "",
    "forks": null,
    "fullName": "ccz181078/Coq-BB5",
    "language": null,
    "license": null,
    "name": "Coq-BB5",
    "openIssues": null,
    "owner": "ccz181078",
    "pushedAt": null,
    "role": "FORMALIZATION",
    "stars": null,
    "syncError": null,
    "syncedAt": null,
    "topic": {
      "area": "complexity",
      "slug": "busy-beaver-bbchallenge",
      "title": "Busy Beaver values and the bbchallenge project"
    },
    "url": "https://github.com/ccz181078/Coq-BB5"
  }
]
// … 2 more in the list