Skip to main content
POST
/
v3
/
embeddings
Create vector embeddings via a Verlon gate
curl --request POST \
  --url https://api.verlon.ai/v3/embeddings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gateId": "<string>",
  "data": {
    "input": "<string>"
  },
  "model": "<string>",
  "metadata": "<unknown>",
  "endUserId": "<string>"
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Verlon API key (prefixed verlon_; legacy keys prefixed layer_ from before the 2026-05 rename also validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI (legacy verlon key create still works as a bin alias until 2026-06-20).

Body

application/json
gateId
string
required
data
object
required
model
string
metadata
any
endUserId
string

Response

Embeddings response. Shape follows the underlying provider format selected by the gate (OpenAI-compatible by default).