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.
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.
| Parameter | In | Description |
|---|---|---|
| cursor | query | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. |
| limit | query | Number of results to return. Minimum 1, Maximum 200, Default 20 |
| filter[group_id] | query | ID of the drive group to filter on |
More for drives in OneDrive
List drives in other File Storage apps
The same call works for each of these; only the service id changes.