# Topic Topic APIs ## Get Topic Breadcrumb for Article - [GET /portals/{portalID}/articles/{articleID}/breadcrumb](https://apidev.egain.com/apis/v4/knowledge/portalmgr/api-bundled/topic/gettopicbreadcrumbforarticle.md): ## Overview * Use this API to retrieve the topic breadcrumb for an article in a portal. A breadcrumb shows the hierarchical path from the root topic to the article's primary topic. ## Get Immediate Child Topics - [GET /portals/{portalID}/topics/{topicID}](https://apidev.egain.com/apis/v4/knowledge/portalmgr/api-bundled/topic/getchildtopics.md): ## Overview The Get Immediate Child Topics API retrieves details about a topic and it's immediate child topics. The $level attribute determines how deep the topic hierarchy should go, or how many child topics of a topic are returned in the response. ## Get All Ancestor Topics - [GET /portals/{portalID}/topics/{topicID}/parents](https://apidev.egain.com/apis/v4/knowledge/portalmgr/api-bundled/topic/getancestortopics.md): ## Overview The Get All Ancestor Topics API retrieves the hierarchy from the root topic down to the given topic. ## Get All Topics - [GET /portals/{portalID}/topics](https://apidev.egain.com/apis/v4/knowledge/portalmgr/api-bundled/topic/getalltopics.md): ## Overview The Get All Topics API retrieves the topic tree for a portal. The $level attribute determines how deep the topic hierarchy should go, or how many child topics of a topic are returned in the response.