List all knowledge base entries
Returns a list of all knowledge base entries belonging to a replica. This endpoint allows you to view all your training data in one place, with optional filtering by status or type. You can use this to monitor the overall state of a replica's knowledge base, check which entries are still processing, and identify any that might have encountered errors. The response includes detailed information about each entry including its content, status, and metadata.
Request
- Base URL: https://api.sensay.io
- URL: https://api.sensay.io/v1/replicas/{replicaUUID}/knowledge-base
- Auth: none declared
Path parameters
The replica unique identifier (UUID)
Query parameters
Filter knowledge base entries by comma separated list of their processing statuses. Use this to find entries in specific states like NEW or READY.
[ "VECTOR_CREATED", "READY" ]
Filter knowledge base entries by their content type. Use this to find specific types of training data like text or file uploads.
[ "website", "youtube" ]
Filter knowledge base entries by their title, filename, or URL.
Filter knowledge base entries that have encountered errors during processing.
Page number for pagination. Use this to navigate through large result sets.
Maximum number of entries to return per page (up to 100). Use this to control result set size. A value of zero can be used to check the total number of items without returning any items.
Sort criteria.
The order of the sort.
Headers
Response
List of knowledge base entries returned successfully.
Example response
{
"success": true,
"items": [
{
"id": 12345,
"replicaUUID": "03db5651-cb61-4bdf-9ef0-89561f7c9c53",
"type": "text",
"status": "READY",
"createdAt": "2025-04-15T08:11:00.093761+00:00",
"updatedAt": "2025-04-15T08:11:05.299349+00:00",
"title": "Company information",
"summary": "Basic company details and policies"
}
],
"total": 100
}Changes
No recorded changes to this operation across all 1 revision of this API.