Skip to content
onelayer.
All tools

Tool detail

publish

Publishes submitted HTML as a live page at a permanent, unguessable URL and returns that URL plus a one-time claim token.

Categories: Data storage

Use when

  • host a generated HTML report at a shareable URL
  • publish an agent-built dashboard or static page

Not for

  • not private hosting — the page is public to anyone with the link
  • not guaranteed-permanent after deletion — restorable for only 30 days

Inputs

POST JSON body: { html: string } (required); filename: string (optional, defaults to index.html)

Admitted input schema

{
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Optional logical filename; defaults to index.html."
    },
    "html": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "The full HTML document to host."
    }
  },
  "required": [
    "html"
  ],
  "additionalProperties": false,
  "description": "The page to publish. Send { \"html\": \"<!doctype html>...\" } (or a raw text/html body). Payment is carried in the PAYMENT-SIGNATURE header (x402 v2)."
}

Endpoint

Method
POST
URL
https://api.stacktr.ee/publish

Payment

Protocol
x402
Listed price
0.5 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.stacktr.ee/publish
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z