{"api":"v1","generated_at":"2026-09-16T01:49:39.871Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/agent-halowerk-com-v1-memory-compact-6b6104","pinned_page":"https://tollindex.com/e/agent-halowerk-com-v1-memory-compact-6b6104/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"agent-halowerk-com-v1-memory-compact-6b6104","canonical_url":"https://agent.halowerk.com/v1/memory-compact","resource":"https://agent.halowerk.com/v1/memory-compact","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"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 shortens unprotected survivors to max_message_chars at the last sentence boundary, and drop removes…","service_name":null,"declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-08-19T15:04:16.724Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"memory compact","category":"storage","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-08-19T15:04:16.406Z"},"validation":{"latest":{"observed_at":"2026-09-15T05:24:20.006Z","state":"pass","failed_checks":["bazaar.info.output"],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T05:24:20.006Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:59:20.907Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:56:02.101Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T07:12:12.780Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T10:51:54.276Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","page":"https://tollindex.com/seller/0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","endpoints":1553,"hosts":67},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","asset":"USDC","version":"2","eip712Domain":{"name":"USD Coin","chainId":8453,"version":"2","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"network_name":"Base Mainnet","assetTransferMethod":"eip3009"},"payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-08-19T15:04:16.406Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://agent.halowerk.com/v1/memory-compact","extensions":{"bazaar":{"info":{"input":{"body":{"messages":[{"role":"system","content":"You are a logistics dispatcher. Always answer with the shipment id first."},{"role":"user","content":"Where is shipment DE-4471? It left Hamburg on Monday morning and should reach Lyon by Thursday."},{"role":"assistant","content":"DE-4471 is in transit and cleared the Strasbourg hub at 03:10. Estimated arrival in Lyon is Thursday 14:00."},{"role":"user","content":"Where is shipment DE-4471? It left Hamburg on Monday morning and should reach Lyon by Thursday."},{"role":"assistant","content":"DE-4471 is still on schedule, no new scan since Strasbourg."},{"role":"user","content":"Good. Book the return leg for Friday."}],"keep_roles":["system"],"keep_last_n":2,"budget_chars":400,"max_message_chars":120,"duplicate_threshold":0.9},"type":"http","method":"POST","bodyType":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["messages","budget_chars"],"properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"id":{"type":"string","maxLength":128,"description":"Optional caller-side identifier, echoed unchanged."},"pin":{"type":"boolean","default":false,"description":"If true this message is protected: never trimmed, never dropped."},"role":{"enum":["system","user","assistant","tool"],"type":"string","description":"Speaker role."},"content":{"type":"string","maxLength":8000,"minLength":1,"description":"Message text."}},"additionalProperties":false},"maxItems":200,"minItems":2,"description":"The conversation in order, oldest first."},"keep_roles":{"type":"array","items":{"enum":["system","user","assistant","tool"],"type":"string"},"default":["system"],"maxItems":4,"description":"Roles whose messages are protected."},"keep_last_n":{"type":"integer","default":5,"maximum":50,"minimum":0,"description":"How many of the most recent messages are protected."},"budget_chars":{"type":"integer","maximum":400000,"minimum":100,"description":"Character budget for the sum of all returned message contents."},"max_message_chars":{"type":"integer","default":400,"maximum":4000,"minimum":80,"description":"Length to which unprotected survivors are trimmed in the trim stage."},"duplicate_threshold":{"type":"number","default":0.9,"maximum":1,"minimum":0.5,"description":"Word-overlap ratio from which a later message of the same role counts as a near-duplicate of an earlier one."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}}}},"description":"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 shortens unprotected survivors to max_message_chars at the last sentence boundary, and drop removes…","lastUpdated":"2026-08-19T15:04:16.724Z","x402Version":2}]}}