GitHub APIs
Get GitHub Issues
Retrieve issues from a specific GitHub repository.
GET
This endpoint returns a list of issues from a specified GitHub repository, including issue details such as title, state, labels, and assignees.Documentation Index
Fetch the complete documentation index at: https://docs.blackbox.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
To use this API, you need a BLACKBOX API Key. Follow these steps to get your API key:- Click on your Profile Image in the top right corner at cloud.blackbox.ai
- Click on “BLACKBOX API Token” from the dropdown menu
- Copy the existing token or click “Generate” if you don’t have one yet
bb_xxxxxxxxxxxxxxxxxxxxxx
Headers
API Key of the form
Bearer <api_key>.Example: Bearer bb_b41b647ffbfed27f61656049d3eaeef3d903cc503345d9eb80080d98bc0Query Parameters
The GitHub username or organization name that owns the repository.Example:
example-user or example-orgThe repository name from which to retrieve issues.Example:
example-repoResponse
The endpoint returns an array of issue objects. If no issues exist, an empty array is returned.The issue number.
The title of the issue.
The current state of the issue (
open or closed).The URL to view the issue on GitHub.
ISO 8601 timestamp of when the issue was created.
ISO 8601 timestamp of when the issue was last updated.
Array of label objects associated with the issue.
Array of user objects assigned to the issue.
Error Codes
| Status Code | Error | Description |
|---|---|---|
| 200 | Success | Issues retrieved successfully |
| 400 | Bad Request | Missing required parameters: owner and repo |
| 401 | Unauthorized | Invalid or missing API key |
| 404 | Not Found | GitHub token not found, expired, or repository not found |
| 502 | Bad Gateway | GitHub API error occurred |
| 500 | Internal Server Error | Database or server error occurred |