PATCH
/
agents
/
{agentId}
/
kb
/
{docId}
curl --request PATCH \
  --url https://eu-gcp-api.vg-stuff.com/v3/agents/{agentId}/kb/{docId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "content": "<string>",
  "metadata": {
    "description": "<string>"
  },
  "tags": [
    "<string>"
  ],
  "refreshRate": "1h",
  "url": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required
docId
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.