# Ability to have granular scope for data explorer?

**URL:** https://meta.discourse.org/t/ability-to-have-granular-scope-for-data-explorer/362351
**Category:** Feature
**Tags:** data-explorer, user-api
**Created:** [April 17, 2025, 3:31pm UTC](https://meta.discourse.org/t/ability-to-have-granular-scope-for-data-explorer/362351 "2025-04-17T15:31:20Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [April 17, 2025, 5:23pm UTC](https://meta.discourse.org/t/ability-to-have-granular-scope-for-data-explorer/362351/6 "2025-04-17T17:23:32Z")

</div>

You can create them via API, my question is if we can somehow limit the scope of an API key for that. Currently an API key scope can be limited to reading [data explorer](https://meta.discourse.org/t/32566?silent=true) queries, but it doesn’t give an option to limit a scope to writing.

So today, if I want to give someone in my business the ability to write queries to [data explorer](https://meta.discourse.org/t/32566?silent=true), I have to give them a full global admin API key.

Here are the docs on creating queries via API:

> [@Run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/run-data-explorer-queries-with-the-discourse-api/120063#p-591217-removing-relations-data-from-the-results-4):
>
> bookmark This guide explains how to use the Discourse API to create, run, and manage queries with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin. person_raising_hand Required user level: Administrator Virtually any action that can be performed through the Discourse user interface can also be triggered with the Discourse API. This document provides a comprehensive overview for utilizing the API specifically in conjunction with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin. For a general overview of how to find the correct API …

---

_[View the full topic](https://meta.discourse.org/t/ability-to-have-granular-scope-for-data-explorer/362351)._
