Skip to main content
POST
/
v1
/
ade
/
split
cURL
curl -X POST 'https://api.va.landing.ai/v1/ade/split' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F '[email protected]' \
  -F 'options=[{"name": "section_type", "description": "Type of document section (e.g., header, paragraph, table)"}]' \
  -F 'model=split-latest'
{
  "splits": [
    {
      "classification": "<string>",
      "identifier": "<string>",
      "pages": [
        123
      ],
      "markdowns": [
        "<string>"
      ]
    }
  ],
  "metadata": {
    "filename": "<string>",
    "page_count": 123,
    "duration_ms": 123,
    "credit_usage": 123,
    "org_id": "<string>",
    "job_id": "",
    "version": "<string>"
  }
}

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 split classification endpoint.

split_class
SplitClass · object[]
required

List of split classification options/configuration. Can be provided as JSON string in form data.

markdown

The Markdown file or Markdown content to split.

markdownUrl
string | null

The URL to the Markdown file to split.

model
string | null
default:split-20251105

Model version to use for split classification. Defaults to the latest version.

Response

Successful Response

Response model for split classification endpoint.

splits
SplitData · object[]
required
metadata
SplitMetadata · object
required

Metadata for split classification response.