articles

Count

GET
Get count of articles matching given filter.

Query parameters

ancestorstringOptional
The ancestor directory of the articles.
applies_to_partsstringOptional
Filters for articles belonging to any of the provided parts.
authored_bystringOptional
Filters for articles authored by any of the provided users.
created_bystringOptional
Filters for articles created by any of the provided users.
owned_bystringOptional
Filters for articles owned by any of the provided users.

Response

This endpoint returns an object
count
integer
The total number of articles matching the filter.
GET
1curl https://api.devrev.ai/articles.count \
2 -H "Authorization: <apiKey>"
200
Retrieved
1{
2 "count": 1
3}