API/API

Hosted endpoint

TESTNET

The self-serve API runs as a hosted service on Sui testnet. The host root returns 404. Open /healthz or /v1/config. The site at https://essey.xyz uses the same host, and so can a script or an agent: every route on these pages works against it.

Shell
curl -s https://sui-agent-prototype-production.up.railway.app/v1/config
WhatHosted behaviour
NetworkSui testnet only. GET /v1/config returns network, chainId and the package.
SecretsEvery secret comes from the environment; the server refuses to start if one is missing.
Browser requestsAccepted only from the site's origins, https://essey.xyz and https://www.essey.xyz. A request with another Origin is refused with 403. A script that sends no Origin header is not affected.
PasskeysRelying party essey.xyz (see Authentication). Wallet sign-in works from anywhere.
Rate limitsSign-in limits count the edge's client IP.
HealthGET /healthz returns 200.

To run your own copy instead, see Run it locally.