# Microsoft OneDrive Sites.drive API

**Canonical:** https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-sites-drive-api/  
**Provider:** Microsoft OneDrive — https://apis.io/providers/microsoft-onedrive/  
**Base URL:** https://graph.microsoft.com/v1.0  
**Documentation:** https://learn.microsoft.com/en-us/onedrive/developer/controls/file-pickers/

Microsoft OneDrive Sites.drive API is one of 13 APIs that [Microsoft OneDrive](https://apis.io/providers/microsoft-onedrive/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 1 JSON Schema.

The sites.drive API from Microsoft OneDrive — 4 operation(s) for sites.drive.

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| GET | `/sites/{site-id}/drives` | Get drives from sites |
| GET | `/sites/{site-id}/drives/{drive-id}` | Get drives from sites |
| GET | `/sites/{site-id}/drives/$count` | Get the number of the resource |
| GET | `/sites/{site-id}/getByPath(path='{path}')/drives` | Get drives from sites |

## Machine-readable artifacts (4)

- **OpenAPI** — https://artifacts.apis.io/microsoft-onedrive/openapi/microsoft-onedrive-sites-drive-api-openapi.yml
- **Documentation** — https://learn.microsoft.com/en-us/onedrive/developer/rest-api/
- **Reference** — https://learn.microsoft.com/en-us/graph/api/resources/onedrive
- **JSONSchema** — https://artifacts.apis.io/microsoft-onedrive/json-schema/microsoft-onedrive-microsoft-graph-drive-schema.json

## Other Microsoft OneDrive APIs (12)

- [OneDrive File Picker](https://apis.io/apis/microsoft-onedrive/file-picker/)
- [OneDrive](https://apis.io/apis/microsoft-onedrive/onedrive/)
- [Microsoft OneDrive Drives.drive.Actions API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-drive-actions-api/)
- [Microsoft OneDrive Drives.drive API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-drive-api/)
- [Microsoft OneDrive Drives.drive.Functions API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-drive-functions-api/)
- [Microsoft OneDrive Drives.drive Item API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-driveitem-api/)
- [Microsoft OneDrive Drives.list API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-list-api/)
- [Microsoft OneDrive Drives.user API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-user-api/)
- [Microsoft OneDrive Groups.drive API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-groups-drive-api/)
- [Microsoft OneDrive Groups.site API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-groups-site-api/)
- [Microsoft OneDrive Me.drive API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-me-drive-api/)
- [Microsoft OneDrive Users.drive API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-users-drive-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-sites-drive-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/microsoft-onedrive/.
