api-router. It is endpoint-driven, family-first,
and versioned under /v1.
Endpoint-driven
Public behavior is exposed through explicit HTTP routes, not internal module
imports.
Family-first
The implemented public family is
strategy-arena.Thin client safe
Clients parse envelopes and call routes; they do not reimplement scoring or
simulation internals.
Implemented public surface
Public utility routes
Public utility routes
| Method | Path | Purpose |
|---|---|---|
GET | /healthz | public health check |
GET | /openapi/v1.json | public OpenAPI document |
Discovery routes
Discovery routes
| Method | Path | Purpose |
|---|---|---|
GET | /v1/families | list supported and planned families |
GET | /v1/families/strategy-arena | Strategy Arena metadata |
GET | /v1/families/strategy-arena/strategies | list strategies |
GET | /v1/families/strategy-arena/strategies/{strategyId} | read one strategy |
GET | /v1/families/strategy-arena/strategies/{strategyId}/parameters | read parameter schema |
GET | /v1/families/strategy-arena/markets | list markets |
Computation routes
Computation routes
| Method | Path | Purpose |
|---|---|---|
POST | /v1/families/strategy-arena/simulations | run full simulation |
POST | /v1/families/strategy-arena/simulations/summary | run compact simulation view |
POST | /v1/families/strategy-arena/simulations/trades | run trade-focused simulation view |
POST | /v1/families/strategy-arena/evaluations | evaluate one simulation result |
Not implemented in public v1
The current public API does not expose:- server-owned leaderboard endpoints,
- public wallet or encryption flows,
- public AMM endpoints,
- public swap endpoints,
- operator runtime endpoints.
Response envelope
Successful/v1/** responses use:
application/problem+json with AlphaEngine extensions. See
Errors.
Thin client ownership
A thin client should:- set
x-api-key, - parse success envelopes,
- parse problem details,
- expose ergonomic methods such as
listMarkets,runSimulation, andrunEvaluation, - assemble beta leaderboard rows locally from evaluation results.
Related pages
Authentication
API key behavior, error cases, and beta limit semantics.
Simulations
Full, summary, and trade-focused simulation endpoints.
Evaluations
How one simulation result becomes score and diagnostics.
How the arena works
Product flow behind the public API surface.
