Gemini

Batch embed contents (Gemini-compatible)

Creates multiple embeddings using the native Gemini BatchEmbedContents contract.

post/v1beta/models/{model}:batchEmbedContents

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1beta/models/{model}:batchEmbedContents
  • Auth: HTTP bearer

Path parameters

modelstring required

Query parameters

keystring

Headers

X-TokenLab-Delivery-Policy'auto' | 'verified' | 'official'

Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, request acceptance, or persistent resource creation.

Request body

requestsobject[] required

Response

Gemini-native batch embedding response

object required

Changes

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