Skip to main content
GET
/
backend
/
knowledgebase
/
datasource
/
:bot_id
Get Knowledge from Data Source
curl --request GET \
  --url https://api.opencopilot.so/backend/knowledgebase/datasource/:bot_id

Get Knowledge from Data Source

This endpoint allows you to retrieve knowledge from a specific data source for a given bot. You can specify the limit and offset parameters to control the number of results and the starting point for the results.
Important: This endpoint requires authentication. You must include a valid Authorization header with a Bearer token in the request.
param
string
required
The unique identifier for the bot you want to fetch records from. This is a required parameter.
limit
integer
default:"10"
The maximum number of documents to return in the response. If not provided, the default value is 10.
offset
integer
default:"0"
The number of documents to skip before returning the results. Used for pagination. If not provided, the default value is 0.