curl --request GET \
--url https://api.tryhamsa.com/v1/voice-agents/knowledge-base/size-info \
--header 'Authorization: <api-key>'{
"success": true,
"message": "Success",
"data": {
"totalSize": 5242880,
"sizeLimit": 10485760
}
}Retrieves the total size of all knowledge base items and the size limit based on the subscription plan.
curl --request GET \
--url https://api.tryhamsa.com/v1/voice-agents/knowledge-base/size-info \
--header 'Authorization: <api-key>'{
"success": true,
"message": "Success",
"data": {
"totalSize": 5242880,
"sizeLimit": 10485760
}
}Was this page helpful?