v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1492497398.3 KB

Creates a new code review configuration in an agent space. A code review defines the parameters for automated security-focused code analysis.

post/CreateCodeReview

Request body

titlestring required

The title of the code review.

agentSpaceIdstring required

The unique identifier of the agent space to create the code review in.

serviceRolestring

ARN of an IAM role that the service can assume to access customer resources.

codeRemediationStrategy'AUTOMATIC' | 'DISABLED'

Strategy for automated code remediation.

validationMode'DISABLED' | 'SIMULATED'

Mode of validation to perform on findings

Response

Success

codeReviewIdstring required

The unique identifier of the created code review.

titlestring

The title of the code review.

createdAtstring date-time

The date and time the code review was created, in UTC format.

updatedAtstring date-time

The date and time the code review was last updated, in UTC format.

serviceRolestring

The IAM service role used for the code review.

agentSpaceIdstring

The unique identifier of the agent space that contains the code review.

codeRemediationStrategy'AUTOMATIC' | 'DISABLED'

The code remediation strategy for the code review.

validationMode'DISABLED' | 'SIMULATED'

The validation mode for the code review.