---
title: "Get knowledge base topic"
method: GET
path: "/v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics/{topicId}"
tags: ["Knowledge Base"]
---

# Get knowledge base topic

`GET /v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics/{topicId}`

## Response `200`

Knowledge base topic

- CreateKnowledgeBaseTopicPublicResponse
  - `id` string, required
  - `name` string, required
  - `content` string, required
  - `actions` string, required
  - `exampleQueries` object, required
    - `queries` string[], required
  - `isActive` boolean, required

## Other responses

- `404` — Topic does not exist

---

[API](https://skmtc.dev/poly/apis/polyai-agents-api.md) · [All operations](https://skmtc.dev/poly/apis/polyai-agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/poly/polyai-agents-api/revisions/76f3c606e395/schema)
