Skip to main content
GET
/
v1
/
voice-agents
/
knowledge-base
/
size-info
Get Knowledge Base Size Information.
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
  }
}

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Success"

data
object