gemini_agents

Get Gemini Agent

Get a specific custom agent by name.

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?litellm_params_template=%7B%22api_key%22%3A%22AIza...%22%7D" \
    -H "Authorization: Bearer sk-..."
get/v1beta/agents/{name}

Path parameters

namestring required

Response

Successful Response

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

Changes

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