API429 / API reference

Files API on API429

The Files API on API429: uploading large video and PDF inputs, resumable uploads, listing, metadata and deleting files for Gemini requests.

Reference version 3.31.0 · revised · the same text in the client portal

Native Gemini Files API, proxied 1:1. Useful for uploading large inputs (video, long PDFs) that will be referenced from generateContent calls.

Method Path Description
POST /upload/v1beta/files Initialise a resumable upload
GET/POST/PUT /upload/{upload_path} Continue a resumable upload
GET /v1beta/files List files
GET /v1beta/files/{file_id} Get file metadata
DELETE /v1beta/files/{file_id} Delete a file

The same routes are exposed under /gemini/upload/v1beta/files and /gemini/v1beta/files[/…]. Auth is x-goog-api-key: <token> or ?key=<token>.

Quickstart: the first request · Models and prices · Get an API key

Telegram