Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
branches
/
{branchId}
/
knowledge-base
/
topics
Create knowledge base topic
curl --request POST \
  --url https://api.us.poly.ai/v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "content": "<string>",
  "actions": "<string>",
  "isActive": true
}
'

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required
Minimum string length: 1
content
string
required
Minimum string length: 1
actions
string
exampleQueries
object
isActive
boolean

Response

201

Created topic

Last modified on April 22, 2026