Tools

ADE Build Extract Schema

Changed on

Generate a JSON schema from Markdown using AI.

This endpoint analyzes Markdown content and generates a JSON schema suitable for use with the extract endpoint. It can also refine an existing schema based on new documents or iterate on a schema based on prompt instructions.

For EU users, use this endpoint:

`https://api.va.eu-west-1.landing.ai/v1/ade/extract/build-schema`.
post/v1/ade/extract/build-schema

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body multipart/form-data

modelstring nullable

The version of the model to use for schema generation. Use extract-latest to use the latest version.

markdown_urlsstring[] nullable

URLs to Markdown files to analyze for schema generation.

promptstring nullable

Instructions for how to generate or modify the schema.

schemastring nullable

Existing JSON schema to iterate on or refine.

Response

Successful Response

extraction_schemastring required

The generated JSON schema as a string.

Changes