younifyd
Menu

Update collection parameters

Update collection parameters

PATCH/collections/{collection_name}

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Update collection parameters action (under Collections).
  3. Fill in the fields below, then reference the result from later steps as {{updateCollectionParameters.response.data}}.

Request

Path parameters

collection_namestringrequired

Name of the collection to update

Query parameters

timeoutinteger

Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.

Request body

Enter the body as JSON in the step's Body field.

vectorsoneOf

Map of vector data parameters to update for each named vector. To update parameters in a collection having a single unnamed vector, use an empty string as name.

optimizers_configoneOf

Custom params for Optimizers. If none - it is left unchanged. This operation is blocking, it will only proceed once all current optimizations are complete

paramsoneOf

Collection base params. If none - it is left unchanged.

hnsw_configoneOf

HNSW parameters to update for the collection index. If none - it is left unchanged.

quantization_configoneOf

Quantization parameters to update. If none - it is left unchanged.

Default null

sparse_vectorsoneOf

Map of sparse vector data parameters to update for each sparse vector.

strict_mode_configoneOf
metadataoneOf

Metadata to update for the collection. If provided, this will merge with existing metadata. Individual keys can be removed by setting their value to `null`.

json
{
  "vectors": null,
  "optimizers_config": null,
  "params": null,
  "hnsw_config": null,
  "quantization_config": null,
  "sparse_vectors": null,
  "strict_mode_config": null,
  "metadata": null
}

Response

Returns 200 with an object. Read it in later steps with {{updateCollectionParameters.response.data.<field>}}.

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultboolean
json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": false
}

Need more? See the Qdrant guide for connection setup and behaviour shared by every action.