# Microsoft OneDrive Drive Items API

**Canonical:** https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drive-items-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 Drive Items API is one of 5 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. Tagged areas include DriveItems. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The Drive Items API from Microsoft OneDrive — 6 operation(s) for drive items.

## Operations (10)

| Method | Path | Summary |
|---|---|---|
| GET | `/drives/{driveId}/root` | Get root driveItem of a drive |
| GET | `/drives/{driveId}/root/children` | List children of root |
| GET | `/drives/{driveId}/items/{itemId}` | Get driveItem by id |
| PATCH | `/drives/{driveId}/items/{itemId}` | Update driveItem |
| DELETE | `/drives/{driveId}/items/{itemId}` | Delete driveItem |
| GET | `/drives/{driveId}/items/{itemId}/children` | List children of driveItem |
| POST | `/drives/{driveId}/items/{itemId}/children` | Create folder in driveItem |
| GET | `/drives/{driveId}/items/{itemId}/content` | Download file content |
| PUT | `/drives/{driveId}/items/{itemId}/content` | Upload file content (small file replace) |
| POST | `/drives/{driveId}/items/{itemId}/copy` | Copy driveItem |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/microsoft-onedrive/refs/heads/main/openapi/microsoft-onedrive-drive-items-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

## Other Microsoft OneDrive APIs (4)

- [OneDrive File Picker](https://apis.io/apis/microsoft-onedrive/file-picker/)
- [Microsoft OneDrive Drives API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-drives-api/)
- [Microsoft OneDrive Sharing API](https://apis.io/apis/microsoft-onedrive/microsoft-onedrive-sharing-api/)
- [OneDrive](https://apis.io/apis/microsoft-onedrive/onedrive/)

## Tags

DriveItems

---

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