---
title: "Invoke action preview"
method: POST
path: "/drives/{driveId}/root/microsoft.graph.preview"
tags: ["drives.driveItem"]
---

# Invoke action preview

`POST /drives/{driveId}/root/microsoft.graph.preview`

## Path parameters

- `driveId` string, required

## Request body

- DriveItemIdMicrosoftGraphPreviewBody
  - `page` string, nullable
  - `zoom` number, double, nullable

## Response `2XX`

Success

- ItemPreviewInfo
  - `getUrl` string, nullable
  - `postParameters` string, nullable
  - `postUrl` string, nullable

## Other responses

- `default` — error

---

[API](https://skmtc.net/ballerina-platform/apis/files.md) · [All operations](https://skmtc.net/ballerina-platform/apis/files/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ballerina-platform/files/versions/c34150e97737/schema)
