Online
Public product pages, docs shell, and console prototype routes are available for build-phase testing.
A clean status page creates trust, reduces repeat support questions, and gives later incident handling a place to land without improvisation.
Public product pages, docs shell, and console prototype routes are available for build-phase testing.
One API is running in Docker on 127.0.0.1:3000, with public model traffic routed through /v1/.
Recharge and subscription states are designed, but gateway callback wiring has not been connected yet.
These internal routes exist now so infrastructure and business wiring can be tested before the full public launch.
Checks PHP, business DB reachability, One API DB reachability, and project directories.
Returns a console-facing JSON summary from either the database or mock mode.
Accepts enterprise lead submissions and stores them in the business database.
A request without a token should reach One API and return an authentication error from the gateway.
curl https://api.openmagic.ai/v1/models
Expected while unauthenticated:
401 Unauthorized
{"error":{"message":"未提供令牌 ...","type":"one_api_error"}}
curl -H "Authorization: Bearer <test-token>" \
https://api.openmagic.ai/v1/models
Expected before upstream channels are configured:
200 OK
{"data":[],"object":"list"}