> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Item By ID

Retrieves the metadata for a Drive Item (Drive, Group, Site or User) by the item's ID.

<Note>
  External Documentation

  To learn more, visit the [OneDrive documentation](https://learn.microsoft.com/en-us/graph/api/drive-get?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                               |
  | ------------------ | ----------------------------------------------------------------------------------------- |
  | Item ID            | ID of the item to get. Leave as 'root' to get information about the parent entity itself. |
  | Parent Entity ID   | User, group or site ID depending on the chosen Entity Type.                               |
  | Parent Entity Type | The type of target root drive item.                                                       |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('48d31887-5fad-4d73-a9f5-3c356e68a038')/drive/items/$entity",
	"createdDateTime": "2017-07-27T02:41:36Z",
	"id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ",
	"lastModifiedDateTime": "2022-12-13T02:29:55Z",
	"name": "root",
	"webUrl": "https://m365x214355-my.sharepoint.com/personal/meganb_m365x214355_onmicrosoft_com/Documents",
	"size": 106329756,
	"parentReference": {
		"driveType": "business",
		"driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd"
	},
	"fileSystemInfo": {
		"createdDateTime": "2017-07-27T02:41:36Z",
		"lastModifiedDateTime": "2022-12-13T02:29:55Z"
	},
	"folder": {
		"childCount": 38
	},
	"root": {}
}
```

## Workflow Library Example

[Get Item by Id with Onedrive and Send Results Via Email](https://library.blinkops.com/workflows/get-item-by-id-with-onedrive-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-item-by-id-with-onedrive-and-send-results-via-email/canvas" />
</div>
