gemini_agents

List Gemini Agent Versions

List versions of a custom agent.

Pass per-request Gemini credentials via the JSON-encoded litellm_params_template query parameter. Flat query parameters (e.g. ?api_key=AIza...) are intentionally ignored — see _merge_query_params_into_data for the rationale.

curl "http://localhost:4000/v1beta/agents/my-custom-slides-agent/versions?litellm_params_template=%7B%22api_key%22%3A%22AIza...%22%7D" \
    -H "Authorization: Bearer sk-..."
get/v1beta/agents/{name}/versions

Path parameters

namestring required

Response

Successful Response

{"stackTrail":"paths:/v1beta/agents/{name}/versions:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 2 of the 42 revisions of this API.3