---
title: "Run Program"
method: POST
path: "/PRReviewer"
---

# Run Program

`POST /PRReviewer`

Execute the DSPy program with given inputs.

## Request body

- PRReviewerRequest
  - `repo` string, required
  - `pr_number` integer, required

## Response `200`

Successful Response

- PRReviewerResponse
  - `estimated_effort_to_review` integer, required
  - `relevant_tests` string, required
  - `key_issues_to_review` KeyIssue[], required
    - `relevant_file` string, required — File path where the issue was found
    - `issue_header` string, required — Short title of the issue
    - `issue_content` string, required — Detailed description of the issue
    - `start_line` integer, required — Starting line number
    - `end_line` integer, required — Ending line number
  - `security_concerns` string, required
  - `score` integer, nullable, required
  - `todo_sections` TodoSection[], nullable, required
    - `relevant_file` string, required
    - `todo_content` string, required
    - `start_line` integer, required
    - `end_line` integer, required
  - `estimated_contribution_time_cost` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/cmpnd-ai/apis/code-review-agent.md) · [All operations](https://skmtc.dev/cmpnd-ai/apis/code-review-agent/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cmpnd-ai/code-review-agent/revisions/1d405c928399/schema)
