Skip to main content
POST
/
agent
/
v1
/
agent
/
{agent_id}
/
assign-knowledge-base
Assign Knowledge Base
curl --request POST \
  --url https://api.voice.ai/agent/v1/agent/{agent_id}/assign-knowledge-base \
  --header 'Content-Type: application/json' \
  --data '{
  "kb_id": 123
}'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Path Parameters

agent_id
string
required

Body

application/json
kb_id
integer
required

Response

Successful Response