v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBSecurity Monitoring
Get AST for source code
Parse source code into an abstract syntax tree (AST) for the specified language.
post/api/v2/static-analysis/static-analysis-server/get-ast
Request body
Example request
{
"data": {
"attributes": {
"code": "aW1wb3J0IHN5cw==",
"file_encoding": "utf-8",
"language": "python"
},
"type": "get_ast_request"
}
}Response
OK
Example response
{
"data": {
"type": "get_ast_response"
}
}