---
title: "Rename a thread"
method: PATCH
path: "/assistant/threads/{threadId}"
tags: ["Assistant"]
---

# Rename a thread

`PATCH /assistant/threads/{threadId}`

## Request body

- AssistantThreadUpdateRequest
  - `title` string, required

## Response `200`

The renamed thread

- AssistantThreadResponse
  - `data` AssistantThread, required
    - `activeJobs` integer — Queued and running background jobs in the thread.
    - `createdAt` string, date-time, required
    - `id` string, required
    - `title` string, required
    - `unread` boolean — A continuation landed since the thread was last opened (GET thread clears it).
    - `updatedAt` string, date-time, required
    - `waitingForUser` boolean — A workflow in the thread waits for the user (a card to confirm, or a page to finish on).

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

## Changes

- **2026-10-01** `b4751fd15397` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/greentally/apis/esgai-api/changes/assistant/threads/:threadId/patch.md)

---

[API](https://skmtc.dev/greentally/apis/esgai-api.md) · [All operations](https://skmtc.dev/greentally/apis/esgai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/greentally/apis/esgai-api/revisions/b4751fd15397?raw)
