Legacy Mailbox API 1.0 is deprecated
Legacy Mailbox API 1.0 was deprecated on November 20, 2019. Please use Mailbox API 2.0 going forward. If you have any questions or need help with the new API, please reach out.
Docs Report
- REST Method: GET
- URLs: https://api.helpscout.net/v1/reports/docs.json
The Docs report provides statistics about Docs usage (searches, top articles, etc.) over a given time range. You may optionally specify two time ranges to see how usage changed between the two ranges.
URL Parameters
A variety of filters are available as query parameters. Including any of these will result in only results that match the filters being included in the report.
Parameter | Type | Required | Example |
---|---|---|---|
start | Date/Time (ISO 8601, in UTC) | Yes | 2015-01-01T00:00:00Z |
end | Date/Time (ISO 8601, in UTC) | Yes | 2015-01-31T23:59:59Z |
previousStart | Date/Time (ISO 8601, in UTC) | No | 2014-01-01T00:00:00Z |
previousEnd | Date/Time (ISO 8601, in UTC) | No | 2014-01-31T23:59:59Z |
sites | list of site identifiers | No | 1,2,3 |
Response
Response | Name | Type | Notes |
---|---|---|---|
Header | Status | Int | 200 |
Body | current | Object | Statistics about Docs usage for the current time range; each object contains:
|
previous | Object | Statistics about Docs usage for the previous time range; only included if a previous time range was specified; each object contains:
|
|
popularSearches | Collection | Collection of objects containing statistics about popular searches; each element contains:
|
|
failedSearches | Collection | Collection of objects containing statistics about failed searches; each element contains:
|
|
topArticles | Collection | Collection of objects containing statistics about top articles; each element contains:
|
|
topCategories | Collection | Collection of objects containing statistics about top article categories; each element contains:
|
|
deltas | Object | Statistics showing how Docs usage changed between two time ranges; only included if a previous time range was specified; each object contains:
|