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

Request body multipart/form-data

filestring binary required

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.