Ask the agentConsoleDocsTractionArcscan
Open app
Getting started
  • Quickstart
Concepts
  • The Meter & Units
  • Streaming & Proof-of-Flow
  • Citation Toll & Royalty Splits
  • Reputation Bonds
Build
  • sluice-pay SDK
  • MCP server
  • API reference
  • Connectors
  • List your endpoint on the Bazaar
Compatibility
  • RSL & llms.txt
  • Self-hosting the toll sidecar
Trust
  • Changelog
  • FAQ
Resources
Whitepaper (PDF) ↗
Build

API reference

Base URL https://sluiceflow.vercel.app/gw. All money is 6-dp USDC base-unit strings.

Resources

  • GET /resources · GET /resources/:id — list / fetch.
  • POST /resources — register (name, unitType, price, path).
  • GET|POST /paid/:path — the x402-protected endpoint (402 → pay → 200).

Pay & settle

  • GET /receipts, GET /kpis, GET /gateway/balance.
  • POST /research — citation-toll loop.
  • POST /sessions + /sessions/:id/{heartbeat, pause,resume,stop} — streaming.

Bonds & treasury

  • GET /contracts, GET /reputation.
  • POST /matches, POST /matches/:id/resolve.
  • GET /treasury/balance, POST /treasury/withdraw (instant Arc / cross-chain).
PreviousMCP server
Next Connectors
On this page
  • Resources
  • Pay & settle
  • Bonds & treasury