Team Drives-related fields in the Vault API are being replaced. Learn more.

G Suite Vault API

Archiving and eDiscovery for G Suite.

Service: vault.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://vault.googleapis.com

REST Resource: v1.matters

Methods
addPermissions POST /v1/matters/{matterId}:addPermissions
Adds an account as a matter collaborator.
close POST /v1/matters/{matterId}:close
Closes the specified matter.
create POST /v1/matters
Creates a new matter with the given name and description.
delete DELETE /v1/matters/{matterId}
Deletes the specified matter.
get GET /v1/matters/{matterId}
Gets the specified matter.
list GET /v1/matters
Lists matters the user has access to.
removePermissions POST /v1/matters/{matterId}:removePermissions
Removes an account as a matter collaborator.
reopen POST /v1/matters/{matterId}:reopen
Reopens the specified matter.
undelete POST /v1/matters/{matterId}:undelete
Undeletes the specified matter.
update PUT /v1/matters/{matterId}
Updates the specified matter.

REST Resource: v1.matters.exports

Methods
create POST /v1/matters/{matterId}/exports
Creates an Export.
delete DELETE /v1/matters/{matterId}/exports/{exportId}
Deletes an Export.
get GET /v1/matters/{matterId}/exports/{exportId}
Gets an Export.
list GET /v1/matters/{matterId}/exports
Lists Exports.

REST Resource: v1.matters.holds

Methods
addHeldAccounts POST /v1/matters/{matterId}/holds/{holdId}:addHeldAccounts
Adds HeldAccounts to a hold.
create POST /v1/matters/{matterId}/holds
Creates a hold in the given matter.
delete DELETE /v1/matters/{matterId}/holds/{holdId}
Removes a hold by ID.
get GET /v1/matters/{matterId}/holds/{holdId}
Gets a hold by ID.
list GET /v1/matters/{matterId}/holds
Lists holds within a matter.
removeHeldAccounts POST /v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts
Removes HeldAccounts from a hold.
update PUT /v1/matters/{matterId}/holds/{holdId}
Updates the OU and/or query parameters of a hold.

REST Resource: v1.matters.holds.accounts

Methods
create POST /v1/matters/{matterId}/holds/{holdId}/accounts
Adds a HeldAccount to a hold.
delete DELETE /v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}
Removes a HeldAccount from a hold.
list GET /v1/matters/{matterId}/holds/{holdId}/accounts
Lists HeldAccounts for a hold.

REST Resource: v1.matters.savedQueries

Methods
create POST /v1/matters/{matterId}/savedQueries
Creates a saved query.
delete DELETE /v1/matters/{matterId}/savedQueries/{savedQueryId}
Deletes a saved query by Id.
get GET /v1/matters/{matterId}/savedQueries/{savedQueryId}
Retrieves a saved query by Id.
list GET /v1/matters/{matterId}/savedQueries
Lists saved queries within a matter.