Cross referencing tags query using the roboflow python SDK

Hello,

We have a dataset where each picture has multiple tags\metadata which can be seen in Roboflow’s raw data section under the “user tags” field. We’ve been trying to test different combonation of pictures based on their tags in order to achive more accurate models.

Acording to Roboflow Docs
this can be achived using the project class search_all() method. However running the following code results in an error:

from roboflow import Roboflow

rf = Roboflow(api_key=KEY_TOKEN)
project = rf.project("PROJECT_NAME")

records = [  ]

for page in project.search_all(
    prompt="KEY_WORD"
):
    records.extend(page)

print(len(records))

AttributeError: 'Project' object has no attribute 'search_all'

Can someone please point out why the above isn’t working ? Thanks in advance