Skip to main content
GET
/
issue
/
{issue_id}
Get Issue
curl --request GET \
  --url https://www.corgea.app/api/v1/issue/{issue_id} \
  --header 'CORGEA-TOKEN: <api-key>'
{
  "status": "ok",
  "issue": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "scan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "classification": {
      "id": "CWE-123",
      "name": "Vulnerability Name",
      "description": "<string>"
    },
    "location": {
      "file": {
        "name": "<string>",
        "language": "<string>",
        "path": "<string>"
      },
      "project": {
        "name": "<string>",
        "branch": "<string>",
        "git_sha": "<string>"
      },
      "line_number": 123
    },
    "details": {
      "explanation": "<string>"
    },
    "auto_triage": {
      "false_positive_detection": {
        "reasoning": "<string>"
      }
    },
    "auto_fix_suggestion": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "patch": {
        "diff": "<string>",
        "explanation": "<string>"
      }
    },
    "reachability": {
      "is_reachable": true,
      "endpoints": [
        {
          "path": "<string>",
          "method": "<string>",
          "file_path": "<string>",
          "line_number": 123,
          "pathways": [
            {
              "pathway_id": "<string>",
              "total_depth": 123,
              "confidence_score": 123,
              "target": {},
              "steps": [
                {
                  "depth": 123,
                  "file_path": "<string>",
                  "line_number": 123,
                  "function_name": "<string>",
                  "target_line_number": 123
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Path Parameters

issue_id
string<uuid>
required

The ID of the issue

Query Parameters

show_full_code
boolean
default:false

Whether to include the full code in the response

include_reachability
boolean
default:false

Include endpoint reachability details for the issue.

generate_fix
boolean
default:true

Whether to generate an eligible missing fix before returning the issue details. Set to false to return the current issue state without starting fix generation.

Response

Issue details retrieved successfully

status
string
Example:

"ok"

issue
object