GenAI Integration
Upload file (Gemini format)
Uploads a file using Google Gemini API format.
This is a multipart upload with two parts:
- "metadata": JSON object containing file metadata
- "file": Binary file content
Note: Direct file content download is not supported by Gemini Files API. Use the file.uri field from the response to access uploaded files.
post/genai/upload/v1beta/files
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.