# 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
  parameters={undefined}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"content":{"application/json":{"schema":{"title":"Response Health Health Get","type":"string"}}},"description":"Successful Response"}}}
>
  
</StatusCodes>
