POST
/
v1
/
hub
/
schema

Description

This endpoint returns the JSON schema for a given domain, as defined in the VLM Run Hub.

Body

application/json
domain
string
required

The domain to get the schema for (e.g. document.invoice).

query
string | null

The GraphQL query to get the schema for.

Response

200 - application/json
schema_hash
string
required

The first 8 characters of the sha256 hash of the schema.

schema_json
object
required

The JSON schema for the domain.

schema_version
string
required

The specific version of the schema.