cURL
curl --request POST \ --url https://api.vlm.run/v1/hub/schema \ --header 'Content-Type: application/json' \ --data '{ "config": { "prompt": "<string>", "detail": "auto", "json_schema": {}, "gql_stmt": "<string>", "max_retries": 3, "max_tokens": 65536, "temperature": 0, "confidence": false, "grounding": false, "keyframes": false }, "domain": "<string>" }'
{ "domain": "<string>", "description": "<string>", "schema_version": "<string>", "schema_hash": "<string>", "gql_stmt": "<string>", "json_schema": {} }
Get the JSON schema for a given domain (document.invoice, document.receipt, etc).
Request model for the hub schema: /v1/hub/schema
Successful Response
Response model for the hub schema: /v1/hub/schema