Skip to Content

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.

ScopeAllows
data:readList the available datasets
data:queryAsk questions and generate charts, maps, reports and SQL explanations
conversations:readRead conversations, answers and result rows
conversations:writeRename, delete and branch conversations, and rate answers
usage:readRead the organization’s usage and quota

Only data:query spends the organization’s token quota.

Choosing scopes

The key is forScopes
Asking questions and reading the answersdata:read, data:query, conversations:read
A dashboard that shows earlier answersconversations:read
Monitoring usageusage:read
Everything, as in the appAll 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