Pria UI now available in Dark mode !
cURL
curl --request PUT \ --url http://localhost:3000/api/user/embedding/{id} \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "name": "<string>", "description": "<string>", "metadata": {} } '
{ "success": true, "embedding": { "_id": "<string>", "userId": "<string>", "name": "<string>", "description": "<string>", "type": "<string>", "model": "<string>", "dimensions": 123, "metadata": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Updates an existing embedding’s metadata
JWT token passed in x-access-token header
Embedding ID to update
Updated name
Updated description
Updated metadata
Embedding updated successfully
true
Show child attributes
Was this page helpful?