curl --location --request GET '/api/v2/analytics/corpora/document-counts' \
--header 'Ocp-Apim-Subscription-Key;'
{
"success": true,
"message": "Corpus document data retrieved successfully",
"data": {
"document_counts": [
{
"corpus_name": "Example Corpus",
"total_documents": 100
}
]
}
}
Ocp-Apim-Subscription-Key: ********************