v5

latestOpenAPI 3.1.02026-08-04166362486.5 KB
deprecated_vector_stores

[DEPRECATED] Update a search rule

DEPRECATED: Use PUT /stores/{store_identifier}/rules/{rule_id} instead

put/v1/vector_stores/{vector_store_identifier}/rules/{rule_id}

Path parameters

string required
OR
string uuid required

The ID or name of the vector store

rule_idstring uuid required

The ID of the search rule to update

The ID of the search rule to update

Request body

querystring nullable

The query pattern to match

Example request

{
  "rules": [
    {
      "substitution": "query1"
    }
  ]
}

Response

The updated search rule

idstring required

The search rule ID

object'search_rule'

The object type

querystring required

The query pattern

vector_store_idstring required

The vector store ID

created_atstring date-time required

When the rule was created

updated_atstring date-time required

When the rule was last updated

Example response

{
  "rules": [
    {
      "substitution": "query1"
    }
  ]
}