> For the complete documentation index, see [llms.txt](https://support.hivo.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.hivo.co/api/reports.md).

# Reports

## GET /v1/reports/aggregate-asset-stats

> Get cached aggregate asset statistics

```json
{"openapi":"3.0.3","info":{"title":"HIVO REST API","version":"1.0.0"},"tags":[{"name":"Reports"}],"servers":[{"url":"https://app.hivo.com.au/api/rest","description":"Production"}],"security":[{"XUserId":[],"XApiKey":[]}],"components":{"securitySchemes":{"XUserId":{"type":"apiKey","in":"header","name":"X-User-Id","description":"HIVO User ID"}},"schemas":{"AggregateAssetStatsResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"links":{"$ref":"#/components/schemas/JsonApiLinkage"},"data":{"$ref":"#/components/schemas/AggregateAssetStatsResource"}},"required":["meta","data"]},"TopLevelMeta":{"type":"object","properties":{"timestamp":{"type":"integer","description":"Server timestamp in milliseconds"},"authentication":{"type":"string","description":"Authentication method, e.g. apiKey"},"links":{"type":"object","properties":{"me":{"type":"string","format":"uri"}}}}},"JsonApiLinkage":{"type":"object","properties":{"self":{"$ref":"#/components/schemas/Link"},"thumbnail":{"$ref":"#/components/schemas/LinkObject"}},"additionalProperties":true},"Link":{"oneOf":[{"type":"string","format":"uri"},{"$ref":"#/components/schemas/LinkObject"}]},"LinkObject":{"type":"object","description":"JSON:API link object","properties":{"href":{"type":"string","format":"uri"},"meta":{"type":"object","description":"Non-standard meta-information for the link","properties":{"version":{"type":"string","description":"Asset version name used to generate the link (e.g., thumbnail)"}},"additionalProperties":true}},"required":["href"]},"AggregateAssetStatsResource":{"type":"object","properties":{"type":{"type":"string","enum":["aggregate-asset-stats"]},"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/AggregateAssetStatsAttributes"}},"required":["type","id","attributes"]},"AggregateAssetStatsAttributes":{"type":"object","properties":{"updatedAt":{"type":"integer","description":"Unix seconds"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/AggregateAssetStatsEntry"}}}},"AggregateAssetStatsEntry":{"type":"object","properties":{"type":{"type":"string"},"ext":{"type":"string"},"count":{"type":"integer"},"size":{"type":"number"},"views":{"type":"integer"},"dls":{"type":"integer"},"originalCount":{"type":"integer"}}},"ErrorResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorObject"}}},"required":["errors"]},"ErrorObject":{"type":"object","properties":{"status":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}},"required":["status","title"]},"Error429Response":{"allOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"type":"object","properties":{"meta":{"type":"object","properties":{"timestamp":{"type":"integer"},"retryAfter":{"type":"integer"}}}}}]}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error429Response"}}}}}},"paths":{"/v1/reports/aggregate-asset-stats":{"get":{"summary":"Get cached aggregate asset statistics","operationId":"getAggregateAssetStats","tags":["Reports"],"parameters":[{"name":"filter[clientId]","in":"query","description":"Admin-only. Client ID to retrieve cached statistics for.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AggregateAssetStatsResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}}}}
```

## List asset usage statistics

> Returns usage counts keyed by asset id with basic asset details (name, category, createdAt). The date range (filter\[startTime]..filter\[endTime]) must not exceed 366 days.

```json
{"openapi":"3.0.3","info":{"title":"HIVO REST API","version":"1.0.0"},"tags":[{"name":"Reports"}],"servers":[{"url":"https://app.hivo.com.au/api/rest","description":"Production"}],"security":[{"XUserId":[],"XApiKey":[]}],"components":{"securitySchemes":{"XUserId":{"type":"apiKey","in":"header","name":"X-User-Id","description":"HIVO User ID"}},"parameters":{"ReportStartTime":{"name":"filter[startTime]","in":"query","required":true,"description":"Inclusive report start date as a Unix timestamp.","schema":{"type":"integer"}},"ReportEndTime":{"name":"filter[endTime]","in":"query","required":true,"description":"Inclusive report end date as a Unix timestamp.","schema":{"type":"integer"}},"ReportLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":256,"default":32}},"ReportSkip":{"name":"skip","in":"query","schema":{"type":"integer","minimum":0,"maximum":65536,"default":0}}},"schemas":{"AssetStatsListResponse":{"allOf":[{"$ref":"#/components/schemas/ReportListResponse"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AssetStatsResource"}}},"required":["data"]}]},"ReportListResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"links":{"$ref":"#/components/schemas/PaginationLinks"}},"required":["meta","links"]},"TopLevelMeta":{"type":"object","properties":{"timestamp":{"type":"integer","description":"Server timestamp in milliseconds"},"authentication":{"type":"string","description":"Authentication method, e.g. apiKey"},"links":{"type":"object","properties":{"me":{"type":"string","format":"uri"}}}}},"PaginationLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"first":{"type":"string","format":"uri"},"prev":{"type":"string","format":"uri","nullable":true},"next":{"type":"string","format":"uri","nullable":true}}},"AssetStatsResource":{"type":"object","properties":{"type":{"type":"string","enum":["asset-stats"]},"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/AssetStatsAttributes"},"links":{"$ref":"#/components/schemas/JsonApiLinkage"}},"required":["type","id","attributes"]},"AssetStatsAttributes":{"type":"object","properties":{"name":{"type":"string"},"category":{"type":"string","enum":["image","video","audio","document","font","other"]},"createdAt":{"type":"integer","description":"Unix seconds"},"downloadCount":{"type":"integer"},"viewCount":{"type":"integer"},"sharedViewCount":{"type":"integer"},"sharedEmbeddedViewCount":{"type":"integer"},"totalViewCount":{"type":"integer"}},"required":["category","downloadCount","viewCount","sharedViewCount","sharedEmbeddedViewCount","totalViewCount"]},"JsonApiLinkage":{"type":"object","properties":{"self":{"$ref":"#/components/schemas/Link"},"thumbnail":{"$ref":"#/components/schemas/LinkObject"}},"additionalProperties":true},"Link":{"oneOf":[{"type":"string","format":"uri"},{"$ref":"#/components/schemas/LinkObject"}]},"LinkObject":{"type":"object","description":"JSON:API link object","properties":{"href":{"type":"string","format":"uri"},"meta":{"type":"object","description":"Non-standard meta-information for the link","properties":{"version":{"type":"string","description":"Asset version name used to generate the link (e.g., thumbnail)"}},"additionalProperties":true}},"required":["href"]},"ErrorResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorObject"}}},"required":["errors"]},"ErrorObject":{"type":"object","properties":{"status":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}},"required":["status","title"]},"Error429Response":{"allOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"type":"object","properties":{"meta":{"type":"object","properties":{"timestamp":{"type":"integer"},"retryAfter":{"type":"integer"}}}}}]}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error429Response"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/v1/reports/asset-stats":{"get":{"summary":"List asset usage statistics","description":"Returns usage counts keyed by asset id with basic asset details (name, category, createdAt). The date range (filter[startTime]..filter[endTime]) must not exceed 366 days.","operationId":"listAssetStats","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/ReportStartTime"},{"$ref":"#/components/parameters/ReportEndTime"},{"$ref":"#/components/parameters/ReportLimit"},{"$ref":"#/components/parameters/ReportSkip"},{"name":"sort","in":"query","schema":{"type":"string","default":"-totalViewCount","enum":["downloadCount","-downloadCount","viewCount","-viewCount","sharedViewCount","-sharedViewCount","sharedEmbeddedViewCount","-sharedEmbeddedViewCount","totalViewCount","-totalViewCount"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetStatsListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```

## List collection usage statistics

> Returns usage counts keyed by collection id with basic collection details (name, createdAt). The date range (filter\[startTime]..filter\[endTime]) must not exceed 366 days.

```json
{"openapi":"3.0.3","info":{"title":"HIVO REST API","version":"1.0.0"},"tags":[{"name":"Reports"}],"servers":[{"url":"https://app.hivo.com.au/api/rest","description":"Production"}],"security":[{"XUserId":[],"XApiKey":[]}],"components":{"securitySchemes":{"XUserId":{"type":"apiKey","in":"header","name":"X-User-Id","description":"HIVO User ID"}},"parameters":{"ReportStartTime":{"name":"filter[startTime]","in":"query","required":true,"description":"Inclusive report start date as a Unix timestamp.","schema":{"type":"integer"}},"ReportEndTime":{"name":"filter[endTime]","in":"query","required":true,"description":"Inclusive report end date as a Unix timestamp.","schema":{"type":"integer"}},"ReportLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":256,"default":32}},"ReportSkip":{"name":"skip","in":"query","schema":{"type":"integer","minimum":0,"maximum":65536,"default":0}}},"schemas":{"CollectionStatsListResponse":{"allOf":[{"$ref":"#/components/schemas/ReportListResponse"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CollectionStatsResource"}}},"required":["data"]}]},"ReportListResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"links":{"$ref":"#/components/schemas/PaginationLinks"}},"required":["meta","links"]},"TopLevelMeta":{"type":"object","properties":{"timestamp":{"type":"integer","description":"Server timestamp in milliseconds"},"authentication":{"type":"string","description":"Authentication method, e.g. apiKey"},"links":{"type":"object","properties":{"me":{"type":"string","format":"uri"}}}}},"PaginationLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"first":{"type":"string","format":"uri"},"prev":{"type":"string","format":"uri","nullable":true},"next":{"type":"string","format":"uri","nullable":true}}},"CollectionStatsResource":{"type":"object","properties":{"type":{"type":"string","enum":["collection-stats"]},"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/CollectionStatsAttributes"},"links":{"$ref":"#/components/schemas/JsonApiLinkage"}},"required":["type","id","attributes"]},"CollectionStatsAttributes":{"type":"object","properties":{"name":{"type":"string"},"createdAt":{"type":"integer","description":"Unix seconds"},"viewCount":{"type":"integer"},"sharedViewCount":{"type":"integer"},"totalViewCount":{"type":"integer"}},"required":["viewCount","sharedViewCount","totalViewCount"]},"JsonApiLinkage":{"type":"object","properties":{"self":{"$ref":"#/components/schemas/Link"},"thumbnail":{"$ref":"#/components/schemas/LinkObject"}},"additionalProperties":true},"Link":{"oneOf":[{"type":"string","format":"uri"},{"$ref":"#/components/schemas/LinkObject"}]},"LinkObject":{"type":"object","description":"JSON:API link object","properties":{"href":{"type":"string","format":"uri"},"meta":{"type":"object","description":"Non-standard meta-information for the link","properties":{"version":{"type":"string","description":"Asset version name used to generate the link (e.g., thumbnail)"}},"additionalProperties":true}},"required":["href"]},"ErrorResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorObject"}}},"required":["errors"]},"ErrorObject":{"type":"object","properties":{"status":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}},"required":["status","title"]},"Error429Response":{"allOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"type":"object","properties":{"meta":{"type":"object","properties":{"timestamp":{"type":"integer"},"retryAfter":{"type":"integer"}}}}}]}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error429Response"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/v1/reports/collection-stats":{"get":{"summary":"List collection usage statistics","description":"Returns usage counts keyed by collection id with basic collection details (name, createdAt). The date range (filter[startTime]..filter[endTime]) must not exceed 366 days.","operationId":"listCollectionStats","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/ReportStartTime"},{"$ref":"#/components/parameters/ReportEndTime"},{"$ref":"#/components/parameters/ReportLimit"},{"$ref":"#/components/parameters/ReportSkip"},{"name":"sort","in":"query","schema":{"type":"string","default":"-totalViewCount","enum":["viewCount","-viewCount","sharedViewCount","-sharedViewCount","totalViewCount","-totalViewCount"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionStatsListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```

## GET /v1/reports/user-stats

> List user usage statistics

```json
{"openapi":"3.0.3","info":{"title":"HIVO REST API","version":"1.0.0"},"tags":[{"name":"Reports"}],"servers":[{"url":"https://app.hivo.com.au/api/rest","description":"Production"}],"security":[{"XUserId":[],"XApiKey":[]}],"components":{"securitySchemes":{"XUserId":{"type":"apiKey","in":"header","name":"X-User-Id","description":"HIVO User ID"}},"parameters":{"ReportStartTime":{"name":"filter[startTime]","in":"query","required":true,"description":"Inclusive report start date as a Unix timestamp.","schema":{"type":"integer"}},"ReportEndTime":{"name":"filter[endTime]","in":"query","required":true,"description":"Inclusive report end date as a Unix timestamp.","schema":{"type":"integer"}},"ReportLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":256,"default":32}},"ReportSkip":{"name":"skip","in":"query","schema":{"type":"integer","minimum":0,"maximum":65536,"default":0}}},"schemas":{"UserStatsListResponse":{"allOf":[{"$ref":"#/components/schemas/ReportListResponse"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserStatsResource"}}},"required":["data"]}]},"ReportListResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"links":{"$ref":"#/components/schemas/PaginationLinks"}},"required":["meta","links"]},"TopLevelMeta":{"type":"object","properties":{"timestamp":{"type":"integer","description":"Server timestamp in milliseconds"},"authentication":{"type":"string","description":"Authentication method, e.g. apiKey"},"links":{"type":"object","properties":{"me":{"type":"string","format":"uri"}}}}},"PaginationLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"first":{"type":"string","format":"uri"},"prev":{"type":"string","format":"uri","nullable":true},"next":{"type":"string","format":"uri","nullable":true}}},"UserStatsResource":{"type":"object","properties":{"type":{"type":"string","enum":["user-stats"]},"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/UserStatsAttributes"},"links":{"$ref":"#/components/schemas/JsonApiLinkage"}},"required":["type","id","attributes"]},"UserStatsAttributes":{"type":"object","properties":{"name":{"type":"string"},"jobTitle":{"type":"string"},"company":{"type":"string"},"groupIds":{"type":"array","items":{"type":"string"}},"lastActiveAt":{"type":"integer","description":"Unix seconds"},"pageViewCount":{"type":"integer"},"connectionCount":{"type":"integer"}},"required":["pageViewCount","connectionCount"]},"JsonApiLinkage":{"type":"object","properties":{"self":{"$ref":"#/components/schemas/Link"},"thumbnail":{"$ref":"#/components/schemas/LinkObject"}},"additionalProperties":true},"Link":{"oneOf":[{"type":"string","format":"uri"},{"$ref":"#/components/schemas/LinkObject"}]},"LinkObject":{"type":"object","description":"JSON:API link object","properties":{"href":{"type":"string","format":"uri"},"meta":{"type":"object","description":"Non-standard meta-information for the link","properties":{"version":{"type":"string","description":"Asset version name used to generate the link (e.g., thumbnail)"}},"additionalProperties":true}},"required":["href"]},"ErrorResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorObject"}}},"required":["errors"]},"ErrorObject":{"type":"object","properties":{"status":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}},"required":["status","title"]},"Error429Response":{"allOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"type":"object","properties":{"meta":{"type":"object","properties":{"timestamp":{"type":"integer"},"retryAfter":{"type":"integer"}}}}}]}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error429Response"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/v1/reports/user-stats":{"get":{"summary":"List user usage statistics","operationId":"listUserStats","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/ReportStartTime"},{"$ref":"#/components/parameters/ReportEndTime"},{"$ref":"#/components/parameters/ReportLimit"},{"$ref":"#/components/parameters/ReportSkip"},{"name":"sort","in":"query","schema":{"type":"string","default":"-pageViewCount","enum":["pageViewCount","-pageViewCount","connectionCount","-connectionCount"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserStatsListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```

## List assets not viewed since a specified date

> Returns assets whose effective last-viewed time is on or before filter\[inactiveBefore]. Results are always ordered by oldest effective last-viewed time first.

```json
{"openapi":"3.0.3","info":{"title":"HIVO REST API","version":"1.0.0"},"tags":[{"name":"Reports"}],"servers":[{"url":"https://app.hivo.com.au/api/rest","description":"Production"}],"security":[{"XUserId":[],"XApiKey":[]}],"components":{"securitySchemes":{"XUserId":{"type":"apiKey","in":"header","name":"X-User-Id","description":"HIVO User ID"}},"parameters":{"ReportLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":256,"default":32}},"ReportSkip":{"name":"skip","in":"query","schema":{"type":"integer","minimum":0,"maximum":65536,"default":0}}},"schemas":{"InactiveAssetListResponse":{"allOf":[{"$ref":"#/components/schemas/ReportListResponse"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InactiveAssetResource"}}},"required":["data"]}]},"ReportListResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"links":{"$ref":"#/components/schemas/PaginationLinks"}},"required":["meta","links"]},"TopLevelMeta":{"type":"object","properties":{"timestamp":{"type":"integer","description":"Server timestamp in milliseconds"},"authentication":{"type":"string","description":"Authentication method, e.g. apiKey"},"links":{"type":"object","properties":{"me":{"type":"string","format":"uri"}}}}},"PaginationLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"first":{"type":"string","format":"uri"},"prev":{"type":"string","format":"uri","nullable":true},"next":{"type":"string","format":"uri","nullable":true}}},"InactiveAssetResource":{"type":"object","properties":{"type":{"type":"string","enum":["inactive-assets"]},"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/InactiveAssetAttributes"},"links":{"$ref":"#/components/schemas/JsonApiLinkage"}},"required":["type","id","attributes"]},"InactiveAssetAttributes":{"type":"object","properties":{"name":{"type":"string"},"viewedAt":{"type":"integer","description":"Effective last-viewed time in Unix seconds. Equal to the later of the asset's stored viewedAt and createdAt.\n"},"views":{"type":"integer"},"createdAt":{"type":"integer","description":"Unix seconds"},"lastModified":{"type":"integer","description":"Unix seconds"}}},"JsonApiLinkage":{"type":"object","properties":{"self":{"$ref":"#/components/schemas/Link"},"thumbnail":{"$ref":"#/components/schemas/LinkObject"}},"additionalProperties":true},"Link":{"oneOf":[{"type":"string","format":"uri"},{"$ref":"#/components/schemas/LinkObject"}]},"LinkObject":{"type":"object","description":"JSON:API link object","properties":{"href":{"type":"string","format":"uri"},"meta":{"type":"object","description":"Non-standard meta-information for the link","properties":{"version":{"type":"string","description":"Asset version name used to generate the link (e.g., thumbnail)"}},"additionalProperties":true}},"required":["href"]},"ErrorResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/TopLevelMeta"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorObject"}}},"required":["errors"]},"ErrorObject":{"type":"object","properties":{"status":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}},"required":["status","title"]},"Error429Response":{"allOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"type":"object","properties":{"meta":{"type":"object","properties":{"timestamp":{"type":"integer"},"retryAfter":{"type":"integer"}}}}}]}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error429Response"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/v1/reports/inactive-assets":{"get":{"summary":"List assets not viewed since a specified date","description":"Returns assets whose effective last-viewed time is on or before filter[inactiveBefore]. Results are always ordered by oldest effective last-viewed time first.","operationId":"listInactiveAssets","tags":["Reports"],"parameters":[{"$ref":"#/components/parameters/ReportLimit"},{"$ref":"#/components/parameters/ReportSkip"},{"name":"filter[inactiveBefore]","in":"query","required":true,"description":"Inclusive Unix-second cutoff. Must be in the past. Assets with an effective last-viewed time on or before this value are returned.\n","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InactiveAssetListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.hivo.co/api/reports.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
