Embeddings
POST /v1/embeddings — vector representations of text, billed and routed the same way as chat completions.
POST ${PUBLIC_API_URL}/v1/embeddings returns vector representations of your input text, using the same request and response shape as OpenAI's embeddings API.
POST https://api.relixr.com/v1/embeddings
Authorization: Bearer $RELIXR_API_KEY
{
"model": "text-embedding-3-small",
"input": "Relixr routes inference for agent fleets."
}Tip
Embedding calls are usually cheap and high-volume — a good candidate for a dedicated key with a tight daily spend cap, so a bug in a batch job can't run away with your budget.
Next steps
Was this helpful?
Still stuck? Help center · Doctor