cURL
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.
Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '
Successful response
true
"Success"
Show child attributes
Was this page helpful?