Google Vault · OAuth Scopes

Google Vault OAuth Scopes

OAuth 2.0 searched

Google Vault publishes 2 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Google Vault API on a user’s behalf.

Tokens are issued from https://oauth2.googleapis.com/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

eDiscoveryLegal HoldInformation GovernanceComplianceArchivingRetentionGoogle WorkspaceAudit
Scopes: 2 Flows: authorizationCode Method: searched

OAuth endpoints

Authorization URL
https://accounts.google.com/o/oauth2/v2/auth
Token URL
https://oauth2.googleapis.com/token
Flows
authorizationCode

Scopes (2)

ScopeDescriptionFlows
https://www.googleapis.com/auth/ediscovery Manage your eDiscovery data authorizationCode
https://www.googleapis.com/auth/ediscovery.readonly View your eDiscovery data authorizationCode

Source

OAuth Scopes

Raw ↑
generated: '2026-09-12'
method: searched
source: https://developers.google.com/workspace/vault/auth
docs: https://developers.google.com/workspace/vault/auth
references:
  - https://developers.google.com/workspace/vault/auth
  - https://developers.google.com/identity/protocols/oauth2/scopes#vault
  - discovery/google-vault-discovery-v1.json
note: >-
  Google publishes exactly two OAuth 2.0 scopes for the Vault API and no more. The docs page
  names them and their descriptions but does not say which method needs which — so the
  per-method binding below was read from the provider's own Discovery document
  (id vault:v1, revision 20260905), where every one of the 33 methods carries its own
  scopes[] array. Descriptions are the provider's verbatim strings from that document.
schemes:
  - name: googleOAuth
    type: oauth2
    source: openapi/*.yml + discovery/google-vault-discovery-v1.json
    flows:
      - flow: authorizationCode
        authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
        tokenUrl: https://oauth2.googleapis.com/token
scopes:
  - scope: https://www.googleapis.com/auth/ediscovery
    description: Manage your eDiscovery data
    sensitivity: not-published
    grants: read+write
    method_count: 33
    flows: [authorizationCode]
    sources:
      - https://developers.google.com/workspace/vault/auth
      - discovery/google-vault-discovery-v1.json
  - scope: https://www.googleapis.com/auth/ediscovery.readonly
    description: View your eDiscovery data
    sensitivity: not-published
    grants: read
    method_count: 11
    flows: [authorizationCode]
    sources:
      - https://developers.google.com/workspace/vault/auth
      - discovery/google-vault-discovery-v1.json
scope_bindings:
  - scope_set: [https://www.googleapis.com/auth/ediscovery]
    kind: write-only
    count: 22
    methods:
      - vault.matters.addPermissions
      - vault.matters.close
      - vault.matters.count
      - vault.matters.create
      - vault.matters.delete
      - vault.matters.exports.create
      - vault.matters.exports.delete
      - vault.matters.holds.accounts.create
      - vault.matters.holds.accounts.delete
      - vault.matters.holds.addHeldAccounts
      - vault.matters.holds.create
      - vault.matters.holds.delete
      - vault.matters.holds.removeHeldAccounts
      - vault.matters.holds.update
      - vault.matters.removePermissions
      - vault.matters.reopen
      - vault.matters.savedQueries.create
      - vault.matters.savedQueries.delete
      - vault.matters.undelete
      - vault.matters.update
      - vault.operations.cancel
      - vault.operations.delete
    note: >-
      vault.matters.count is a read-shaped operation (it returns search counts) that Google
      nonetheless gates behind the full ediscovery scope — a read-only token cannot call it.
  - scope_set:
      - https://www.googleapis.com/auth/ediscovery
      - https://www.googleapis.com/auth/ediscovery.readonly
    kind: read
    count: 11
    methods:
      - vault.matters.exports.get
      - vault.matters.exports.list
      - vault.matters.get
      - vault.matters.holds.accounts.list
      - vault.matters.holds.get
      - vault.matters.holds.list
      - vault.matters.list
      - vault.matters.savedQueries.get
      - vault.matters.savedQueries.list
      - vault.operations.get
      - vault.operations.list
least_privilege:
  guidance: >-
    Google's own wording on the scopes page: "choose the most narrowly focused scope possible
    and avoid requesting scopes that your app doesn't require." An agent that only reads
    matters, holds, saved queries, exports and operations needs ediscovery.readonly alone.
  read_only_sufficient_for: 11
  requires_full_scope: 22
  sensitivity_note: >-
    Google's master OAuth 2.0 scopes page lists both Vault scopes with a description only and
    attaches no Sensitive/Restricted label to either, so no sensitivity class is asserted here.
    Checked 2026-09-12 against https://developers.google.com/identity/protocols/oauth2/scopes.

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/google-vault-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.