---
title: "Enhance a schema"
method: POST
path: "/v1/extractions/schema/enhance"
tags: ["extractions"]
---

# Enhance a schema

`POST /v1/extractions/schema/enhance`

## Request

- Base URL: `https://api.mixedbread.com`
- URL: `https://api.mixedbread.com/v1/extractions/schema/enhance`
- Auth: HTTP bearer

Enhance a schema by enriching the descriptions to aid extraction.

Args:
    params: The parameters for enhancing a schema.

Returns:
    The enhanced schema.

## Request body

- JsonSchemaEnhanceParams: Parameters for enhancing a JSON schema.
  - `json_schema` object, required: The JSON schema to enhance

## Response `200`

The enhanced schema

- EnhancedJsonSchema: Result of enhancing a JSON schema.
  - `json_schema` object, required: The enhanced JSON schema

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mixedbread/apis/mxbai-omni.md) - [All operations](https://skmtc.dev/mixedbread/apis/mxbai-omni/llms.txt) - [OpenAPI document](https://skmtc.dev/mixedbread/apis/mxbai-omni/revisions/da24b4f7e983?raw)
