POST
Proxy Embeddings

Authorizations

Authorization
string
header
required

Interactive user session: the login JWT, sent as Authorization: Bearer <token>.

Body

application/json

OpenAI-compatible embeddings request. Additional OpenAI parameters not listed here are forwarded to the engine unchanged.

input
required

Text to embed: a single string, an array of strings, an array of token ids, or an array of token-id arrays.

Example:

"The quick brown fox."

model
string

Model id from GET /v1/models. brahma-embedding-large is served on its own plane; anything else uses the shared plane.

Example:

"brahma-embedding-small"

dimensions
integer

Truncate the returned vectors to this many dimensions (the BRAHMA embedding models are MRL).

encoding_format
enum<string>
default:float
Available options:
float,
base64

Response

Successful Response