---
title: "Get content for the navigation property items from drives"
method: GET
path: "/drives/{driveId}/items/{driveItemId}/content"
tags: ["drives.driveItem"]
---

# Get content for the navigation property items from drives

`GET /drives/{driveId}/items/{driveItemId}/content`

## Request

- Base URL: `https://graph.microsoft.com/v1.0`
- URL: `https://graph.microsoft.com/v1.0/drives/{driveId}/items/{driveItemId}/content`
- Auth: OAuth 2
  - Authorization code: `https://login.microsoftonline.com/common/oauth2/v2.0/authorize`
  - Token URL: `https://login.microsoftonline.com/common/oauth2/v2.0/token`
- TypeScript: <https://skmtc.dev/ballerina-platform/apis/files/docs/drives/:driveId/items/:driveItemId/content/get.ts> (a function with typed inputs; its response is checked against the schema)

The content stream, if the item represents a file.

## Path parameters

- `driveId` string, required
- `driveItemId` string, required

## Query parameters

- `$format` string

## Response `2XX`

Retrieved media content

## Other responses

- `default`: error

---

[API](https://skmtc.dev/ballerina-platform/apis/files.md) - [All operations](https://skmtc.dev/ballerina-platform/apis/files/llms.txt) - [OpenAPI document](https://skmtc.dev/ballerina-platform/apis/files/revisions/c34150e97737?raw)
