Skip to main content
POST
/
analyses
create analysis
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>"
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Body

application/json
project_id
string
required
scopes
string[] | null
scope_strategy
enum<string>
Available options:
all,
parent,
explicit
parent_version_id
string | null
code_version_id
string | null

Response

Successful Response

id
string
required