---
title: "PATCH /api/memory/threads/{threadId}"
method: PATCH
path: "/api/memory/threads/{threadId}"
tags: ["memory"]
---

# PATCH /api/memory/threads/{threadId}

`PATCH /api/memory/threads/{threadId}`

Update a thread

## Path parameters

- `threadId` string, required

## Request body

- object

## Response `200`

Updated thread

## Other responses

- `404` — Thread not found

---

[API](https://skmtc.net/mastra-ai/apis/mastra-api.md) · [All operations](https://skmtc.net/mastra-ai/apis/mastra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mastra-ai/mastra-api/versions/c1a4e2745194/schema)
