def get_api_url(env: str) -> str:
    """Get API URL based on environment."""
    urls = {
        "local": "http://localhost:8001",
        "dev": "https://api.dev-airweave.com",
        "prod": "https://api.airweave.ai",
    }
    return urls[env]
Get API URL based on environment.
backend/tests/e2e/smoke/test_public_api.py