docs: def get_status(with_version=False):
      """Retrieve status (and optionally) version from the API."""
      client = get_status_api()
  
      with catch_raise_api_exception():
          data, _, headers = client.status_check_basic_with_http_info()
  
      ratelimits.maybe_rate_limit(client, headers)
  
      if with_version:
          return data.detail, data.version
  
      return data.detail