Skip to main content
POST
Create embeddings

Authorizations

Authorization
string
header
required

Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer .

Headers

X-Omnia-Cache-Control
enum<string>

Per-request cache control (only meaningful when the workspace has response caching enabled — it can reduce caching, never enable it). no-cache: skip the cache and force a fresh model run, refreshing the stored copy. no-store: fresh run AND keep this response out of cache storage entirely. Either way the response carries X-Omnia-Cache: bypass.

Available options:
no-cache,
no-store

Body

application/json
model
string
required
Example:

"Qwen/Qwen3-Embedding-8B"

input
any
required

A string, or an array of strings to embed in one request.

encoding_format
string

The format of the returned embeddings (e.g. float).

dimensions
integer

The number of dimensions the output embeddings should have, if the model supports it.

user
string

A stable identifier for the end user.

Response

A list of embeddings.

object
string
Example:

"list"

data
object[]
model
string
usage
object