Skip to main content
PUT
/
api
/
user
/
embedding
/
{id}
Update an embedding chunk
curl --request PUT \
  --url https://pria.praxislxp.com/api/user/embedding/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "chunkText": "Updated paragraph text from the document..."
}
'
{
  "success": true,
  "message": "Embedding updated!"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

Embedding chunk ID

Body

application/json
chunkText
string

Updated chunk text. When modified, the vector embedding is automatically regenerated.

Example:

"Updated paragraph text from the document..."

Response

Embedding chunk updated successfully

success
boolean
Example:

true

message
string
Example:

"Embedding updated!"