---
title: "POST /BatchGetCodeReviewJobs"
method: POST
path: "/BatchGetCodeReviewJobs"
---

# POST /BatchGetCodeReviewJobs

`POST /BatchGetCodeReviewJobs`

Retrieves information about one or more code review jobs in an agent space.

## Request body

- object
  - `codeReviewJobIds` String[], required — List of code review job IDs.
  - `agentSpaceId` string, required — The unique identifier of the agent space that contains the code review jobs.

## Response `200`

Success

- BatchGetCodeReviewJobsOutput — Output for the BatchGetCodeReviewJobs operation.
  - `codeReviewJobs` CodeReviewJob[] — The list of code review jobs that were found.
    - `codeReviewJobId` string — The unique identifier of the code review job.
    - `codeReviewId` string — The unique identifier of the code review associated with the job.
    - `title` string — The title of the code review job.
    - `overview` string — An overview of the code review job results.
    - `status` 'IN_PROGRESS' | 'STOPPING' | 'STOPPED' | 'FAILED' | 'COMPLETED' — The current status of the code review job.
    - `documents` DocumentInfo[] — The list of documents providing context for the code review job.
      - `s3Location` string — The Amazon S3 location of the document.
      - `artifactId` string — The unique identifier of the artifact associated with the document.
      - `integratedDocument` object — A reference to a document in an integrated third-party provider.
        - `integrationId` string, required — The identifier of the integration that provides access to the document.
        - `resourceId` string, required — The provider-specific resource identifier for the document.
    - `sourceCode` SourceCodeRepository[] — The list of source code repositories analyzed during the code review job.
      - `s3Location` string — The Amazon S3 location of the source code repository archive.
    - `steps` Step[] — The list of steps in the code review job execution.
      - `name` 'PREFLIGHT' | 'STATIC_ANALYSIS' | 'PENTEST' | 'FINALIZING' | 'VALIDATION' — The name of the step. Valid values include PREFLIGHT, STATIC_ANALYSIS, PENTEST, VALIDATION, and FINALIZING.
      - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOPPED' — The current status of the step.
      - `createdAt` string, date-time — The date and time the step was created, in UTC format.
      - `updatedAt` string, date-time — The date and time the step was last updated, in UTC format.
    - `executionContext` ExecutionContext[] — The execution context messages for the code review job.
      - `contextType` 'ERROR' | 'CLIENT_ERROR' | 'WARNING' | 'INFO' — The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.
      - `context` string — The context message.
      - `timestamp` string, date-time — The date and time the context was recorded, in UTC format.
    - `serviceRole` string — The IAM service role used for the code review job.
    - `logConfig` object — The CloudWatch Logs configuration for the code review job.
      - `logGroup` string — The name of the CloudWatch log group.
      - `logStream` string — The name of the CloudWatch log stream.
    - `errorInformation` object — Error information if the code review job encountered an error.
      - `code` 'CLIENT_ERROR' | 'INTERNAL_ERROR' | 'STOPPED_BY_USER' — The error code. Valid values include CLIENT_ERROR, INTERNAL_ERROR, and STOPPED_BY_USER.
      - `message` string — A message describing the error.
    - `integratedRepositories` IntegratedRepository[] — The list of integrated repositories associated with the code review job.
      - `integrationId` string, required — The unique identifier of the integration that provides access to the repository.
      - `providerResourceId` string, required — The provider-specific resource identifier for the repository.
    - `codeRemediationStrategy` 'AUTOMATIC' | 'DISABLED' — The code remediation strategy for the code review job.
    - `createdAt` string, date-time — The date and time the code review job was created, in UTC format.
    - `updatedAt` string, date-time — The date and time the code review job was last updated, in UTC format.
  - `notFound` String[] — The list of code review job identifiers that were not found.

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
