Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/dedup-window

Given previously seen deliveries (identity, receivedAt, payload or digest, handling outcome) and a new incoming one, finds earlier deliveries with the same identity inside the window and returns process (none), dedupe (same payload already processed), retry (earlier ones all failed), reconcile (an earlier one is in flight or unknown, or the same identity arrives with a different payload) or abstai

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/dedup-window

Uptime100% of 3 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/dedup-window", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"history":[{"id":"d1","outcome":"processed","payload":{"amount":5},"identity":"evt_9","receivedAt":"2026-11-04T10:00:00Z"}],"incoming":{"payload":{"amount":5},"identity":"evt_9","receivedAt":"2026-11-04T10:00:30Z"},"windowSeconds":300}),
});
console.log(await res.json());

Example input

{
  "history": [
    {
      "id": "d1",
      "outcome": "processed",
      "payload": {
        "amount": 5
      },
      "identity": "evt_9",
      "receivedAt": "2026-11-04T10:00:00Z"
    }
  ],
  "incoming": {
    "payload": {
      "amount": 5
    },
    "identity": "evt_9",
    "receivedAt": "2026-11-04T10:00:30Z"
  },
  "windowSeconds": 300
}