---
title: "Analyze Layout"
method: POST
path: "/layout/analyze"
---

# Analyze Layout

`POST /layout/analyze`

Extract text and layout information from a given document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed.

## Request body

- SourcePath — Uri or local path to source data.
  - `source` string — File source path.

## Response `202`

Request is queued successfully.

## Other responses

- `default` — Response entity accompanying non-successful responses containing additional details about the error.

## Changes

- **2019-10-25** `925e0b5fe84f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/form-recognizer-client/changes/layout/analyze/post.md)

---

[API](https://skmtc.dev/azure/apis/form-recognizer-client.md) · [All operations](https://skmtc.dev/azure/apis/form-recognizer-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/form-recognizer-client/revisions/f77e48809807/schema)
