RinghouseAPI reference
Get started

Knowledge

Update a knowledge source

Change a source. Every receptionist it is attached to answers from the new words at once.

PATCH/v1/knowledge-sources/{source_id}

Needs the knowledge:write scope.

Path parameters

source_idstringrequired
Knowledge source id

Body parameters

contentstring
Plain text, replacing what was there. A file source has none to replace.
descriptionstring
namestring

Returns

The source, as saved. A failed call answers with an error instead.

idstring
contentstringnullable
A text source's words, as the receptionist reads them. Left out of a list, and of a file source.
createdAtstring
descriptionstring
fileNamestringnullable
A file source's file, by name.
namestring
typeKnowledgeSourceType
text | file.
updatedAtstring
curl -X PATCH https://api.ringhouse.ai/v1/knowledge-sources/{source_id} \
  -H "Authorization: Bearer rh_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "<string>",
    "description": "<string>",
    "name": "<string>"
  }'
{
  "id": "8c1d4e7a-5b2f-4a90-9e1c-3f7d2b6a1c08",
  "content": "…",
  "createdAt": "2026-09-25T14:02:11Z",
  "description": "…",
  "fileName": "…",
  "name": "Missed calls → Slack",
  "type": "file",
  "updatedAt": "2026-09-25T14:02:11Z"
}
Was this page helpful?