---
title: "Find an operator's investigation by its source scenario execution"
method: GET
path: "/api/v1/agent/roder/code_repairs"
tags: ["agent"]
---

# Find an operator's investigation by its source scenario execution

`GET /api/v1/agent/roder/code_repairs`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/agent/roder/code_repairs`
- Auth: HTTP bearer

Returns the durable link without contacting Roder; use the ID route for native status.

## Query parameters

- `scenario_run_id` string, required

## Response `200`

Investigation launch record

- VerifyCodeRepair
  - `id` string, required
  - `scenario_run_id` string, required
  - `trigger_kind` 'manual' | 'automatic', required
  - `launch_state` 'queued' | 'starting' | 'started' | 'unknown' | 'failed' | 'cancelled', required
  - `base_sha` string, required
  - `roder_thread_id` string, nullable, required
  - `roder_turn_id` string, nullable, required
  - `failure_code` string, nullable, required
  - `cancel_requested` boolean, required
  - `task` object, nullable, required
    - `turn_id` string, required
    - `status` string, required
    - `text` string, required

## Other responses

- `400`: Scenario execution is required
- `403`: Internal operator access is required
- `404`: Investigation is unavailable to this operator
- `422`: Source organization authority is unavailable

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
