🧬 Embedding Documents
Update Document
This endpoint updates and replaces an existing Document(embedding).
POST
/
v1
/
index
Auth Headers
x-metal-api-key
string
requiredAn API key for your org.
x-metal-client-id
string
requiredA Client ID for your org.
Body
index
string
requiredIndex ID
id
string
requiredExisting Document ID to update. Must be between 3 - 256 chars and consist of
numbers, letters, or -
.
text
string
Text to be embedded. Must be between 3 - 10,000 chars.
imageUrl
string
Image URL
embedding
number[]
Custom Embeddings
metadata
object
Metadata object.