Update File Document
Update the source file of a file document. The document name, content, and metadata are updated to reflect the new file. Any manual content edits will be overwritten.
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Path Parameters
The id of a document from the knowledge base. This is returned on document addition.
"21m00Tcm4TlvDq8ikWAM"
Body
Documentation that the agent will have access to in order to interact with users.
Response
Successful Response
- GetKnowledgeBaseURLResponseModel
- GetKnowledgeBaseFileResponseModel
- GetKnowledgeBaseTextResponseModel
- GetKnowledgeBaseFolderResponseModel
prompt, auto "url"The ID of the parent folder, or null if the document is at the root level.
The folder path segments leading to this entity, from root to parent folder.
Canonical representation of a knowledge base document's stored content.
HTML is the legacy default; documents created before this field existed are interpreted as HTML.
html, markdown