Skip to main content
POST
/
v1
/
threads
/
{threadId}
/
compact
Manually compact a thread
curl --request POST \
  --url https://api.runtools.ai/v1/threads/{threadId}/compact \
  --header 'Authorization: Bearer <token>'

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

Response

200

Compacted.