Skip to main content
GET
/
v1
/
voiceai
/
knowledge-base
/
{document_id}
/
size
Returns The Size Of The Document's Knowledge Base
curl --request GET \
  --url https://api.example.com/v1/voiceai/knowledge-base/{document_id}/size \
  --header 'x-api-key: <api-key>'
{
  "number_of_pages": 123
}

Authorizations

x-api-key
string
header
required

API key for programmatic access

Path Parameters

document_id
string
required

Response

Successful Response

Response model for GET /agent/{agent_id}/knowledge-base/size endpoint

number_of_pages
number
required

Number of pages in the agent's knowledge base