!pip install vlmrun
from vlmrun.client import VLMRun
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.hub.list_domains()
import { VlmRun } from "vlmrun";
const client = new VlmRun({ apiKey: "<VLMRUN_API_KEY>" });
const response = await client.hub.listDomains();
console.log(response);
[
{
"domain": "<string>"
}
]Models / Hub
List domains
Get the list of supported domains.
GET
/
v1
/
hub
/
domains
!pip install vlmrun
from vlmrun.client import VLMRun
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.hub.list_domains()
import { VlmRun } from "vlmrun";
const client = new VlmRun({ apiKey: "<VLMRUN_API_KEY>" });
const response = await client.hub.listDomains();
console.log(response);
[
{
"domain": "<string>"
}
]!pip install vlmrun
from vlmrun.client import VLMRun
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.hub.list_domains()
import { VlmRun } from "vlmrun";
const client = new VlmRun({ apiKey: "<VLMRUN_API_KEY>" });
const response = await client.hub.listDomains();
console.log(response);
Description
This endpoint returns the list of supported domains / schemas in the VLM Run Hub.Response
200 - application/json
Successful Response
The domain to get the info for.