Skip to main content

FetchModelsRequestBody

$schemauri

A URL to the JSON Schema for this object.

Example: https://example.com/schemas/FetchModelsRequestBody.json
apiKeystring

API key (required for cloud providers)

baseUrlstring

Provider base URL (required for Ollama and OpenAI-compatible)

modelTypestring

Filter by model type: embedding or llm

Possible values: [embedding, llm, ``]

providerstringrequired

Provider

Possible values: [ollama, openai, anthropic, gemini]

FetchModelsRequestBody
{
"$schema": "https://example.com/schemas/FetchModelsRequestBody.json",
"apiKey": "string",
"baseUrl": "string",
"modelType": "embedding",
"provider": "ollama"
}