# Cross referencing tags query using the roboflow python SDK

**URL:** <https://discuss.roboflow.com/t/cross-referencing-tags-query-using-the-roboflow-python-sdk/2614>\
**Category:** 🤝  Community Help\
**Created:** [July 10, 2023, 6:20am UTC](https://discuss.roboflow.com/t/cross-referencing-tags-query-using-the-roboflow-python-sdk/2614 "2023-07-10T06:20:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amirt](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@amirt](https://discuss.roboflow.com/u/amirt)\
**Post date:** [July 10, 2023, 6:20am UTC](https://discuss.roboflow.com/t/cross-referencing-tags-query-using-the-roboflow-python-sdk/2614/1 "2023-07-10T06:20:40Z")

</div>

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](https://docs.roboflow.com/api-reference/images/search)  
this can be achived using the project class `search_all()` method. However running the following code results in an error:

```auto
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

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [October 18, 2023, 11:51pm UTC](https://discuss.roboflow.com/t/cross-referencing-tags-query-using-the-roboflow-python-sdk/2614/3 "2023-10-18T23:51:59Z")

</div>



---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [October 18, 2023, 11:52pm UTC](https://discuss.roboflow.com/t/cross-referencing-tags-query-using-the-roboflow-python-sdk/2614/4 "2023-10-18T23:52:08Z")

</div>


