Files
ss-tools/docs/openapi/litellm/chunks_paths/paths_gemini.json
busya 30ba70933d feat(llm): mask API keys in UI responses and prevent masked-key leakage in fetch/test/save payloads
- Add mask_api_key() and is_masked_or_placeholder() to llm_provider service
- Return masked keys in all provider CRUD endpoints
- Reject masked/placeholder keys in fetch_models and test_provider_config
- Show masked key with Change button in ProviderConfig.svelte edit form
- Exclude masked keys from fetch-models, test, and submit payloads on frontend
- Update semantics-core skill with clarified complexity tier rules
- Switch agent modes from subagent to all
2026-05-15 23:34:09 +03:00

204 lines
5.0 KiB
JSON

{
"/gemini/{endpoint}": {
"patch": {
"tags": [
"Google AI Studio Pass-through",
"pass-through"
],
"summary": "Gemini Proxy Route",
"description": "[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)",
"operationId": "gemini_proxy_route_gemini__endpoint__patch",
"parameters": [
{
"name": "endpoint",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Endpoint"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"put": {
"tags": [
"Google AI Studio Pass-through",
"pass-through"
],
"summary": "Gemini Proxy Route",
"description": "[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)",
"operationId": "gemini_proxy_route_gemini__endpoint__patch",
"parameters": [
{
"name": "endpoint",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Endpoint"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"post": {
"tags": [
"Google AI Studio Pass-through",
"pass-through"
],
"summary": "Gemini Proxy Route",
"description": "[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)",
"operationId": "gemini_proxy_route_gemini__endpoint__patch",
"parameters": [
{
"name": "endpoint",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Endpoint"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"get": {
"tags": [
"Google AI Studio Pass-through",
"pass-through"
],
"summary": "Gemini Proxy Route",
"description": "[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)",
"operationId": "gemini_proxy_route_gemini__endpoint__patch",
"parameters": [
{
"name": "endpoint",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Endpoint"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
},
"delete": {
"tags": [
"Google AI Studio Pass-through",
"pass-through"
],
"summary": "Gemini Proxy Route",
"description": "[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)",
"operationId": "gemini_proxy_route_gemini__endpoint__patch",
"parameters": [
{
"name": "endpoint",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Endpoint"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
}
}