# List all knowledge base entries **GET /v1/replicas/{replicaUUID}/knowledge-base** 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. ## Servers - https://api.sensay.io: https://api.sensay.io () ## Parameters ### Headers - **X-API-Version** (string) ### Path parameters - **replicaUUID** (string(uuid)) The replica unique identifier (UUID) ### Query parameters - **status** (array[string] | null) Filter knowledge base entries by comma separated list of their processing statuses. Use this to find entries in specific states like `NEW` or `READY`. - **type** (array[string] | null) Filter knowledge base entries by their content type. Use this to find specific types of training data like text or file uploads. - **search** (string) Filter knowledge base entries by their title, filename, or URL. - **hasError** (string) Filter knowledge base entries that have encountered errors during processing. - **page** (integer) Page number for pagination. Use this to navigate through large result sets. - **pageSize** (integer | null) 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. - **sortBy** (string) Sort criteria. - **sortOrder** (string) The order of the sort. ## Responses ### 200 List of knowledge base entries returned successfully. #### Body: application/json (object) - **success** (boolean) Indicates if the list operation was successful - **items** (array[object]) Array of knowledge base entries matching your query parameters - **total** (integer) The total number of knowledge base entries. ### 400 Bad Request #### Body: application/json (object) - **success** (boolean) Indicates the status of the request - **error** (string) A text representation of the error - **error_code** (string) A machine-readable error code indicating the specific error condition. Used for programmatic error handling - **fingerprint** (string) A unique identifier of the event, useful for reporting - **request_id** (string) A unique identifier of the request, useful for reporting ### 401 Unauthorized #### Body: application/json (object) - **success** (boolean) Indicates the status of the request - **error** (string) A text representation of the error - **error_code** (string) A machine-readable error code indicating the specific error condition. Used for programmatic error handling - **fingerprint** (string) A unique identifier of the event, useful for reporting - **request_id** (string) A unique identifier of the request, useful for reporting ### 404 Not Found #### Body: application/json (object) - **success** (boolean) Indicates the status of the request - **error** (string) A text representation of the error - **request_id** (string) A unique identifier of the request, useful for reporting ### 415 Unsupported Media Type #### Body: application/json (object) - **success** (boolean) Indicates the status of the request - **error** (string) A text representation of the error - **error_code** (string) A machine-readable error code indicating the specific error condition. Used for programmatic error handling - **fingerprint** (string) A unique identifier of the event, useful for reporting - **request_id** (string) A unique identifier of the request, useful for reporting ### 500 Internal Server Error #### Body: application/json (object) - **success** (boolean) Indicates the status of the request - **error** (string) A text representation of the error - **fingerprint** (string) A unique identifier of the event, useful for reporting - **request_id** (string) A unique identifier of the request, useful for reporting - **inner_exception** (object) The inner exception [Powered by Bump.sh](https://bump.sh)