---
title: "Read a KnowledgeBase"
method: GET
path: "/api/security_ai_assistant/knowledge_base"
tags: ["Security AI Assistant API"]
---

# Read a KnowledgeBase

`GET /api/security_ai_assistant/knowledge_base`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/security_ai_assistant/knowledge_base</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Read a single KB

## Response `200`

Indicates a successful call.

- SecurityAIAssistantAPIKnowledgeBaseReadResponse200
  - `defend_insights_exists` boolean — Indicates if Defend Insights documentation exists in the KnowledgeBase.
  - `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.

## Other responses

- `400` — Bad Request response.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
