Google Vault Exports API

The Exports API from Google Vault — 2 operation(s) for exports.

Operations 4

GET /v1/matters/{matterId}/exports List exports #
POST /v1/matters/{matterId}/exports Create export #
GET /v1/matters/{matterId}/exports/{exportId} Get export #
DELETE /v1/matters/{matterId}/exports/{exportId} Delete export #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-vault-exports-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-vault-exports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Vault Exports API
  description: Best-effort OpenAPI 3.1 for the Google Vault API, an information governance and eDiscovery API for Google Workspace. Covers matters, holds, exports, saved queries, held accounts, and long-running operations.
  version: v1
servers:
- url: https://vault.googleapis.com
security:
- googleOAuth: []
tags:
- name: Exports
paths:
  /v1/matters/{matterId}/exports:
    get:
      tags:
      - Exports
      summary: List exports
      operationId: matters.exports.list
      parameters:
      - in: path
        name: matterId
        required: true
        schema:
          type: string
      - in: query
        name: pageSize
        schema:
          type: integer
      - in: query
        name: pageToken
        schema:
          type: string
      responses:
        '200':
          description: Exports
    post:
      tags:
      - Exports
      summary: Create export
      operationId: matters.exports.create
      parameters:
      - in: path
        name: matterId
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Export'
      responses:
        '200':
          description: Export
  /v1/matters/{matterId}/exports/{exportId}:
    get:
      tags:
      - Exports
      summary: Get export
      operationId: matters.exports.get
      parameters:
      - in: path
        name: matterId
        required: true
        schema:
          type: string
      - in: path
        name: exportId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Export
    delete:
      tags:
      - Exports
      summary: Delete export
      operationId: matters.exports.delete
      parameters:
      - in: path
        name: matterId
        required: true
        schema:
          type: string
      - in: path
        name: exportId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Empty
components:
  schemas:
    Export:
      type: object
      properties:
        id:
          type: string
        matterId:
          type: string
        name:
          type: string
        requester:
          type: object
          properties:
            displayName:
              type: string
            email:
              type: string
        query:
          $ref: '#/components/schemas/Query'
        exportOptions:
          type: object
        status:
          type: string
          enum:
          - EXPORT_STATUS_UNSPECIFIED
          - COMPLETED
          - FAILED
          - IN_PROGRESS
        createTime:
          type: string
          format: date-time
        cloudStorageSink:
          type: object
        stats:
          type: object
          properties:
            exportedArtifactCount:
              type: string
            totalArtifactCount:
              type: string
            sizeInBytes:
              type: string
    Query:
      type: object
      properties:
        corpus:
          type: string
          enum:
          - CORPUS_TYPE_UNSPECIFIED
          - DRIVE
          - MAIL
          - GROUPS
          - HANGOUTS_CHAT
          - VOICE
          - CALENDAR
        dataScope:
          type: string
          enum:
          - DATA_SCOPE_UNSPECIFIED
          - ALL_DATA
          - HELD_DATA
          - UNPROCESSED_DATA
        searchMethod:
          type: string
          enum:
          - SEARCH_METHOD_UNSPECIFIED
          - ACCOUNT
          - ORG_UNIT
          - TEAM_DRIVE
          - ENTIRE_ORG
          - ROOM
          - SITES_URL
          - SHARED_DRIVE
        terms:
          type: string
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
        timeZone:
          type: string
  securitySchemes:
    googleOAuth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/ediscovery: Manage all Vault data
            https://www.googleapis.com/auth/ediscovery.readonly: Read-only Vault data