W

Workers · Distill Runs

by Workers

POSTBase

$0.29

per call · USD Coin on Base

Turn supplied Markdown or plain text into a reusable SKILL.md bundle. The exact x402 price is based on the selected source sections and is quoted before payment.

Endpoint

POST https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/distill/runs

2

Calls / 30d

1

Unique payers / 30d

Aug 24

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/distill/runs", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "maxSections": 5,
    "skillName": "customer-interview-playbook",
    "sourceText": "# Customer interviews\n\n## Discovery\nAsk about the last time the problem happened..."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/x402/distill/runs" \
  -H "Content-Type: application/json" \
  -d '{"maxSections":5,"skillName":"customer-interview-playbook","sourceText":"# Customer interviews\n\n## Discovery\nAsk about the last time the problem happened..."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "ok": true,
  "result": {
    "run": {
      "quotedSections": 5,
      "status": "pending"
    }
  },
  "runId": "run_..."
}

Payment details

Pay to0xbd62f8dcb52e21ca5bdf20ba173488da101ebcf0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Workers & similar services