AI
Embeddings (OpenAI-compatible)
OpenAI-compatible embeddings endpoint. Use your Blink workspace API key in place of an OpenAI key. input accepts a string or an array of strings. The default model is openai/text-embedding-3-small (1536 dims). Bare OpenAI model names (e.g. text-embedding-3-small) are accepted and mapped to the gateway provider automatically.
post/api/v1/ai/embeddings
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/v1/ai/embeddings
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"model": "text-embedding-3-small"
}Response
OpenAI-format embeddings list.
Example response
{
"object": "list",
"data": [
{
"object": "embedding"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.