---
title: "Update ai-agent thread display name"
method: PUT
path: "/ai-agent/{projectId}/threads/{threadId}"
tags: ["AI -- AgentV2"]
---

# Update ai-agent thread display name

`PUT /ai-agent/{projectId}/threads/{threadId}`

## Request

- Base URL: `https://partner.peaka.studio/api/v1`
- URL: `https://partner.peaka.studio/api/v1/ai-agent/{projectId}/threads/{threadId}`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required
- `threadId` string, required

## Request body

- AIAgentThreadUpdateRequest
  - `displayName` string: The new name for the AI chat thread.

## Response `200`

OK

---

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