# Query remote history tag paths?

**URL:** <https://forum.inductiveautomation.com/t/query-remote-history-tag-paths/75737>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 29, 2023, 7:03pm UTC](https://forum.inductiveautomation.com/t/query-remote-history-tag-paths/75737 "2023-06-29T19:03:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![N1ck](https://avatars.discourse-cdn.com/v4/letter/n/ba9def/32.png) [@N1ck](https://forum.inductiveautomation.com/u/N1ck)\
**Post date:** [June 29, 2023, 7:03pm UTC](https://forum.inductiveautomation.com/t/query-remote-history-tag-paths/75737/1 "2023-06-29T19:03:22Z")

</div>

I am aware there is a system.tag.browseHistoricalTags(). With a large tag structure... this becomes a lot of clicks to find what you want per item and then have to repeat for however many items.

The system.tag.query() has been a great feature for realtime tags. Is there something equivalent for remote history providers?? I am looking to return a list of remote history tag paths:

```auto
provider = 'myRemoteHistoryProvider'
limit = 100

query = {
  "options": {
    "includeUdtMembers": True,
    "includeUdtDefinitions": False
  },
  "condition": {
    "path": " ***my*tag*search***",
    "attributes": {
      "values": [
        "history"
      ],
      "requireAll": True
    }
  },
  "returnProperties": [
    "tagType",
    "quality"
  ]
}

# Limited to 100 rows. Use continuationPoint functionality to continue from last result, 
# or remove limit for full results.
results = system.tag.query(provider, query, limit)

```
