# Create a Data Explorer query using the API

**URL:** <https://meta.discourse.org/t/create-a-data-explorer-query-using-the-api/394388>\
**Category:** Integrations\
**Tags:** data-explorer, rest-api, how-to\
**Created:** [January 26, 2026, 11:27pm UTC](https://meta.discourse.org/t/create-a-data-explorer-query-using-the-api/394388 "2026-01-26T23:27:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [February 25, 2026, 3:54pm UTC](https://meta.discourse.org/t/create-a-data-explorer-query-using-the-api/394388/2 "2026-02-25T15:54:37Z")

</div>

> [@Discourse](#):
>
> To create a new [Data Explorer](https://meta.discourse.org/t/32566?silent=true) query, make a `POST` request to `/admin/plugins/discourse-data-explorer/queries`.

You changed the path of the API call and broke my query!?! it used to be `/admin/plugins/explorer/queries/3/run` and all of a sudden the github action started failing. This doesn’t seem very nice.

---

_[View the full topic](https://meta.discourse.org/t/create-a-data-explorer-query-using-the-api/394388)._
