Skip to main content
GET
/
issues
List All Issues
curl --request GET \
  --url https://www.corgea.app/api/v1/issues \
  --header 'CORGEA-TOKEN: <api-key>'
{
  "status": "ok",
  "page": 123,
  "total_pages": 123,
  "total_issues": 123,
  "issues": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "classification": {
        "id": "CWE-123",
        "name": "Vulnerability Name",
        "description": "<string>"
      },
      "urgency": "critical",
      "created_at": "2023-11-07T05:31:56Z",
      "status": "open",
      "sla_status": "on_track",
      "location": {
        "file": {
          "name": "<string>",
          "language": "<string>",
          "path": "<string>"
        },
        "project": {
          "name": "<string>",
          "branch": "<string>",
          "git_sha": "<string>"
        },
        "line_number": 123
      },
      "auto_triage": {
        "false_positive_detection": {
          "status": "valid",
          "reasoning": "<string>"
        }
      },
      "auto_fix_suggestion": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "status": "fix_available",
        "patch": {
          "diff": "<string>",
          "explanation": "<string>"
        }
      }
    }
  ]
}

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Query Parameters

project
string

Filter issues by project name

repo
string

Filter issues by repository URL

branch
string

Filter issues by branch name

page
integer
default:1

The page number for pagination

page_size
integer
default:20

The number of results per page

Required range: x <= 50

Response

200 - application/json

Issues retrieved successfully or no project found

status
string
Example:

"ok"

page
integer
total_pages
integer
total_issues
integer
issues
object[]