Google Gemini Tuned Models API

The TunedModels API from Google Gemini — 12 operation(s) for tunedmodels.

GitHub OpenAPI

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1beta/tunedModels/{tunedModelsId}:transferOwnership Transfer ownership of a tuned model · Transfer ownership tunedModels #
Ask an LLM
“How do I hand over a tuned model to someone else?”
“What happens to the current owner's access when I transfer a tuned model?”
Tell an agent
Transfer tuned model {tunedModelsId} to {emailAddress}.
Hand ownership of tuned model {tunedModelsId} to {emailAddress}.
POST /v1beta/tunedModels/{tunedModelsId}:batchGenerateContent Batch generate content with a tuned model · Batch generate content tunedModels #
Ask an LLM
“Can I send many prompts to a tuned model in one request?”
“Is there a batch way to generate content from a tuned model?”
Tell an agent
Batch generate content with tuned model {tunedModelsId} using {batch}.
Queue a batch of prompts for tuned model {tunedModelsId} with {batch}.
POST /v1beta/tunedModels/{tunedModelsId}:generateContent Generate content with a tuned model · Generate content tunedModels #
Ask an LLM
“How do I send a prompt to a tuned Gemini model and get a response?”
“Which tuned model ID do I call for a specific tuned model?”
Tell an agent
Send {contents} to tuned model {tunedModel}.
Generate content with tuned model {tunedModel} as {model}, cached context {cachedContent}, labels {labels}.
DELETE /v1beta/tunedModels/{tunedModelsId} Delete a tuned model · Delete tunedModels #
Ask an LLM
“How do I delete a tuned model I no longer need?”
“Can I permanently remove a tuned model?”
Tell an agent destructive · confirm first
Delete tuned model {tunedModelsId}.
Permanently remove tuned model {tunedModelsId}.
GET /v1beta/tunedModels/{tunedModelsId} Get a tuned model · Get tunedModels #
Ask an LLM
“What are the details of a tuned model?”
“Can I look up a tuned model by its ID?”
Tell an agent
Get tuned model {tunedModelsId}.
Show the details of tuned model {tunedModelsId}.
PATCH /v1beta/tunedModels/{tunedModelsId} Update a tuned model · Patch tunedModels #
Ask an LLM
“Can I change the description or display name of a tuned model?”
“How do I update the settings of an existing tuned model?”
Tell an agent
Update tuned model {tunedModelsId} with description {description}.
Rename tuned model {tunedModelsId} to {displayName}.
POST /v1beta/tunedModels/{tunedModelsId}:asyncBatchEmbedContent Batch embed content with a tuned model · Async batch embed content tunedModels #
Ask an LLM
“Can I embed many texts into vectors with a tuned model in one request?”
“Is there an asynchronous batch embedding for tuned models?”
Tell an agent
Batch embed content with tuned model {tunedModelsId} using {batch}.
Queue a batch of embeddings for tuned model {tunedModelsId} with {batch}.
POST /v1beta/tunedModels/{tunedModelsId}:streamGenerateContent Stream a tuned model's response · Stream generate content tunedModels #
Ask an LLM
“Can I stream a tuned model's response token by token?”
“How do I get a live stream of a tuned model's output?”
Tell an agent
Stream a tuned model response to {contents} from {tunedModelsId}.
Stream tuned model {tunedModelsId} output for {contents}.
POST /v1beta/tunedModels Create a tuned model · Create tunedModels #
Ask an LLM
“How do I create a tuned model from a base model?”
“Can I set a display name and description when creating a tuned model?”
Tell an agent
Create a tuned model from {baseModel}.
Create tuned model {displayName} from {baseModel} with description {description}.
GET /v1beta/tunedModels List tuned models · List tunedModels #
Ask an LLM
“Which tuned models have I created?”
“Can I filter my tuned models by name or description?”
Tell an agent
List my tuned models.
List tuned models matching {filter}.
POST /v1beta/tunedModels/{tunedModelsId}:generateText Generate text from a tuned model · Generate text tunedModels #
Ask an LLM
“Can I generate plain text from a tuned model with a prompt?”
“How do I cap the number of tokens a tuned model outputs?”
Tell an agent
Generate text from tuned model {tunedModelsId} for prompt {prompt}.
Generate up to {maxOutputTokens} tokens from tuned model {tunedModelsId} for {prompt}.
GET /v1beta/tunedModels/{tunedModelsId}/operations/{operationsId} Get a tuned model's long-running operation · Get operations #
Ask an LLM
“How do I check the status of a long-running tuning operation on a tuned model?”
“Where do I find the result of a tuning operation on a tuned model?”
Tell an agent
Get operation {operationsId} on tuned model {tunedModelsId}.
Check the status of tuning operation {operationsId} for tuned model {tunedModelsId}.
GET /v1beta/tunedModels/{tunedModelsId}/operations List long-running operations on a tuned model · List operations #
Ask an LLM
“What long-running operations are in progress on my tuned model?”
“Can I filter the operations on a tuned model?”
Tell an agent
List operations on tuned model {tunedModelsId}.
List operations on tuned model {tunedModelsId} matching {filter}.
PATCH /v1beta/tunedModels/{tunedModelsId}/permissions/{permissionsId} Update a tuned model permission · Patch permissions #
Ask an LLM
“Can I change the role granted by a permission on a tuned model?”
“How do I edit an existing permission on a tuned model?”
Tell an agent
Update permission {permissionsId} on tuned model {tunedModelsId} to role {role}.
Change the role of permission {permissionsId} on tuned model {tunedModelsId} to {role}.
DELETE /v1beta/tunedModels/{tunedModelsId}/permissions/{permissionsId} Revoke a tuned model permission · Delete permissions #
Ask an LLM
“How do I remove someone's access to a tuned model?”
“Can I delete a permission on a tuned model?”
Tell an agent destructive · confirm first
Delete permission {permissionsId} on tuned model {tunedModelsId}.
Revoke access permission {permissionsId} from tuned model {tunedModelsId}.
GET /v1beta/tunedModels/{tunedModelsId}/permissions/{permissionsId} Get a tuned model permission · Get permissions #
Ask an LLM
“What role does a specific permission grant on a tuned model?”
“Can I look up one permission on a tuned model?”
Tell an agent
Get permission {permissionsId} on tuned model {tunedModelsId}.
Show the role of permission {permissionsId} on tuned model {tunedModelsId}.
GET /v1beta/tunedModels/{tunedModelsId}/permissions List permissions on a tuned model · List permissions #
Ask an LLM
“Who has access to my tuned model?”
“Can I see every permission on a tuned model?”
Tell an agent
List permissions on tuned model {tunedModelsId}.
Show who has access to tuned model {tunedModelsId}.
POST /v1beta/tunedModels/{tunedModelsId}/permissions Grant a permission on a tuned model · Create permissions #
Ask an LLM
“How do I give someone access to a tuned model?”
“Can I grant a specific role on a tuned model to an email address?”
Tell an agent
Grant {role} permission on tuned model {tunedModelsId} to {emailAddress}.
Add a {role} permission for {emailAddress} on tuned model {tunedModelsId}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-gemini:google-gemini-tunedmodels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-gemini-tunedmodels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gemini Tuned Models API
  version: v1beta
  description: Generated from Google's published Discovery document for Gemini API (generativelanguage v1beta, revision 20261111). 18 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://generativelanguage.googleapis.com
tags:


# --- truncated at 32 KB (159 KB total) ---
# Full source: https://artifacts.apis.io/google-gemini/openapi/google-gemini-tunedmodels-api-openapi.yml