2026.26 Public API / SDK Changes
1 min read
SDK
tech The Content.update() method now accepts an optional ownerType parameter (accepted value: "CHAT"). When updating files that were uploaded in a chat context, you can now pass ownerType="CHAT" together with ownerId set to the chat ID to correctly scope the update operation.
Example
unique_sdk.Content.update(
user_id=user_id,
company_id=company_id,
contentId="cont_ok2343q5owbce80w78hudawu5",
ownerType="CHAT",
ownerId="chat_v3xfa7liv876h89vuiibus1",
metadata={
"processed": "true",
"extractedEntities": "acme_corp",
}
)