Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API key passed as a Bearer token.

Body

application/json
model
string
required

Model identifier.

input
required

Text to embed — a single string or array of strings.

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

Response

Embedding response

object
string
Example:

"list"

data
object[]
model
string
usage
object