description: Calls the API to fetch a tuned model by name. google.generativeai.get_tuned_model View source on GitHub Calls the API to fetch a tuned model by name. google.generativeai.get_tuned_model( name: model_types.TunedModelNameOptions, *, client=None, request_options: (helper_types.RequestOptionsType | None) = None ) -> model_types.TunedModel import pprint model = genai.get_tuned_model('tunedModels/gemini-1.0-pro-001') pprint.pprint(model) Args `name` The name of the model to fetch. Should start with `tunedModels/` `client` The client to use. `request_options` Options for the request. Returns A types.TunedModel.