{"api":{"id":"api_55bd532b52f1fdbd037855cf","slug":"github-discussions","name":"GitHub Discussions API","description":"Discussions from public GitHub repositories, several repositories per run: title, link, category, author, date started, comment and upvote counts, the kind of discussion and whether a question is answered, closed or locked. Filter by category, answered or unanswered, search words and order.","kind":"ready_made","visibility":"public","domain":"github.com","source_url":"https://github.com/vercel/next.js/discussions","category":"developer","record_type":"post","active_version":"1.0","units_per_1k":1000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":14,"created_at":"2026-12-06T03:33:09.220Z","updated_at":"2026-12-06T03:33:09.220Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"repository","type":"string","description":"The repository as owner/name, such as vercel/next.js.","required":true,"coverage":1,"example":"vercel/next.js"},{"name":"number","type":"integer","description":"The discussion's number in the repository.","required":true,"coverage":1,"example":10640},{"name":"title","type":"string","description":"Title of the discussion.","required":false,"coverage":1,"example":"Companies / Sites using Next.js"},{"name":"url","type":"url","description":"Link to the discussion on GitHub.","required":false,"coverage":1,"example":"https://github.com/vercel/next.js/discussions/10640"},{"name":"category","type":"string","description":"Name of the discussion's category, such as Help or Ideas.","required":false,"coverage":1,"example":"Show and tell"},{"name":"category_slug","type":"string","description":"The category as it appears in GitHub addresses, such as help or show-and-tell.","required":false,"coverage":1,"example":"show-and-tell"},{"name":"discussion_type","type":"string","description":"question (a question that can be marked answered), discussion (open-ended) or announcement.","required":false,"coverage":1,"example":"question"},{"name":"author","type":"string","description":"GitHub username of the person or app that started the discussion.","required":false,"coverage":1,"example":"timneutkens"},{"name":"created_at","type":"datetime","description":"When the discussion was started (UTC).","required":false,"coverage":1,"example":"2020-02-22T12:37:53.000Z"},{"name":"comments_count","type":"integer","description":"Number of comments on the discussion, as GitHub counts them on the list.","required":false,"coverage":1,"example":2027},{"name":"upvotes_count","type":"integer","description":"Number of upvotes on the discussion; empty when the discussion is locked.","required":false,"coverage":1,"example":233},{"name":"is_answered","type":"boolean","description":"True when a comment is marked as the answer, false when not; empty outside question categories.","required":false,"coverage":0.6,"example":false},{"name":"is_closed","type":"boolean","description":"True when the discussion is closed.","required":false,"coverage":1,"example":false},{"name":"is_locked","type":"boolean","description":"True when the discussion is locked, so only maintainers can comment.","required":false,"coverage":1,"example":false}],"inputs":[{"name":"repositories","type":"array","description":"Public GitHub repositories as owner/name, such as vercel/next.js. A link to the repository or its discussions works too.","example":["vercel/next.js"],"required":true},{"name":"category","type":"string","description":"Only this discussion category, by its name or its slug as in the address: help for /discussions/categories/help. Leave empty for every category.","example":"help"},{"name":"answered","type":"string","description":"any (default), answered or unanswered. Answered and unanswered match only question categories.","default":"any","enum":["any","answered","unanswered"]},{"name":"search","type":"string","description":"Words to find in discussion titles and posts, as typed in the search box of the repository's discussions. Optional.","example":"middleware"},{"name":"sort","type":"string","description":"Order of the list: latest_activity (default, as GitHub shows it), newest (date started) or top (most upvoted).","default":"latest_activity","enum":["latest_activity","newest","top"]},{"name":"max_results","type":"integer","description":"Most discussions to return per repository, 1 to 1,000.","default":100,"example":100}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"author":{"description":"GitHub username of the person or app that started the discussion.","type":"string"},"category":{"description":"Name of the discussion's category, such as Help or Ideas.","type":"string"},"category_slug":{"description":"The category as it appears in GitHub addresses, such as help or show-and-tell.","type":"string"},"comments_count":{"description":"Number of comments on the discussion, as GitHub counts them on the list.","type":"integer"},"created_at":{"description":"When the discussion was started (UTC).","format":"date-time","type":"string"},"discussion_type":{"description":"question (a question that can be marked answered), discussion (open-ended) or announcement.","type":"string"},"is_answered":{"description":"True when a comment is marked as the answer, false when not; empty outside question categories.","type":"boolean"},"is_closed":{"description":"True when the discussion is closed.","type":"boolean"},"is_locked":{"description":"True when the discussion is locked, so only maintainers can comment.","type":"boolean"},"number":{"description":"The discussion's number in the repository.","type":"integer"},"repository":{"description":"The repository as owner/name, such as vercel/next.js.","type":"string"},"title":{"description":"Title of the discussion.","type":"string"},"upvotes_count":{"description":"Number of upvotes on the discussion; empty when the discussion is locked.","type":"integer"},"url":{"description":"Link to the discussion on GitHub.","format":"uri","type":"string"}},"required":["repository","number"],"title":"GitHub Discussions API","type":"object"},"samples":[{"repository":"vercel/next.js","number":10640,"title":"Companies / Sites using Next.js","url":"https://github.com/vercel/next.js/discussions/10640","category":"Show and tell","category_slug":"show-and-tell","discussion_type":"question","author":"timneutkens","created_at":"2020-02-22T12:37:53.000Z","comments_count":2027,"upvotes_count":233,"is_answered":false,"is_closed":false,"is_locked":false},{"repository":"vercel/next.js","number":102930,"title":"Which licence covers the Turbopack browser runtime in Next.js 16.5.0?","url":"https://github.com/vercel/next.js/discussions/102930","category":"Help","category_slug":"help","discussion_type":"question","author":"aeneastudios","created_at":"2026-12-05T21:22:40.000Z","comments_count":0,"upvotes_count":1,"is_answered":false,"is_closed":false,"is_locked":false},{"repository":"vercel/next.js","number":100704,"title":"next/jest doesn't use optimizePackageImports","url":"https://github.com/vercel/next.js/discussions/100704","category":"Ideas","category_slug":"ideas","discussion_type":"discussion","author":"jeltehomminga","created_at":"2026-10-25T08:07:52.000Z","comments_count":2,"upvotes_count":0,"is_answered":null,"is_closed":false,"is_locked":false}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"author":1,"category":1,"category_slug":1,"comments_count":1,"created_at":1,"discussion_type":1,"is_answered":0.67,"is_closed":1,"is_locked":1,"number":1,"repository":1,"title":1,"upvotes_count":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_55bd532b52f1fdbd037855cf/run","openapi":"https://pullrow.dev/v1/apis/api_55bd532b52f1fdbd037855cf/openapi.json","contract":"https://pullrow.dev/v1/apis/api_55bd532b52f1fdbd037855cf/contract.json","page":"https://pullrow.dev/catalog/github-discussions"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":1,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Reads GitHub's public discussions pages: 25 discussions a page, one page about every 2 seconds, so 1,000 discussions take about two minutes. GitHub limits visitors who are not signed in; when it asks us to slow down, the run ends with what it has.","Only public repositories with Discussions turned on. A repository without them, or one that does not exist, is left out and the other repositories are still read. Organization-wide discussions (github.com/orgs/<name>/discussions) are not covered.","One record is one line of the discussion list. The opening post, the replies and the answer itself are not returned.","is_answered is filled only in question categories (discussion_type question) and empty elsewhere; the answered and unanswered filters likewise match only question categories.","In the default order (latest activity) a discussion that gets a new reply while the run reads can move to another page, so it may be missed. Use the newest order for long runs.","Up to 1,000 discussions per repository. The run's record limit is shared evenly between the repositories, and max_results caps each one.","upvotes_count is the upvote count GitHub shows on the list; other reactions are not counted, and a locked discussion (is_locked) shows no count, so it stays empty there."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"repository","label":"Repository","description":"The repository as owner/name, such as vercel/next.js.","group":"Basics","shown":true,"written":false},{"name":"number","label":"Number","description":"The discussion's number in the repository.","group":"Basics","shown":true,"written":false},{"name":"title","label":"Title","description":"Title of the discussion.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"Link to the discussion on GitHub.","group":"Links","shown":true,"written":false},{"name":"category","label":"Category","description":"Name of the discussion's category, such as Help or Ideas.","group":"Basics","shown":true,"written":false},{"name":"category_slug","label":"Category slug","description":"The category as it appears in GitHub addresses, such as help or show-and-tell.","group":"Basics","shown":true,"written":false},{"name":"discussion_type","label":"Discussion type","description":"question (a question that can be marked answered), discussion (open-ended) or announcement.","group":"Basics","shown":true,"written":false},{"name":"author","label":"Author","description":"GitHub username of the person or app that started the discussion.","group":"Basics","shown":true,"written":false},{"name":"created_at","label":"Created","description":"When the discussion was started (UTC).","group":"Dates","shown":true,"written":false},{"name":"comments_count","label":"Comments count","description":"Number of comments on the discussion, as GitHub counts them on the list.","group":"Basics","shown":true,"written":false},{"name":"upvotes_count","label":"Upvotes count","description":"Number of upvotes on the discussion; empty when the discussion is locked.","group":"Basics","shown":true,"written":false},{"name":"is_answered","label":"Answered","description":"Yes when a comment is marked as the answer, no when not; empty outside question categories.","group":"Basics","shown":true,"written":false},{"name":"is_closed","label":"Closed","description":"Yes when the discussion is closed.","group":"Basics","shown":true,"written":false},{"name":"is_locked","label":"Locked","description":"Yes when the discussion is locked, so only maintainers can comment.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"repositories","label":"Repositories","help":"Public GitHub repositories as owner/name, such as vercel/next.js. A link to the repository or its discussions works too.","example":"vercel/next.js","written":false},{"name":"category","label":"Category","help":"Only this discussion category, by its name or its slug as in the address: help for /discussions/categories/help. Leave empty for every category.","example":"help","written":false},{"name":"answered","label":"Answered","help":"any (default), answered or unanswered. Answered and unanswered match only question categories.","example":"","written":false},{"name":"search","label":"Search","help":"Words to find in discussion titles and posts, as typed in the search box of the repository's discussions. Optional.","example":"middleware","written":false},{"name":"sort","label":"Sort","help":"Order of the list: latest_activity (default, as GitHub shows it), newest (date started) or top (most upvoted).","example":"","written":false},{"name":"max_results","label":"Maximum results","help":"Most discussions to return per repository, 1 to 1,000.","example":"100","written":false}]}},"incidents":[]}