cURL
curl --request POST \ --url https://api.example.com/analyses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "project_id": "<string>", "scopes": [ "<string>" ], "scope_strategy": "all", "parent_version_id": "<string>", "code_version_id": "<string>" } '
{ "id": "<string>" }
create a new analysis for a code version. Optionally associate it to a parent analysis and include narrowed scopes at least 1 of parent_version_id or code_version_id are required
parent_version_id
code_version_id
API key in Bearer token format
all
parent
explicit
Successful Response