List knowledge base topics
GET /api/workspaces/{workspaceId}/kb-entries/topics
Returns the topics in use in a workspace’s knowledge base: the topic tags of its approved entries, each once, sorted by name. Use them to tag a new entry, so entries on the same subject share a tag.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The workspace to list topics for.
Responses
Section titled “ Responses ”The topics of the workspace’s approved KB entries. An empty array when the workspace has no approved entry with a topic.
object
The topic tags of the workspace’s approved entries, each once, sorted by name.
Example
[ "delivery", "returns", "shipping"]No workspace exists with the given workspaceId, or it is outside the API key’s brand or workspace restriction.
Standard error response returned by all endpoints on failure.
object
A human-readable error message describing what went wrong.
Example
Conversation not foundA machine-readable reason on some refusals, for example ‘key_lock’ when an API key’s brand or workspace restriction does not cover the action.
Example
key_lockOn a 403 for an API key without a scope the endpoint requires: the scopes the key lacks.
Example
[ "mcp:write"]On a 409 with code duplicate_question or duplicate_rule_text: the knowledge base entry or policy that already holds the question or rule text.
Example
11223344-5566-4788-99aa-bbccddeeff00On a 422 about one MCP connection a request names, from an assignment or an agent create or update (a connection that does not exist, one listed twice, or one that does not declare a tool named): the connection, as the request named it.
On the same 422: the tool names the connection does not declare.
Example
[ "get_orders"]On the same 422: the tools the connection declares.
Example
[ "get_order", "search_orders"]