Gemini Resources
Create Gemini file metadata
Creates a Gemini file resource from JSON metadata. Upload file bytes through /upload/v1beta/files. Resources can only be read, referenced, changed, or deleted in their owning Workspace. Missing, expired, or inaccessible resources return a Gemini-format error.
post/v1beta/files
Request
- Base URL: https://api.tokenlab.sh
- URL: https://api.tokenlab.sh/v1beta/files
- Auth: one of:
- HTTP bearer
- API key in header x-goog-api-key
Query parameters
keystring
API key alternative to Bearer or x-goog-api-key.
Headers
Idempotency-Keystring
Reuse the same key and request body when recovering a create response. A different body with the same key returns a conflict.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.