Skip to main content
PATCH
/
api
/
vector-db
Start or stop the vector database
curl --request PATCH \
  --url https://api.example.com/api/vector-db \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "running": true
}
'
{
  "data": {
    "running": true,
    "host": "<string>",
    "port": 123,
    "database": "<string>",
    "user": "<string>",
    "password": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key here

Body

application/json
running
boolean
required

Whether to start (true) or stop (false) the vector database

Response

Vector database state changed successfully

data
object