Back to Prefect

root

docs/v3/api-ref/python/prefect-server-api-root.mdx

3.6.30.dev3677 B
Original Source

prefect.server.api.root

Contains the hello route for testing and healthcheck purposes.

Functions

hello <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/api/root.py#L18" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
hello() -> str

Say hello!

perform_readiness_check <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/api/root.py#L24" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
perform_readiness_check(db: PrefectDBInterface = Depends(provide_database_interface)) -> JSONResponse