cURL
github
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" }
Initiates a background analysis task for a repository
Analysis successfully started
The response is of type object.
object