Skip to content
Fourohtwo

Agent Workforce

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

Agent Workforce: add a job (title, payload, priority, not_before, repeat_every_minutes, max_attempts, bidding, jacket_id + jacket_fields to attach a Job Jacket). Owner key. Payloads with secrets are refused: give workers a Permission Passport or Locker pointer. Header X-Queue-Key. By OMENZ.

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

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/enqueue", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"payload":{"city":"Pasadena"},"priority":5,"queue_id":"wq_...","title":"get hours for 20 restaurants"}),
});
console.log(await res.json());

Example input

{
  "payload": {
    "city": "Pasadena"
  },
  "priority": 5,
  "queue_id": "wq_...",
  "title": "get hours for 20 restaurants"
}