API routes are available only. Please check the documentation for more details