Skip to main content
PATCH
/
v1
/
threads
/
{threadId}
Rename or archive a thread
curl --request PATCH \
  --url https://api.runtools.ai/v1/threads/{threadId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "archived": true,
  "title": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

threadId
string
required

Body

application/json
archived
boolean
title
string

Response

200

Updated.