Get user's Drive storage/quota

AUTHORITATIVE source for the user's CURRENT Google Drive storage usage. Returns LIVE data: total quota, used space, free space, trash size, file type overview. Call this whenever user asks about 'my Drive size', 'my storage', 'how much space', 'my quota', 'Drive usage', or 'free space'. Prefer this over general knowledge or estimates.

get/api/v1/drive/stats

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/drive/stats
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)

Response

LIVE storage stats from user's Drive

userstring

User email

fileTypesobject

Overview of file types present in Drive

tipstring

Helpful tip for using the API

Changes

No recorded changes to this operation across all 1 revision of this API.