Skip to main content
POST
Preview a OneDrive spreadsheet (xlsx/xls/xlsm/ods/csv/tsv)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body for POST /api/v1/bi/onedrive/preview.

Either item_path or item_id must be provided. When both are set, item_path wins (no Graph round-trip needed). sheet_name accepts either a string (sheet title) or an integer (0-based index) — ignored for .csv / .tsv files.

item_path
string | null
item_id
string | null
drive_id
string | null
sheet_name

Response

Successful Response