Skip to main content
The Sisera Control Plane (@sisera/api) exposes a RESTful JSON API prefixed under /v1/*.
  • Production Base URL: https://sisera.xyz/api/platform (proxied via Next.js) or direct API gateway port (:4000 in local dev, :4200 in production).
  • Content-Type: application/json; charset=utf-8
  • Monetary Precision: All monetary quantities, prices, and P&L values across domain boundaries are serialized as explicit decimal strings (or validated finite numbers in input schemas) to prevent IEEE-754 floating-point drift.

Authentication & RBAC Permissions

Write endpoints and account-specific read endpoints require an authenticated Privy Bearer Token passed either via the Authorization header or an HttpOnly session cookie:

Role-Based Permission Scopes

Wallet Ownership Verification (requireOwnedWallet): Endpoints that bind a Solana or EVM address to an action (such as publishing a marketplace strategy, checking out a license, or launching a token) verify server-side that the authenticated Privy principal actually owns the submitted wallet address.

Standard Response & Error Envelopes

Successful responses return a top-level { "data": ... } object:
Errors return a consistent machine-readable { "error": "...", "message": "..." } payload:

System Health & Capabilities Endpoints