Skip to content

Web API

Important

The core must be built before running the API.

Web APIยค

The core are exposed to the web using FastAPI. Validation on query params/body is handled by Pydantic models defined under src/am4/db/models.

To start it, use:

python3 -m src.am4 start api
it should be running on http://localhost:8002 and look like this: