docs/openapi.json and rendered from it in the Endpoints tab of this site, where each route has a playground that can call the hosted API. The prose contract, with every field and event, is docs/api-contract.md.
- Server:
https://api.hellonear.xyz(NEAR testnet), orhttp://localhost:4000when you run it locally. - Auth: every route except health, status and auth needs the session cookie
hn_session. Get one as a guest withPOST /v1/auth/demo, or sign in with a NEAR wallet (NEP-413). - Errors:
{ error, ...details }with an HTTP status. See Errors. - Streams: chat, approval and workflow runs answer with server-sent events. See Streaming events.