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",
    "status": "open",
    "urgency": "critical",
    "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": {
        "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

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

Response

Issue details retrieved successfully

status
string
Example:

"ok"

issue
object
I