---
title: "Resolve or reopen an artifact thread [write]"
method: PUT
path: "/artifacts/{id}/comments/{commentId}/resolution"
tags: ["artifacts"]
---

# Resolve or reopen an artifact thread \[write\]

`PUT /artifacts/{id}/comments/{commentId}/resolution`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/artifacts/{id}/comments/{commentId}/resolution`
- Auth: HTTP bearer

Set a root thread's desired resolved state. base_version must match the current artifact revision, including when the root was written on an earlier revision. A root without resolution metadata is open at resolution version 0. If already in the requested state, returns the current root without changing its actor, time or state version. Otherwise base_resolution_version must match the root's resolution.version, or 409; a stale retry cannot overwrite another member's intervening reopen. Missing artifact/root is 404; a reply id is 400. Does not publish, create a revision or start an agent. Replies keep their existing version contract and never reopen a thread implicitly.

## Path parameters

- `id` string, required
- `commentId` string, required

## Request body

- object
  - `resolved` boolean, required
  - `base_version` integer, required
  - `base_resolution_version` integer, required

## Response `200`

OK

- object
  - `comment` ArtifactComment, required
    - `id` string, required
    - `text` string, required
    - `target` string, required
    - `version` integer, required
    - `author_id` string, required
    - `author` string, required
    - `created_at` string, date-time, required
    - `parent_id` string, nullable, required
    - `resolution` object: Root thread state only; absent means open at resolution version 0. Replies inherit their root's state.
      - `resolved` boolean, required
      - `version` integer, required
      - `updatedAt` string, date-time, required
      - `updatedBy` object, required
        - `id` string, required
        - `name` string, required

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/artifacts/:id/comments/:commentId/resolution/put.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
