Headers
string
Your MemoryLake API key, when you call the model with your own provider key. The provider key then goes in the provider’s usual key header. Your provider key is forwarded to the provider and never stored.
string
W3C trace context. When present, the request joins your trace and the same trace id comes back in
X-Trace-ID.Request Body
string | array
required
Text to embed, or an array of texts
string
required
Embedding model name
integer
Length of each vector, for models that support it
string
Vector format. One of:
float, base64.Response
array
One embedding per input
string
Model that produced the vectors
string
Always
listobject
Tokens used