API ReferenceKnowledge Bases

/public/knowledge-bases/{knowledgeBaseId}/files/{fileId}

Get a knowledge base file

GET
/public/knowledge-bases/{knowledgeBaseId}/files/{fileId}

Get a knowledge base file

Path Parameters

knowledgeBaseId*string
fileId*string

Header Parameters

X-API-Version?string

Response Body

curl -X GET "https://companion-api.napster.com/public/knowledge-bases/string/files/string"
{
  "id": "string",
  "status": "pending",
  "originalName": "string",
  "contentType": "string",
  "summary": "string",
  "createdAt": "2019-08-24T14:15:22Z"
}
{
  "code": "string",
  "description": "string",
  "type": "failure",
  "numericType": 0
}