{
  "name": "vector-upsert",
  "title": "Upsert a vector to a vector DB",
  "category": "AI",
  "tags": [
    "ai",
    "curl-jq"
  ],
  "version": "1.0.1",
  "date": "2026-08-02",
  "notes": "Swap the abandoned dwdraju/alpine-curl-jq, last built 2025-02-21, for badouralix/curl-jq, which is still being rebuilt. Fixable CRITICAL/HIGH drops from 19 to 1. Same Alpine base, same root user, same /bin/sh default command; curl goes 8.12.1 to 8.21.0 and jq 1.7.1 to 1.8.1.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/vector-upsert/1.0.1.json",
  "entrypoint": "upsert",
  "parameters": [
    {
      "name": "endpoint",
      "title": "Endpoint",
      "description": "Full Qdrant collection points URL.",
      "type": "string",
      "required": true,
      "example": "https://my-cluster.qdrant.io:6333/collections/docs/points"
    },
    {
      "name": "id",
      "title": "Point id",
      "description": "Point id (string or UUID).",
      "type": "string",
      "required": true,
      "example": "doc-123"
    },
    {
      "name": "vector-json",
      "title": "Vector (JSON array)",
      "description": "JSON array of floats, the embedding vector.",
      "type": "string",
      "required": true,
      "example": "[0.12, -0.03, 0.98]"
    },
    {
      "name": "api-key-secret-key",
      "title": "API key secret key",
      "description": "Key within the Secret that holds the API key.",
      "type": "string",
      "required": false,
      "default": "api-key"
    },
    {
      "name": "api-key-secret-name",
      "title": "API key secret name",
      "description": "Name of the Kubernetes Secret holding the Qdrant API key.",
      "type": "string",
      "required": false,
      "default": "vector-db-api-key"
    },
    {
      "name": "metadata-json",
      "title": "Metadata (JSON object)",
      "description": "JSON object of point metadata (Qdrant payload).",
      "type": "string",
      "required": false,
      "default": "{}",
      "example": "{\"source\":\"docs\",\"page\":3}"
    }
  ],
  "images": [
    {
      "ref": "badouralix/curl-jq@sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2",
      "repository": "badouralix/curl-jq",
      "digest": "sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/vector-upsert",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
