GeminiModels

API Endpoint call for Gemini backend server, GET Models URI

Table 1. Supported parameters
Parameter Required Data type Details
apiKeySecret Yes string The name of a Kubernetes Secret which holds the Gemini API Key. The Secret must contain data literal "geminiApiKey" whose value is the API Key to use for authentication.
inputMessage No string or null The name of a message that will be used to form the request. Defaults to "request"
outputMessage No string or null The name of a message that will be used to store the response data from the request. Defaults to "response"
pageSize No integer or null Optional query param for the maximum number of Models to return (per page)
pageToken No string or null Optional query param to retrieve a specific page of the model lists
tlsClientProfile Yes string The name of the TlsClientProfile resource to use when connecting to AI endpoint