OneDrive

graph.microsoft.com

Community

OneDrive is Microsoft's cloud storage service, accessed through the Microsoft Graph API. It lets you upload, download, organize, search, and share files and folders across OneDrive personal, OneDrive for Business, and SharePoint document libraries.

Auth

oauth2

Pricing

free

Spec version

1.0

Base URL

https://graph.microsoft.com

Last verified

2026-03-01 11:55:33

Health

Loading health data...

Capabilities

create_folder

Create a new folder inside an existing folder or at the root of the user's OneDrive.

Detail: https://graph.microsoft.com/capabilities/create_folder

download_file

Download the content of a file from OneDrive by its item ID or path.

Detail: https://graph.microsoft.com/capabilities/download_file

list_children

List all files and subfolders within a folder in OneDrive, returning metadata for each item.

Detail: https://graph.microsoft.com/capabilities/list_children

search_files

Search for files and folders across the user's entire OneDrive by name or content keywords.

Detail: https://graph.microsoft.com/capabilities/search_files

share_item

Create a sharing link for a file or folder to allow others to access it with specified permissions.

Detail: https://graph.microsoft.com/capabilities/share_item

upload_file

Upload a file to OneDrive at a specified path. For files under 4 MB use simple upload; larger files require an upload session.

Detail: https://graph.microsoft.com/capabilities/upload_file

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: OneDrive
Description: OneDrive is Microsoft's cloud storage service, accessed through the Microsoft Graph API. It lets you upload, download, organize, search, and share files and folders across OneDrive personal, OneDrive for Business, and SharePoint document libraries.
Auth: oauth2
Capabilities:
  - create_folder: Create a new folder inside an existing folder or at the root of the user's OneDrive.
  - download_file: Download the content of a file from OneDrive by its item ID or path.
  - list_children: List all files and subfolders within a folder in OneDrive, returning metadata for each item.
  - search_files: Search for files and folders across the user's entire OneDrive by name or content keywords.
  - share_item: Create a sharing link for a file or folder to allow others to access it with specified permissions.
  - upload_file: Upload a file to OneDrive at a specified path. For files under 4 MB use simple upload; larger files require an upload session.