Public Scan
Vulnerability Review
Changed onSends vulnerability details and source code to the AI service, which analyzes the data and returns a classification with a confidence score.
post/api/v2/ai/review
Request
- Base URLhttps://aquilax.ai
- AuthAPI key in header X-AX-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
orgstring required
Organization ID
Request body
Example request
{
"code": "try {\n const user = db.getUserById(req.query.id);\n res.send(user);\n} catch (err) {\n res.status(500).send(\"Error\");\n}\n",
"cwe_id": "CWE-79",
"cwe_name": "Cross-Site Scripting",
"line": "105",
"file": "userController.js"
}Response
Successful classification result from the AI model.
Example response
{
"class": "TRUE_POSITIVE",
"confidence": 95.12
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking