openintegration200+ connectors

List drives in OneDrive

File Storage API · read · 89% field coverage

Your agent can list drives in OneDrive through Apideck's File Storage API, the same call it makes for every File Storage app. It only reads, so it runs straight away; what OneDrive returns is screened before the agent sees it. Apideck adds the customer's OneDrive credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

GET https://unify.apideck.com/file-storage/drives

Headers: x-apideck-service-id: onedrive, plus your app id and the customer's consumer id. Apideck MCP tool: file-storage-drives-all. Agent operation id: unified.file-storage.drivesAll.

ParameterInDescription
cursorqueryCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitqueryNumber of results to return. Minimum 1, Maximum 200, Default 20
filter[group_id]queryID of the drive group to filter on

More for drives in OneDrive

get_drive

List drives in other File Storage apps

The same call works for each of these; only the service id changes.

Google DriveSharePoint