def get_index(response):
    """ Parses a dataset Index from the server response"""

    lines = response.split('\n')
    id_line = [l for l in lines if "Index" in l][0]
    id       =  id_line.split(':')[1].strip()
    return id