Product

How Jentic Works

From API assessment to production deployment in four simple steps.

Product Overview

PLATFORM

Jentic OneSelf-hosted, open-source control plane between your agents and any APIAPI DirectoryBrowse 10,000+ APIs ready for AI agent integrationAPI ScorecardAssess your APIs for AI-readiness with automated scoringAgentic SandboxSafely simulate AI agents with your production APIsJenticSign in to the Jentic web app

CAPABILITIES

IntegrationConnect AI agents to your existing systemsWorkflowsDiscover and capture successful agent workflowsGovernanceDefine, observe, and enforce AI policies

TOOLS

Arazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually
Pricing
Developers

GET STARTED

DocumentationGuides and API referenceQuickstartGet up and running in minutes

COMMUNITY

GitHubOpen source projects and examples
Resources
BlogLatest articles and insightsPress & MediaBrand assets and press contactOpen StandardsBuilt on open specs. Never locked in.NewsletterAPIs, AI agents, mixed with architecture and strategy.
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Install Jentic OneBook a Demo
How Jentic WorksJentic OneAPI DirectoryAPI ScorecardAgentic SandboxJenticIntegrationWorkflowsGovernanceArazzo UIArazzo Editor
Pricing
DocumentationQuickstartGitHub
BlogPress & MediaOpen StandardsNewsletter
About UsCareersContact
Request a demoInstall Jentic One
Jentic
For Enterprises
  • Product Overview
  • Agentic Sandbox
  • Book a Demo
For Developers
  • Jentic One
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
ISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
APIs / Security / Google / Google Vault API
Google Vault API logo

Google Vault API

Browse all Google APIs
✓ Official Vendor SpecSecurityComplianceoauth232 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

Why Jentic?

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

Setup

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

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 management

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

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.

GET STARTED

Start building with Google Vault API

Explore with Jentic
View OpenAPI Document