Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Your unique API key for authentication.

Get your API key here: https://va.landing.ai/settings/api-key.

If using the EU endpoint, get your API key here: https://va.eu-west-1.landing.ai/settings/api-key.

Body

multipart/form-data

Request model for section endpoint.

markdown

Parsed markdown with reference anchors ( [blocked]). This is the markdown field from a parse response.

markdown_url
string | null

URL to fetch the markdown from.

guidelines
string | null

Natural-language instructions to control hierarchy. Examples: 'Group by topic', 'Treat each numbered section as a top-level entry'.

model
string | null

Section model version. Defaults to latest.

Response

Successful Response

Response model for section endpoint.

table_of_contents
SectionTOCEntry · object[]
required
table_of_contents_md
string
required
metadata
SectionMetadata · object
required

Public metadata for section response.