New Gemini APIs for agent credentials and file transfers
A user says the Credentials API keeps secrets out of model context by using placeholders, with real tokens inserted only for approved domains. They also describe a Files API for uploads, downloads and file inspection.
TLDR
A user describes two new Gemini APIs for agent environments. The Credentials API reportedly supports bearer tokens, environment variables and OAuth2 with automatic refresh and token rotation. The user says agents see placeholders rather than secrets, while an outgoing-request proxy inserts real tokens only for approved domains and rejects attempts to send them elsewhere with a 403 error. The same user describes a Files API for seeding files, uploading data mid-conversation, inspecting generated files and directory sizes, and downloading outputs or repositories. They also say sandboxes persist across conversation turns through an environment_id.
Combined views
9.6K
2 Sources, first seen 11h ago
New Gemini APIs for agent credentials and file transfers
A user says the Credentials API keeps secrets out of model context by using placeholders, with real tokens inserted only for approved domains. They also describe a Files API for uploads, downloads and file inspection.

