Skip to content

Document stats

As a partner you can fetch the raw document stats of each document you have access to. The documents stats you can access are for companies that you have been associated with.

GET /partner/documentStat Get document stats that belongs to companies associated with the authenticated partner.

GET /partner/documentStat

Get document stats that belongs to companies associated with the authenticated partner. There are multiple ways to filter and limit the query for the data needed. It is highly recommended to specify the query as much as possible to increase performance and limit query time.

Query paramDescription
_startAllows pagination. Example: ?_start=10 would return document stats from position 10 and onwards.
_endAllows pagination. Used in combination with _start. Example: ?_start=0&_end=10 would return document stats number 0 to 10.
_sortSort the result according to a specific property. Example: ?_sort=createdAt.
_orderOrder items returned in either an ascending (ASC) or descending (DESC) order. Example: ?_order=ASC
_whereUseful to build more complex query filters. Use and(), or() to combine operators. Available operators are =, !=, _=, IN=, >=, <=. Whereas operator *= is like (used for searching) value and IN= is matching against comma separated array values. Example: and(docCreatedAt<=2024-06-27T08:00:00.000Z,status!=draft,docIdIN=(1,2))