46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
# Google GenAI (Gemini) - Models Endpoints
|
|
|
|
models:
|
|
get:
|
|
operationId: geminiListModels
|
|
summary: List models (Gemini format)
|
|
description: |
|
|
Lists available models in Google Gemini API format.
|
|
tags:
|
|
- GenAI Integration
|
|
parameters:
|
|
- name: pageSize
|
|
in: query
|
|
schema:
|
|
type: integer
|
|
description: Maximum number of models to return
|
|
- name: pageToken
|
|
in: query
|
|
schema:
|
|
type: string
|
|
description: Page token for pagination
|
|
responses:
|
|
'200':
|
|
description: Successful response
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../../../schemas/integrations/genai/common.yaml#/GeminiListModelsResponse'
|
|
'400':
|
|
description: Bad request
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../../../schemas/integrations/genai/common.yaml#/GeminiError'
|
|
'500':
|
|
description: Internal server error
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../../../schemas/integrations/genai/common.yaml#/GeminiError'
|
|
security:
|
|
- BearerAuth: []
|
|
- BasicAuth: []
|
|
- VirtualKeyAuth: []
|
|
- ApiKeyAuth: []
|