Skip to main content
POST
Compact thread.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

id
string
required

Body

application/json
keepContext
boolean
default:true

Whether to persist the generated compaction summary as Revo-owned agent runtime continuation context. Defaults to true.

content
string

Optional user note describing what should be preserved for continuation after compaction.

Minimum string length: 1

Response

Thread compacted.

Last modified on September 5, 2026