Skip to main content
GET
/
v0
/
documents
/
count
Get document counts
curl --request GET \
  --url https://api.avidoai.com/v0/documents/count \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>'
{
  "totalCount": 42,
  "activeVersionCount": 37
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Response

Successfully retrieved document counts

Response containing total and active document counts

totalCount
integer
required

Total number of documents in the organization

Required range: 0 <= x <= 9007199254740991
Example:

42

activeVersionCount
integer
required

Number of documents that currently have an active version

Required range: 0 <= x <= 9007199254740991
Example:

37