chats

Compact Context Now

"Summarize now": manually roll the summary that backs this viewer's gauge.

TOS-1086 converged the meter onto the chat's audience-gated summary of record, normally owned by the responding agent. Manual compaction must target that same owner so the button reduces the context the next prompt actually uses, instead of updating a stale per-viewer auxiliary summary. No-ops (returns current usage) when summaries are disabled or there is nothing new to fold. 404 if the caller is not an active participant.

post/api/chats/{chat_id}/context-usage/compact

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/chats/{chat_id}/context-usage/compact
  • Auth: none declared

Path parameters

chat_idstring uuid required

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

context_windowinteger required
used_tokensinteger required
usage_percentinteger required
floor_tokensinteger
history_tokensinteger

Changes

No recorded changes to this operation across all 1 revision of this API.