Skip to main content
OpenAI-compatible embeddings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gateway-cache
string | null
x-gateway-cache-ttl
integer<int32> | null
Required range: x >= 0
x-gateway-model-regions
string | null

Body

application/json
input
string[]
required
model
string
required
dimensions
integer<int32> | null
Required range: x >= 0
encoding_format
string | null
input_type
string | null
Example:

"search_query"

Response

HTTP 200 response.