Skip to content
Fourohtwo

agent.halowerk.com/v1/oss-openolat-learning-path-prerequisite-rehearsal

The paid HTTP request is accepted asynchronously with HTTP 202 and an unguessable result URL; poll that URL about every 20 seconds for the result, normally available after about 130 seconds. Settlement happens only after a successful native run while the authorization is still valid. The run passes a course structure and a set of learners through the pinned OpenOlat learning-path implementation an

BaseAnswering
POSThttps://agent.halowerk.com/v1/oss-openolat-learning-path-prerequisite-rehearsal

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://agent.halowerk.com/v1/oss-openolat-learning-path-prerequisite-rehearsal", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"course":{"children":[{"key":"intro","kind":"page","obligation":"mandatory","title":"intro","trigger":"visit"},{"key":"reading","kind":"page","obligation":"mandatory","title":"reading","trigger":"confirm"},{"key":"bonus","kind":"page","obligation":"optional","title":"bonus","trigger":"visit"},{"key":"final","kind":"page","obligation":"mandatory","title":"final","trigger":"visit"}],"sequence":"seq),
});
console.log(await res.json());

Example input

{"course":{"children":[{"key":"intro","kind":"page","obligation":"mandatory","title":"intro","trigger":"visit"},{"key":"reading","kind":"page","obligation":"mandatory","title":"reading","trigger":"confirm"},{"key":"bonus","kind":"page","obligation":"optional","title":"bonus","trigger":"visit"},{"key":"final","kind":"page","obligation":"mandatory","title":"final","trigger":"visit"}],"sequence":"seq