googleapis.com

Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.

🔑 oauth2 48 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets information about the user, the user's Drive, and system capabilities.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/drive/v3/about
Lists or searches files.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/drive/v3/files
Lists the user's shared drives.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/drive/v3/drives
Endpoints (48 total)
GET
/about
Gets information about the user, the user's Drive, and system capabilities.
GET
/files
Lists or searches files.
GET
/drives
Lists the user's shared drives.
GET
/changes
Lists the changes for a user or shared drive.
GET
/teamdrives
Deprecated use drives.list instead.
GET
/files/{fileId}
Gets a file's metadata or content by ID.
GET
/drives/{driveId}
Gets a shared drive's metadata by ID.
GET
/files/generateIds
Generates a set of file IDs which can be provided in create or copy requests.
GET
/files/{fileId}/export
Exports a Google Workspace document to the requested MIME type and returns ex…
GET
/changes/startPageToken
Gets the starting pageToken for listing future changes.
GET
/files/{fileId}/comments
Lists a file's comments.
GET
/files/{fileId}/revisions
Lists a file's revisions.
At a glance
Total SDKs10
Languages6
Endpoints48
Authoauth2
Categories2
https://www.googleapis.com/drive/v3