INNER CODE UNIT · Python

get_dashboard_url

modal-labs/modal-client · py/modal/app.py:374

    async def get_dashboard_url(self) -> str:
        """Get the dashboard URL for the App.

        Returns:
            The dashboard URL for the App.

        Examples:
            ```python
            app = modal.App.lookup("my-app")
            print(app.get_dashboard_url())
            ```
        """
        if self._app_id is None:
            raise InvalidError("App is not running")
        return f"https://modal.com/id/{self._app_id}"

    @with_deprecation_warning(
        (2026, 8, 26),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…