Scopes
Every API key and every connected assistant carries a set of scopes. A request outside them
fails with 403 insufficient_scope, and the error’s details.required_scope names the scope
it needed. On the MCP server, tools outside a connection’s scopes are not listed at all.
| Scope | Allows |
|---|---|
data:read | List the available datasets |
data:query | Ask questions and generate charts, maps, reports and SQL explanations |
conversations:read | Read conversations, answers and result rows |
conversations:write | Rename, delete and branch conversations, and rate answers |
usage:read | Read the organization’s usage and quota |
Only data:query spends the organization’s token quota.
Choosing scopes
| The key is for | Scopes |
|---|---|
| Asking questions and reading the answers | data:read, data:query, conversations:read |
| A dashboard that shows earlier answers | conversations:read |
| Monitoring usage | usage:read |
| Everything, as in the app | All five |
Each endpoint in the API reference and each tool in the tool reference names the scope it needs.
Changing scopes
A key’s scopes are fixed when it is created. To change them, create a new key and revoke the old one; see Rotation and revocation. An assistant’s scopes are chosen on the approval page each time you connect it.
Last updated on