Documentation to update?


Here is the documentation found for the update method:

curl -i -X POST \
  -H 'Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "vectors": [
        "id": "id-3",
        "set_metadata": {"type": "web", "new": "true"}

but it doesn’t work, it returns “ID must not be empty”.

Now, when I check with the online tool/dashboard, I have this cURL code - which work:

curl -X POST \ \
    -H 'Content-Type: application/json' \
    -H 'Api-Key: 74d6dbae-148b-4fc1-a4ae-7acac193bc4d' \
  "id": "id",
  "setMetadata": {},
  "namespace": ""

Not a big thing, just that it can be confusing.

Hi @apinard ,

Thanks for sharing this with us, I’ll let the docs team know so they can fix it.

1 Like