Download a knowledge base item file
Downloads the original file backing a knowledge base item as a binary attachment (Content-Disposition: attachment; filename="<item-name>").
Authorization
personalAccessToken Personal Access Token of a Dynamiq user — the only credential accepted by the management API (api.*). Prefix dyn_pat_ (legacy uak_ tokens still authenticate). Send as Authorization: Bearer <token>.
In: header
Path Parameters
Knowledge base item UUID.
Response Body
application/octet-stream
application/json
application/json
curl -X GET "https://example.com/v1/knowledgebase-items/497f6eca-6276-4993-bfeb-53cbbbba6f08/download""string"{
"error": {
"code": "unauthorized",
"message": "Unauthorized"
}
}{
"error": {
"code": "not_found",
"message": "Not Found"
}
}Replace a knowledge base item file
Replaces an item's file in place and re-ingests it, keeping the same item ID. The new file is supplied in the `file` form field. The item is reprocessed asynchronously.
List knowledge base sources
Lists the connected content sources of a knowledge base — for example Google Drive, SharePoint, Notion, or a crawled website — that feed documents into it.