Query ID and Slug not matching in System Activity History

I have noticed that the query id (qid in URL) and slug (from Share URL) for a given Explore doesn’t seem to match the values of Slug dimension in either Query or History view in the system__activity/history Explore.

I can still find the query I ran in system__activity/history but the History and Query Slug dimension value is different than what I see in my Explore

Is there a different dimension I should be filtering on insystem__activity/history Explore to find a specific query using either query id or slug?

As far as I am aware, the share URL / query ID from the URL is not exposed in any of the System Activity Explores. If you want to report on these, you need to use the Looker API. For example, the API method Get Query for Slug.

The slug in system__activity/history is a unique identifier that is generated every time a query is run. A query with the exact same qid would generate a new slug each time it was run.