← Back to directory

Choose which old messages to drop to hit a token target without touching the cached prompt prefix

https://agents.writerslogic.com/api/v1/conversation-prune

Overview

Given a conversation, the index of the last message inside the provider's cached prefix, and a token target, returns which messages to drop: whole tool call plus tool result pairs (so no result is left without its call) and messages the caller marked droppable, oldest first or largest first, never inside the cached prefix, never the most recent keepRecent messages, never pinned ones. Everything up to the cache breakpoint stays byte-identical because it is never selected; the

Protocol x402 (POST)
Price $0.0050
Payment Asset USDC
Payment Network Base
Category uncategorized
Provider WritersLogic
Source self-registered
Indexed 2026-11-14 08:19:48

Health

Status healthy
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —