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
}
]
}
]
}
]
}
}
}Retrieves details of a specific 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
}
]
}
]
}
]
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.corgea.app/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication
The ID of the issue
Whether to include the full code in the response
Include endpoint reachability details for the issue.
Was this page helpful?