Skip to main content
POST
/
collections
/
{collectionName}
/
docs
/
update
cURL
curl --request POST \
  --url https://{projectHost}/collections/{collectionName}/docs/update \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "docs": [
    {
      "id": "example-id1",
      "example-field1": "example-value1",
      "example-field2": [
        0.1,
        0.2,
        0.3
      ]
    },
    {
      "id": "example-id2",
      "example-field1": "example-value2",
      "example-field2": [
        0.4,
        0.5,
        0.6
      ]
    }
  ]
}
'
{
  "message": "Update request is accepted"
}

Documentation Index

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

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

Authorizations

x-api-key
string
header
required

Project API Key.

Path Parameters

collectionName
string
required

Collection name.

Body

application/json
docs
object[]
required

A list of documents to update. Each document must contain 'id' field to be updated. For managed embedding vector fields, omit the managed vector field and update only the configured source text field.

Response

Update request accepted.

message
string
required