Skip to main content
GET
/
api
/
AIKnowledge
/
all
/
{botId}
List Knowledge Units
curl --request GET \
  --url https://gateway.widebot.net/api/AIKnowledge/all/{botId} \
  --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 to list knowledge for

Query Parameters

Optional search term to filter knowledge units

Response

200 - application/json

List of knowledge units 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"