Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Body

application/json
model
string
required

Model identifier

Example:

"text-embedding-3-small"

input
required

Input text to embed

encoding_format
enum<string>
Available options:
float,
base64
dimensions
integer

Number of dimensions for the embedding

user
string
fallbacks
string[]

Response

Successful response

data
object[]
model
string
object
string
usage
object

Token usage information

extra_fields
object

Additional fields included in responses