GroundsocialDocs

API · GitHub

GET /github/repos/{owner}/{repo}/dossier

One-call dossier of a GitHub repository: details, README, releases, top issues, contributors.

RequestGET /v1/github/repos/{owner}/{repo}/dossier
Operation idgithub.repo.dossier
Cost3 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One-call dossier of a GitHub repository: details, README, releases, top issues, contributors.

Path parameters

NameTypeRequiredDescription
ownerstringyesRepository owner (user or organisation). Example: vercel.
repostringyesRepository name. Example: next.js.

Responses

StatusMeaningSchema
200The dossier.GitHubDossierResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No public GitHub user, repository or issue by that name.Error
429Too many requests. Wait for Retry-After seconds.Error
503GitHub is temporarily unavailable. Retryable; nothing was charged.Error

GitHubDossierResponse fields

FieldTypeDescription
repoGitHubRepo
languagesobjectBytes of code per language.
contributorsobject[]Top contributors by commits (up to 10).
releasesGitHubRelease[]Latest releases (up to 5).
communityobject | nullGitHub’s community profile (code of conduct, contributing, license files).
readme_textstring | nullThe README as text (first 20,000 characters).

Errors use one shape everywhere; see Errors for every code and what to do.