Skip to main content
GET
/
v0
/
documents
/
count-by-assignee
Get document counts by assignee
curl --request GET \
  --url https://api.avidoai.com/v0/documents/count-by-assignee \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>'
{
  "data": [
    {
      "assignee": "user_123456789",
      "count": 12
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Query Parameters

type
enum<string>

Filter by document type. Defaults to KNOWLEDGE if not specified. Pass "ALL" to count across all document types.

Available options:
KNOWLEDGE,
POLICY,
ALL
Example:

"KNOWLEDGE"

Response

Successfully retrieved document counts by assignee

Response containing document counts grouped by assignee

data
Document Count By Assignee · object[]
required