Finds Knowledge Base Entries that match the given query.

GET /api/security_ai_assistant/knowledge_base/entries/_find

Finds Knowledge Base Entries that match the given query.

Query parameters

  • fields array[string]

    A list of fields to include in the response. If not provided, all fields will be included.

  • filter string

    Search query to filter Knowledge Base Entries by specific criteria.

  • sort_field string

    Field to sort the Knowledge Base Entries by.

    Values are created_at, is_default, title, or updated_at.

  • sort_order string

    Sort order for the results, either asc or desc.

    Values are asc or desc.

  • page integer

    Page number for paginated results. Defaults to 1.

    Minimum value is 1. Default value is 1.

  • per_page integer

    Number of Knowledge Base Entries to return per page. Defaults to 20.

    Minimum value is 0. Default value is 20.

Responses

  • 200 application/json

    Successful response containing the paginated Knowledge Base Entries.

    Hide response attributes Show response attributes object
    • data array[object] Required

      The list of Knowledge Base Entries for the current page.

      Any of:
    • page integer Required

      The current page number.

    • perPage integer Required

      The number of Knowledge Base Entries returned per page.

    • total integer Required

      The total number of Knowledge Base Entries available.

  • 400 application/json

    Generic Error indicating an issue with the request.

    Hide response attributes Show response attributes object
    • error string

      A short description of the error.

    • message string

      A detailed message explaining the error.

    • statusCode number

      The HTTP status code of the error.

GET /api/security_ai_assistant/knowledge_base/entries/_find
curl \
 --request GET 'https://<KIBANA_URL>/api/security_ai_assistant/knowledge_base/entries/_find' \
 --header "Authorization: $API_KEY"