v1

latestOpenAPI 3.1.02026-07-26793302.3 KB

Gemini Text API

post/v1beta/models/{model}:{function}

Path parameters

modelstring required

Use this field according to the endpoint schema.

functionstring required

Use this field according to the endpoint schema.

Request body

toolsobject[]

Use this field according to the endpoint schema.

toolConfigobject

Use this field according to the endpoint schema.

cachedContentstring

Use this field according to the endpoint schema.

storeboolean

Use this field according to the endpoint schema.

Response

Use this field according to the endpoint schema.

modelVersionstring

Use this field according to the endpoint schema.

responseIdstring

Use this field according to the endpoint schema.