Skip to main content
POST
{base_url}
/
v1
/
embeddings
Error
A valid request URL is required to generate request examples
{
  "data": [
    {
      "embedding": {},
      "index": 123,
      "object": "<string>"
    }
  ],
  "model": "<string>",
  "object": "<string>",
  "provider": "<string>",
  "usage": {
    "prompt_tokens": 123,
    "total_tokens": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://gomodel-docs-providers-restructure.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json

Embeddings request

dimensions
integer
encoding_format
string
input
any
model
string
provider
string

Gateway routing hint; stripped before upstream execution.

Response

OK

data
object[]
model
string
object
string
provider
string
usage
object