---
title: "ADE Classify"
method: POST
path: "/v1/ade/classify"
tags: ["Tools"]
---

# ADE Classify

`POST /v1/ade/classify`

Classify the pages of a document into classes you define.

This endpoint accepts PDFs, images, and other supported file types
(either as a `document` upload or `document_url`) together with a
list of `classes`, and returns a classification result for each page.

For EU users, use this endpoint:

`https://api.va.eu-west-1.landing.ai/v1/ade/classify`.

## Response `200`

Successful Response

- ClassifyResponse — Response model for the classify endpoint.
  - `classification` ClassificationItem[], required
    - `class` string, required — Predicted class label or 'unknown'.
    - `reason` string — Reason for the classification (for debugging).
    - `suggested_class` string, nullable — Proposed class when the prediction is 'unknown'.
    - `page` integer, required — Page number (0-based).
  - `metadata` ClassifyMetadata, required — Metadata for the classify response.
    - `filename` string, required
    - `org_id` string, nullable
    - `page_count` integer, required
    - `duration_ms` integer, required
    - `credit_usage` number, required
    - `job_id` string
    - `version` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/landing-ai/apis/landingai-agentic-document-extraction-ade-api-v2-parse-and-e.md) · [All operations](https://skmtc.net/landing-ai/apis/landingai-agentic-document-extraction-ade-api-v2-parse-and-e/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/landing-ai/landingai-agentic-document-extraction-ade-api-v2-parse-and-e/versions/b07477df91eb/schema)
