Skip to main content
GET
/
api
/
AIKnowledge
/
{botId}
/
{knowledgeId}
Get Knowledge Unit by ID
curl --request GET \
  --url https://gateway.widebot.net/api/AIKnowledge/{botId}/{knowledgeId} \
  --header 'x-bot: <api-key>' \
  --header 'x-user-auth: <api-key>'
{
  "StatusCode": 200,
  "Response": {},
  "Consumption": "147/10000000"
}

Authorizations

x-user-auth
string
header
required

Your API key from account settings

x-bot
string
header
required

Your bot ID from account settings

Path Parameters

botId
string
required

Bot ID containing the knowledge unit

knowledgeId
string
required

Unique identifier of the knowledge unit

Response

200 - application/json

Knowledge unit details retrieved successfully

StatusCode
integer

HTTP status code

Example:

200

Response
object

API-specific response data

Consumption
string

Current usage vs quota limit

Example:

"147/10000000"