Skip to content
Fourohtwo

Agent Workforce

www.omenz.org/api/tollbooth/v1/queue/rejoin

Agent Workforce: a worker back after a lost lease (crash, quota, outage) sends its checkpoint/result: late work is kept as provenance, never thrown away; RESUME / REJOINED (lease back, from newest checkpoint) / STAND_DOWN (replacement has it, your work attached) / ALREADY_DONE (no double completion). Header X-Queue-Key. By OMENZ.

BaseAnswering
POSThttps://www.omenz.org/api/tollbooth/v1/queue/rejoin

Uptime100% of 1 check 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://www.omenz.org/api/tollbooth/v1/queue/rejoin", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"checkpoint":{"step":3},"item_id":"wi_...","queue_id":"wq_...","worker_id":"agent-7"}),
});
console.log(await res.json());

Example input

{
  "checkpoint": {
    "step": 3
  },
  "item_id": "wi_...",
  "queue_id": "wq_...",
  "worker_id": "agent-7"
}