API ReferenceKnowledge Bases

/public/knowledge-bases/{knowledgeBaseId}

PATCH
/public/knowledge-bases/{knowledgeBaseId}

Path Parameters

knowledgeBaseId*string

Header Parameters

X-API-Version?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://companion-api.napster.com/public/knowledge-bases/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "string",
  "provider": "azureOpenAI",
  "itemsCount": 0,
  "created": 0,
  "tags": {
    "property1": "string",
    "property2": "string"
  }
}
{
  "code": "string",
  "description": "string",
  "type": "failure",
  "numericType": 0
}