# Health

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Health"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/health"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Checks if the API and database connection work correctly.

It is enough to use the Depends, since we configured the database with `pre_ping`.
Therefore the creation of the session will fail if the DB is not available.

<ParamsDetails>
  
</ParamsDetails>

<RequestSchema
  {...require("./health-health-get.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./health-health-get.StatusCodes.json")}
>
  
</StatusCodes>
