the402 endpoint detail

← All endpoints

agent.halowerk.com v1 memory-compact

https://agent.halowerk.com/v1/memory-compact

answers 402

Takes a message history and a character budget and returns a shortened history together with a full account of what it cost. Four stages run in fixed order: pin protects messages that must survive (roles listed in keep_roles, the last keep_last_n messages, and anything you marked pin), dedupe removes later near-duplicates of an earlier message of the same role using word-overlap similarity, trim s

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.005
Network
base
Pay to
0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
141 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:23:37.018Z (2h ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent.halowerk.com%2Fv1%2Fmemory-compact"