POST
/
v1
/
hub
/
schema
curl --request POST \
  --url https://api.vlm.run/v1/hub/schema \
  --header 'Content-Type: application/json' \
  --data '{
  "config": {
    "prompt": "<string>",
    "detail": "auto",
    "response_model": "<any>",
    "json_schema": {},
    "gql_stmt": "<string>",
    "max_retries": 3,
    "max_tokens": 4096,
    "temperature": 0,
    "confidence": false,
    "grounding": false
  },
  "domain": "<string>"
}'
{
  "domain": "<string>",
  "description": "<string>",
  "schema_version": "<string>",
  "schema_hash": "<string>",
  "gql_stmt": "<string>",
  "json_schema": {}
}

Description

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

Body

application/json

Request model for the hub schema: /v1/hub/schema

Response

200
application/json
Successful Response

Response model for the hub schema: /v1/hub/schema