POST
/
api
/
analysis
/
start
curl --request POST \
--url http://api.codeant.ai/api/analysis/start \
--header 'Content-Type: application/json' \
--data '{
"repo": "owner/repository",
"commit_id": "abc123def456",
"access_token": "ghp_xxxxxxxxxxxx",
"service": "github",
"branch": "main",
"include_files": [
"src/**/*.py"
],
"exclude_files": [
"tests/**"
]
}'
{
  "message": "Analysis started"
}

Body

application/json

Response

200
application/json

Analysis successfully started

The response is of type object.