API · GitHub
GET /github/repos/{owner}/{repo}/dossier
One-call dossier of a GitHub repository: details, README, releases, top issues, contributors.
| Request | GET /v1/github/repos/{owner}/{repo}/dossier |
| Operation id | github.repo.dossier |
| Cost | 3 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One-call dossier of a GitHub repository: details, README, releases, top issues, contributors.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
owner | string | yes | Repository owner (user or organisation). Example: vercel. |
repo | string | yes | Repository name. Example: next.js. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The dossier. | GitHubDossierResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No public GitHub user, repository or issue by that name. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | GitHub is temporarily unavailable. Retryable; nothing was charged. | Error |
GitHubDossierResponse fields
| Field | Type | Description |
|---|---|---|
repo | GitHubRepo | |
languages | object | Bytes of code per language. |
contributors | object[] | Top contributors by commits (up to 10). |
releases | GitHubRelease[] | Latest releases (up to 5). |
community | object | null | GitHub’s community profile (code of conduct, contributing, license files). |
readme_text | string | null | The README as text (first 20,000 characters). |
Errors use one shape everywhere; see Errors for every code and what to do.