---
title: "Get Asset Knowledge Base"
method: GET
path: "/api/v1/sdk/intelligence/{asset_id}/knowledge-base"
tags: ["public-api", "public-intelligence"]
---

# Get Asset Knowledge Base

`GET /api/v1/sdk/intelligence/{asset_id}/knowledge-base`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/intelligence/{asset_id}/knowledge-base`
- Auth: none declared

Load knowledge base context for an asset.

Returns the full markdown KB content for LLM system prompt enrichment.
MCP clients call this once per session to load asset intelligence.

**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()
kb = client.intelligence.knowledge_base("asset-uuid")
if kb.available:
    print(kb.markdown)  # Full asset KB for LLM context
```

## Path parameters

- `asset_id` string, required

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
