Retrieve the list of available models by type. Primarily used to query text-embedding and rerank models for knowledge base configuration.
API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
Type of model to retrieve. For knowledge base configuration, use text-embedding for embedding models or rerank for reranking models.
text-embedding, rerank, llm, tts, speech2text, moderation Available models for the specified type.
List of model providers with their available models.