---
title: "Resolve an independently verified unknown effect"
method: POST
path: "/v1/sandboxes/{id}/agent-runs/{run_id}/resolve"
tags: ["Sandboxes"]
---

# Resolve an independently verified unknown effect

`POST /v1/sandboxes/{id}/agent-runs/{run_id}/resolve`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/sandboxes/{id}/agent-runs/{run_id}/resolve`
- Auth: HTTP bearer

Compare-and-swap requires the current unknown step revision and an evidence digest. completed requires the verified JSON result. no_effect authorizes one further bounded attempt. cancelled stops the run. Original unknown attempts remain retained.

## Path parameters

- `id` string, required
- `run_id` string, required

## Request body

- AgentResolution
  - `step_id` string, required
  - `expected_revision` integer, required
  - `decision` 'completed' | 'no_effect' | 'cancelled', required
  - `reason` string, required
  - `evidence_digest` string, required
  - `result` string, byte: Base64 of exact UTF-8 json-v1 bytes, at most 256 KiB decoded. Objects use sorted keys and compact encoding. Nonfinite numbers, duplicate keys and non-JSON values are refused.

## Response `200`

Success

- AgentReceipt
  - `decision` string, required
  - `step_id` string, required
  - `external_key` string, required
  - `revision` integer, required
  - `result` string, byte: Base64 of exact UTF-8 json-v1 bytes, at most 256 KiB decoded. Objects use sorted keys and compact encoding. Nonfinite numbers, duplicate keys and non-JSON values are refused.

## Other responses

- `default`: Operation refused. Unavailable capability is reported while durable agents are disabled.

---

[API](https://skmtc.dev/nodus-compute/apis/nodus-infrastructure-execution-api.md) - [All operations](https://skmtc.dev/nodus-compute/apis/nodus-infrastructure-execution-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nodus-compute/apis/nodus-infrastructure-execution-api/revisions/a59210899d95?raw)
