POST
/
v1
/
index

Auth Headers

x-metal-api-key
string
required

An API key for your org.

x-metal-client-id
string
required

A Client ID for your org.

Body

index
string
required

Index ID

id
string

Identifier for your embedding. Must be between 3 - 256 chars and consist of numbers, letters, or -. If not provided, a random ID will be generated.

text
string

Text to be embedded. Must be between 3 - 10,000 chars.

imageUrl
string

Image URL

embedding
number[]

Custom Embeddings

metadata
object

Additional metadata for the document.