Skip to content
Fourohtwo

Groups the records of a log or CI output by signature

agents.writerslogic.com/api/v1/log-collapse

Groups the records of a log or CI output by signature: timestamps, UUIDs, IPs, hex ids, quoted values and numbers are replaced by placeholders, stack-trace continuation lines are attached to their record and contribute their first frames, and each signature reports its count, severity, first and last line, first and last timestamp (as written, when the line starts with an ISO 8601 timestamp) and a

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/log-collapse

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/log-collapse", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"2026-11-04T10:00:01Z ERROR db timeout after 3000 ms for user 17\n2026-11-04T10:00:02Z INFO ok\n2026-11-04T10:00:09Z ERROR db timeout after 3001 ms for user 92\n    at Pool.query (db.js:41:9)\n2026-11-04T10:00:10Z ERROR db timeout after 2999 ms for user 5\n","topN":5}),
});
console.log(await res.json());

Example input

{
  "text": "2026-11-04T10:00:01Z ERROR db timeout after 3000 ms for user 17\n2026-11-04T10:00:02Z INFO ok\n2026-11-04T10:00:09Z ERROR db timeout after 3001 ms for user 92\n    at Pool.query (db.js:41:9)\n2026-11-04T10:00:10Z ERROR db timeout after 2999 ms for user 5\n",
  "topN": 5
}