Read a KnowledgeBase

GET /api/security_ai_assistant/knowledge_base/{resource}

Read a single KB

Path parameters

  • resource string

    The KnowledgeBase resource value.

Responses

  • 200 application/json

    Indicates a successful call.

    Hide response attributes Show response attributes object
    • elser_exists boolean

      Indicates if the ELSER model exists for the KnowledgeBase.

    • is_setup_available boolean

      Indicates if the setup process is available for the KnowledgeBase.

    • is_setup_in_progress boolean

      Indicates if the setup process is currently in progress.

    • product_documentation_status string

      The status of the product documentation in the KnowledgeBase.

    • security_labs_exists boolean

      Indicates if Security Labs documentation exists in the KnowledgeBase.

    • user_data_exists boolean

      Indicates if user data exists in the KnowledgeBase.

  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string

      A short description of the error.

    • message string

      A detailed error message.

    • statusCode number

      The HTTP status code of the error.

GET /api/security_ai_assistant/knowledge_base/{resource}
curl \
 --request GET 'https://localhost:5601/api/security_ai_assistant/knowledge_base/kb12345' \
 --header "Authorization: $API_KEY"