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

# Enhance a schema

`POST /v1/extractions/schema/enhance`

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.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/e5ddc69af941/schema)
