Skip to main content
GET
/
api
/
knowledge-bases
/
{knowledgeBaseId}
Get knowledge base
curl --request GET \
  --url https://api.upon-ai.com/api/knowledge-bases/{knowledgeBaseId} \
  --header 'Authorization: Bearer <token>'
{
  "knowledgeBaseId": "<string>",
  "name": "<string>",
  "status": "<string>",
  "description": "<string>",
  "sources": [
    {
      "source_id": "<string>",
      "source_type": "<string>",
      "filename": "<string>"
    }
  ],
  "workspaceId": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

knowledgeBaseId
string
required

Knowledge base identifier.

Query Parameters

workspaceId
integer
required

Workspace identifier.

Response

200 - application/json

Knowledge base details.

knowledgeBaseId
string
required
name
string
required
status
string
required
description
string | null
sources
object[]
workspaceId
integer | null