Actions16
- Content Actions
- Cached Content Actions
- Embedding Actions
- File Actions
- Model Actions
- Token Actions
Model → List
AI-generatedSummary
Retrieve a list of Gemini AI Studio models with optional pagination parameters.
Inputs
- Page Size — Number of models to return per page (minimum 1, default is 50).
- Page Token — Token for the page of results to retrieve, used for pagination.
- Return Models as Separate Items — Boolean to determine if each model should be returned as a separate item (default true).
Output shape
a list of model objects if 'Return Models as Separate Items' is true; otherwise, a single JSON object containing the list of models and pagination tokens.
Supports pagination via 'Page Size' and 'Page Token' options. If enabled, each model is returned as a separate item for easier processing in workflows.
Examples
Example 1: Listing the first 50 Gemini models with each model returned as a separate item.
Set 'Page Size' to 50 and 'Return Models as Separate Items' to true (default). No 'Page Token' specified.