Gets the list of supported models for the given vendor

Request

GET https://{hostname}:{port}
    /cli/llm/models?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
vendor string true The name of the LLM Vendor. Options for this are returned by the getVendors endpoint.
endpoint string true The base URI pointing to the LLM provider API.
apiKey string true The API Key provided by the LLM Vendor
project string false The project id if exists.
organization string false The organization if exists.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: getModels.