---
title: "Get MLC request"
method: GET
path: "/mlc/{request_id}"
tags: ["Multi-Level Classification (MLC)"]
---

# Get MLC request

`GET /mlc/{request_id}`

## Request

- Base URL: `https://us.app.zuva.ai/api/v2`
- URL: `https://us.app.zuva.ai/api/v2/mlc/{request_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/zuva/apis/zuva-docai/docs/mlc/:request_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the status of a multi-level classification request and,
if the status is `complete`, its results.

## Path parameters

- `request_id` string, required

## Response `200`

The status and results of the document classification request.

- MLCStatus
  - `classifications` string[]
  - `is_amendment` boolean
  - `is_master_agreement` boolean
  - `language` MLCLanguage
    - `code` string, required
    - `name` string, required
  - `error` HttpErrorDetails
    - `code` string, required: A unique string identifying the error.
    - `message` string, required: An error message providing more details and potential steps to resolve.
  - `file_id` string, required
  - `request_id` string, required
  - `status` 'queued' | 'processing' | 'complete' | 'failed', required

## Other responses

- `400`: Invalid request ID
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Request not found.
- `500`: Internal Server Error

## Changes

- **2023-12-13** `51f2a4c5de2e`: 5 info
  - api tag `Multi-Level Classification (MLC)` added
  - api tag `Multi-level Classification` removed
  - added the optional property `is_amendment` to the response with the `200` status
  - added the optional property `is_master_agreement` to the response with the `200` status
  - …1 more
- **2022-12-13** `7cace20deba7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuva/apis/zuva-docai/changes/mlc/:request_id/get.md)

---

[API](https://skmtc.dev/zuva/apis/zuva-docai.md) - [All operations](https://skmtc.dev/zuva/apis/zuva-docai/llms.txt) - [OpenAPI document](https://skmtc.dev/zuva/apis/zuva-docai/revisions/7397ad071d55?raw)
