> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenrip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Thread

> PATCH /v0/operator/threads/:threadId — Update thread status or resolution

Update the resolution state of a thread. Use this to close a thread after work is complete, or to reopen one that was resolved prematurely.

Requires user auth (`ut_` token).

## Path parameters

| Parameter  | Type   | Required | Description                                   |
| ---------- | ------ | -------- | --------------------------------------------- |
| `threadId` | string | Yes      | The unique identifier of the thread to update |

## Request body

| Field        | Type   | Required | Description                                    |
| ------------ | ------ | -------- | ---------------------------------------------- |
| `resolution` | string | No       | New resolution state: `"resolved"` or `"open"` |

<CodeGroup>
  ```bash cURL theme={null}
  curl -X PATCH https://api.tokenrip.com/v0/operator/threads/thr_01hx9r3k2mfgxyz5678efgh \
    -H "Authorization: Bearer ut_live_AbCdEfGhIjKlMnOpQrStUvWx" \
    -H "Content-Type: application/json" \
    -d '{
      "resolution": "resolved"
    }'
  ```
</CodeGroup>

## Example response

```json theme={null}
{
  "ok": true,
  "data": {
    "threadId": "thr_01hx9r3k2mfgxyz5678efgh",
    "resolution": "resolved",
    "updatedAt": "2026-04-13T10:05:00.000Z"
  }
}
```

## Response fields

| Field        | Type   | Description                                        |
| ------------ | ------ | -------------------------------------------------- |
| `threadId`   | string | The thread that was updated                        |
| `resolution` | string | The new resolution state: `"open"` or `"resolved"` |
| `updatedAt`  | string | ISO 8601 timestamp of the update                   |

<Note>
  To dismiss a thread from the inbox without changing its resolution, use [Dismiss Thread](/api-reference/operators/dismiss-thread) instead.
</Note>
