Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Security / Google / Google Vault API
Google Vault API logo

Google Vault API

Browse all Google APIs
39
AI ReadinessNon-Ready (F)39/100
See full scorecard
Official vendor OpenAPI document · agent-readySecurityComplianceoauth232 EndpointsREST

For Agents

Manage legal matters, holds, searches, and exports across Google Workspace so an agent can automate eDiscovery and retention workflows without manual console clicks.

Use for: I need to create a Vault matter for an HR investigation, Place a hold on a departing employee's Gmail and Drive data, Search for messages mentioning a project codename across the legal team, List every export attached to an active matter

Not supported: Does not handle live mailbox automation, file editing, or user provisioning - use for eDiscovery matters, holds, searches, and exports across Workspace only.

The Google Vault API provides programmatic retention and eDiscovery for Google Workspace data including Gmail, Drive, Chat, Meet, Voice, and Groups. It lets compliance teams create matters, place legal holds on accounts and organizational units, run searches across a domain, and export the resulting evidence for review. Access requires Vault privileges and matter-level sharing, and every export, hold, and search action is auditable.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Google Vault API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Google Vault API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fvault" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fvault" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Google Vault API.

Open and close matters that scope an eDiscovery investigation

Place legal holds on specific accounts or entire organizational units across Workspace services

Run domain-wide searches across Gmail, Drive, Chat, Voice, and Groups within a matter

Export held data with metadata for review in third-party eDiscovery platforms

Share a matter with collaborating reviewers and revoke access when an investigation closes

List exports and download them once Vault has finished compiling the archive

Use Cases

Patterns agents use Google Vault API for, with concrete tasks.

★ Departing Employee Legal Hold

When an employee departs under disputed circumstances, Workspace administrators automate a legal hold across the user's Gmail, Drive, and Chat data so messages and files cannot be permanently deleted. The Google Vault API creates a matter, attaches a hold scoped to the user account, and reports back when retention is in effect. This replaces a manual console workflow that typically takes a compliance analyst 20-30 minutes per departure.

Create a matter named Departure-Smith, place a hold on user smith@example.com covering MAIL and DRIVE, and confirm the hold is active

eDiscovery Search and Export

Legal teams responding to a litigation request use the Vault API to scope a search by custodian list, date range, and keyword query, then export the matching messages and files for outside counsel review. The API exposes the full lifecycle: create matter, add accounts to a hold, run a saved query, kick off an export, and poll until the export bundle is ready for download. Exports include metadata required for chain-of-custody documentation.

Create a matter, run a search for emails containing project-falcon between 2026-01-01 and 2026-03-31, and start an MBOX export

Compliance Audit Reporting

Compliance and security teams enumerate active matters and holds to produce monthly audits showing which custodians are under preservation. The Vault API returns matters paginated by state and exposes hold metadata including affected services, reducing audit prep from a multi-hour manual exercise to a scripted report. Combined with Workspace admin reporting, this gives a single source of truth for regulators.

List every matter in OPEN state, enumerate its holds, and write a CSV of custodian-to-service mappings

AI Agent Compliance Assistant

An AI agent integrated through Jentic responds to compliance prompts like 'preserve everything from user X for the next 90 days' by discovering the Vault hold operations via intent search, loading the relevant request schemas, and executing them with the right matter and account scope. Because Vault uses OAuth 2.0 with admin scopes, Jentic isolates the consent token in your Jentic One instance so the agent never holds the raw credential.

Search Jentic for create a matter and place a hold, then chain those operations for a named user

Key Endpoints

32 endpoints — the google vault api provides programmatic retention and ediscovery for google workspace data including gmail, drive, chat, meet, voice, and groups.

METHOD

PATH

DESCRIPTION

POST

/v1/matters

Create a new eDiscovery matter

GET

/v1/matters

List matters filtered by state

POST

/v1/matters/{matterId}/holds

Add a hold to a matter

GET

/v1/matters/{matterId}/holds

List holds in a matter

POST

/v1/matters/{matterId}/exports

Start an export of held data

GET

/v1/matters/{matterId}/exports

List exports for a matter

POST

/v1/matters/{matterId}/savedQueries

Create a saved search query

POST

/v1/matters

Create a new eDiscovery matter

GET

/v1/matters

List matters filtered by state

POST

/v1/matters/{matterId}/holds

Add a hold to a matter

GET

/v1/matters/{matterId}/holds

List holds in a matter

POST

/v1/matters/{matterId}/exports

Start an export of held data

GET

/v1/matters/{matterId}/exports

List exports for a matter

POST

/v1/matters/{matterId}/savedQueries

Create a saved search query

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

G

Google Vault API

- Non-Ready (F)
39/100
47
Foundational Compliance
56
Developer Experience & Jentic Compatibility
18
AI-Readiness & Agent Experience
94
Agent Usability
63
Security
59
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
47

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: D+Signals: 4
75%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

14%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

56

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: CSignals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

25%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

18

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
73%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

63

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
62%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

59

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: C+Signals: 1
59%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Google Vault API by hand means setting up Google OAuth, requesting the ediscovery scope, building the matter, hold, and export path parameters, and refreshing tokens yourself. Through Jentic you install once, import the Google Vault API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

Google Vault puts the matter in the URL path (/v1/matters/{matterId}/holds), so a rule can pin your agent to one matter: it can create holds, exports, and saved queries there and nothing else. You choose the operations it may call, so placing a legal hold or starting an export is not included unless you add it.

Credential isolation

Your Google Vault OAuth credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'place a hold on a user' or 'create an ediscovery matter', and Jentic returns the matching Vault v1 operation with its input schema, including the corpus enum and accounts array, so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

Admin SDK API

→

Manage the Workspace users and org units that Vault holds and searches operate against

Choose Admin SDK when an agent needs to enumerate or modify the user accounts before scoping a Vault hold.

Complementary

Google Drive API

→

Access live Drive content; Vault preserves and exports a frozen copy for compliance

Choose Drive when an agent needs to read or modify current files; choose Vault when the requirement is preservation, hold, or export.

Complementary

Sensitive Data Protection (DLP) API

→

Classify and redact sensitive data discovered during a Vault export

Choose DLP when an exported corpus needs PII or PHI scanning before being shared with reviewers.

Complementary

Gmail API

→

Direct access to mailbox contents that Vault holds preserve

Choose Gmail for live mailbox automation; choose Vault for retention, legal hold, and discovery export workflows.

FAQs

Specific to using Google Vault API through Jentic.

What authentication does the Google Vault API use?

The Google Vault API uses OAuth 2.0 with the ediscovery scope family (https://www.googleapis.com/auth/ediscovery and ediscovery.readonly). Through Jentic, the OAuth token is stored encrypted in your Jentic One instance and only a scoped reference is exposed to the agent at execution time.

Can I place a legal hold on a Workspace user with the Google Vault API?

Yes. Use POST /v1/matters/{matterId}/holds with a corpus of MAIL, DRIVE, GROUPS, HANGOUTS_CHAT, or VOICE and an accounts list. The same endpoint accepts an orgUnit object to hold an entire organizational unit instead of named accounts.

What are the rate limits for the Google Vault API?

Vault uses standard Workspace per-project quotas with a default of around 1,500 requests per minute per project. Long-running operations like exports do not count against per-minute quotas but are bounded by daily export size limits documented in the Vault admin help center.

How do I run an eDiscovery export through Jentic with the Google Vault API?

Install Jentic with pip install jentic, search for create vault export, load the schema for POST /v1/matters/{matterId}/exports, then execute with the matter ID, query, and export format (MBOX, PST, or individual files for Drive). Poll GET /v1/matters/{matterId}/exports/{exportId} until status is COMPLETED to retrieve the download URLs.

Does the Google Vault API support exporting Drive and Chat data, not just Gmail?

Yes. The corpus field on a search or hold accepts MAIL, DRIVE, GROUPS, HANGOUTS_CHAT, and VOICE. Exports return data in service-specific formats - MBOX or PST for mail, individual files plus metadata for Drive, and Chat conversation archives.

Why does my Vault API call return PERMISSION_DENIED even with a valid token?

Vault enforces matter-level access on top of OAuth scopes. The authenticated account must either own the matter, have it shared, or hold the View All Matters privilege at the Workspace admin level. Share the matter with the service account or grant the privilege in the admin console.

Can I limit what my agent is allowed to do with the Google Vault API?

Yes. Because you run Jentic One yourself, your own rules decide which Google Vault operations the agent may call, so it can create holds, exports, and saved queries only if you add those operations. Google Vault puts the matter in the URL path (/v1/matters/{matterId}/holds), so you can pin the agent to a single matter and keep it out of every other one. You also hold the OAuth credential, so placing a legal hold or starting an export happens only within the operations and matter scope you granted.

GET STARTED

Start building with Google Vault API

Explore with Jentic One
View OpenAPI Document