---
title: "Inspect an Excel workbook"
method: POST
path: "/api/excel/inspect"
tags: ["Excel"]
---

# Inspect an Excel workbook

`POST /api/excel/inspect`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/excel/inspect`
- Auth: API key in header `X-API-Key`

Analyze an Excel file and return metadata: sheet names, row/column counts, named ranges.

## Request body

- object

## Response `200`

Workbook metadata

## Other responses

- `400`: Invalid input

---

[API](https://skmtc.dev/dokmatiq/apis/docgen-api.md) · [All operations](https://skmtc.dev/dokmatiq/apis/docgen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dokmatiq/apis/docgen-api/revisions/3fa1a922764d?raw)
