analyze_code
Discover the BugScan paid code analysis API contract. Use the HTTP analyze endpoint for actual review execution and billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Java source code to review. Provide the complete file content as a single UTF-8 string. | |
| filename | Yes | Source file name to review, including the file extension, for example UserController.java. | |
| language | Yes | Programming language of the submitted code. Currently, use 'java' for Java or Spring Boot source files. | |
| requester | No | Optional caller identity recorded in audit logs, such as an agent name, service account, or end-user identifier. | |
| repository | No | Optional repository, service, or project identifier used to label the analysis request and audit trail. | |
| rule_profile | No | Rule set profile. Use 'default' for the full rule set, 'quick' for error-focused checks, or 'security' for security-only checks. | default |