> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/aggregated-statistics/aggr-stats.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Aggr Stats

Aggregated Stats

## List available sources having aggregated stats data

> List available sources having aggregated stats data

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/lstsources.json":{"get":{"tags":["AggrStats"],"summary":"List available sources having aggregated stats data","description":"List available sources having aggregated stats data","operationId":"lstsources","parameters":[{"name":"type","in":"query","description":"Get sources of this type","required":true,"schema":{"type":"string","enum":["aln","alnA","hss","hssA","repli","repli_aln","repli_hss","repli_ade"],"description":"Sources type:\n* aln - ALN (activity + status)\n* alnA - ALN activity\n* hss - HSS (activity + status)\n* hssA - HSS activity\n* repli - Replication (all)\n* repli_aln - ALN replication\n* repli_hss - HSS replication\n* repli_ade - ADE replication\n","default":"aln"}},{"name":"fromTs","in":"query","description":"Get sources of this type","required":false,"schema":{"type":"integer","format":"int64","description":"List only sources having data after this timestamp"}},{"name":"toTs","in":"query","description":"Get sources of this type","required":false,"schema":{"type":"integer","format":"int64","description":"List only sources having data before this timestamp"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"Sources":{"type":"array","items":{"type":"object","properties":{"Name":{"type":"string","description":"Source name"}}}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get time / timezone of the server infos

> Get time / timezone of the server infos

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/timeinfos.json":{"get":{"tags":["AggrStats"],"summary":"Get time / timezone of the server infos","description":"Get time / timezone of the server infos","operationId":"timeinfos","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"ServerTime":{"type":"object","properties":{"TimeMs":{"type":"integer","format":"int64","description":"Timestamp (ms) since January 1st, 1970, GMT time zone"},"TimeZoneMs":{"type":"integer","format":"int64","description":"Time shift (ms) corresponding to the server timezone"}}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ADE in/out activity stats

> Get ADE in/out activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithType":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"Type":{"type":"string","enum":["internal","ade_repliin","ade_repliout"],"default":"internal","description":"Type of activity:\n* internal - General stats\n* ade_repliin - Replication IN stats\n* ade_repliout - Replication OUT stats\n"},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityADEInOut":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"chkBlock":{"type":"integer","format":"int64","description":"Number of blocks check done during the step"},"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done during the step"},"decrBlock":{"type":"integer","format":"int64","description":"Number of blocks decrement done during the step"},"putBlock":{"type":"integer","format":"int64","description":"Number of blocks added during the step"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get done during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"readNativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read during the step"},"writtenVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume written during the step"},"writtenNativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume written during the step"},"backLinkBlock":{"type":"integer","format":"int64","description":"Number of blocks backlinked during the step"},"backLinkVolume":{"type":"integer","format":"int64","description":"Size (B) of data backlinked during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_ade_inout.json":{"post":{"tags":["AggrStats"],"summary":"Get ADE in/out activity stats","description":"Get ADE in/out activity stats","operationId":"activity_ade_inout","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithType"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"inout_<internal/ade_repliin/ade_repliout>_<hr/dy/wk>":{"type":"array","items":{"$ref":"#/components/schemas/ActivityADEInOut"}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ADE maintenance activity stats

> Get ADE maintenance activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Params":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityADEMaint":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"delBlock":{"type":"integer","format":"int64","description":"Number of blocks deleted during the step"},"chgBlock":{"type":"integer","format":"int64","description":"Number of blocks changed during the step"},"readBlock":{"type":"integer","format":"int64","description":"Number of blocks read during the step"},"skippedBlock":{"type":"integer","format":"int64","description":"Number of blocks skipped during the step"},"writeBlock":{"type":"integer","format":"int64","description":"Number of blocks written during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"freedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume freed during the step"},"movedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume moved during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_ade_maint.json":{"post":{"tags":["AggrStats"],"summary":"Get ADE maintenance activity stats","description":"Get ADE maintenance activity stats","operationId":"activity_ade_maint","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Params"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"ade_maint_<hr/dy/wk>":{"type":"array","items":{"$ref":"#/components/schemas/ActivityADEMaint"}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN backup activity stats

> Get ALN backup activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityALNBackup":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done during the step"},"addBlock":{"type":"integer","format":"int64","description":"Number of blocks added during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume transfered during the step"},"writtenObjs":{"type":"integer","format":"int64","description":"Number of objects transfered during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_aln_backup.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN backup activity stats","description":"Get ALN backup activity stats","operationId":"activity_aln_backup","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_backup_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityALNBackup"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/ActivityALNBackup"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN restore activity stats

> Get ALN restore activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityALNRestore":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get during the step"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read during the step"},"readObjs":{"type":"integer","format":"int64","description":"Number of objects get during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_aln_restore.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN restore activity stats","description":"Get ALN restore activity stats","operationId":"activity_aln_restore","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_restore_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityALNRestore"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/ActivityALNRestore"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN replication IN activity stats

> Get ALN replication IN activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityALNBackup":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done during the step"},"addBlock":{"type":"integer","format":"int64","description":"Number of blocks added during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume transfered during the step"},"writtenObjs":{"type":"integer","format":"int64","description":"Number of objects transfered during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_aln_repliin.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN replication IN activity stats","description":"Get ALN replication IN activity stats","operationId":"activity_aln_repliin","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_repliin_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityALNBackup"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/ActivityALNBackup"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN replication OUT activity stats

> Get ALN replication OUT activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityALNRestore":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get during the step"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read during the step"},"readObjs":{"type":"integer","format":"int64","description":"Number of objects get during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_aln_repliout.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN replication OUT activity stats","description":"Get ALN replication OUT activity stats","operationId":"activity_aln_repliout","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_repliout_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityALNRestore"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/ActivityALNRestore"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN restore local DB activity stats

> Get ALN restore local DB activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityALNRestore":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get during the step"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read during the step"},"readObjs":{"type":"integer","format":"int64","description":"Number of objects get during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_aln_rldb.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN restore local DB activity stats","description":"Get ALN restore local DB activity stats","operationId":"activity_aln_rldb","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_rldb_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityALNRestore"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/ActivityALNRestore"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN ageing activity stats

> Get ALN ageing activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityALNAging":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"decrBlock":{"type":"integer","format":"int64","description":"Number of blocks decrement done during the step"},"deletedObjs":{"type":"integer","format":"int64","description":"Number of objects deleted during the step"},"freedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume freed during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_aln_aging.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN ageing activity stats","description":"Get ALN ageing activity stats","operationId":"activity_aln_aging","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_aging_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityALNAging"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/ActivityALNAging"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS backup activity stats

> Get HSS backup activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityHSSBackup":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done during the step"},"addBlock":{"type":"integer","format":"int64","description":"Number of blocks added during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume transfered during the step"},"writtenStreams":{"type":"integer","format":"int64","description":"Number of streams transfered during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_hss_backup.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS backup activity stats","description":"Get HSS backup activity stats","operationId":"activity_hss_backup","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"hss_backup_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityHSSBackup"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/ActivityHSSBackup"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS restore activity stats

> Get HSS restore activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityHSSRestore":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get during the step"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read during the step"},"readStreams":{"type":"integer","format":"int64","description":"Number of streams get during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_hss_restore.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS restore activity stats","description":"Get HSS restore activity stats","operationId":"activity_hss_restore","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"hss_restore_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityHSSRestore"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/ActivityHSSRestore"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS replication IN activity stats

> Get HSS replication IN activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityHSSBackup":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done during the step"},"addBlock":{"type":"integer","format":"int64","description":"Number of blocks added during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume transfered during the step"},"writtenStreams":{"type":"integer","format":"int64","description":"Number of streams transfered during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_hss_repliin.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS replication IN activity stats","description":"Get HSS replication IN activity stats","operationId":"activity_hss_repliin","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"hss_repliin_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityHSSBackup"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/ActivityHSSBackup"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS replication OUT activity stats

> Get HSS replication OUT activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityHSSRestore":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get during the step"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get during the step"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read during the step"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered during the step"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read during the step"},"readStreams":{"type":"integer","format":"int64","description":"Number of streams get during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_hss_repliout.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS replication OUT activity stats","description":"Get HSS replication OUT activity stats","operationId":"activity_hss_repliout","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"hss_repliout_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityHSSRestore"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/ActivityHSSRestore"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS delete activity stats

> Get HSS delete activity stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"ActivityHSSDelete":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"decrBlock":{"type":"integer","format":"int64","description":"Number of blocks decrement done during the step"},"deletedStreams":{"type":"integer","format":"int64","description":"Number of streams deleted during the step"},"freedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume freed during the step"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) during the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_hss_delete.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS delete activity stats","description":"Get HSS delete activity stats","operationId":"activity_hss_delete","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"hss_delete_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ActivityHSSDelete"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/ActivityHSSDelete"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ADE status stats

> Get ADE status stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Params":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"StatusADE":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"usedBlocks":{"type":"integer","format":"int64","description":"Number of blocks used at the time of the step"},"usedSpace":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume used at the time of the step"},"unusedBlocks":{"type":"integer","format":"int64","description":"Number of blocks unused at the time of the step"},"unusedSpace":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume unused at the time of the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/status_ade.json":{"post":{"tags":["AggrStats"],"summary":"Get ADE status stats","description":"Get ADE status stats","operationId":"status_ade","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/Params"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"ade_status_<hr/dy/wk>":{"type":"array","items":{"$ref":"#/components/schemas/StatusADE"}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN status stats

> Get ALN status stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"StatusALN":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"totalObjs":{"type":"integer","format":"int64","description":"Total number of objects at the time of the step"},"activeObjs":{"type":"integer","format":"int64","description":"Number of active (not expired) objects at the time of the step"},"totalVolume":{"type":"integer","format":"int64","description":"Total size (B) of compressed data volume used at the time of the step"},"activeVolume":{"type":"integer","format":"int64","description":"Size (B) of active (not expired) compressed data volume used at the time of the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/status_aln.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN status stats","description":"Get ALN status stats","operationId":"status_aln","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_status_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/StatusALN"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/StatusALN"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS status stats

> Get HSS status stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"StatusHSS":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"totalObjs":{"type":"integer","format":"int64","description":"Total number of objects at the time of the step"},"totalVolume":{"type":"integer","format":"int64","description":"Total size (B) of compressed data volume used at the time of the step"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/status_hss.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS status stats","description":"Get HSS status stats","operationId":"status_hss","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_status_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/StatusHSS"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/StatusHSS"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get ALN replication status stats

> Get ALN replication status stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithAgentID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"AgentID":{"type":"string","description":"Agent ID:\n- '' or not provided - All cumulative / Top (if 'SortField' is provided)\n- '@all' - All detail\n- 'Name' - Agent name\n- Not provided - Top\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"},"SortField":{"type":"string","description":"Sort field for top (first field if not found)","default":""},"MaxNb":{"type":"integer","description":"Number N of results for top (1-1000)","format":"int64","default":10},"SortDirection":{"type":"string","description":"Sort order for top:\n- desc - N biggests in descending order\n- asc - N smallests in ascending order \n","enum":["desc","asc"],"default":"desc"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"StatusRepli":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"timeShiftMax":{"type":"integer","format":"int64","description":"Maximum replication timeshift at the time of the step"},"timeShiftAvg":{"type":"integer","format":"int64","description":"Average replication timeshift at the time of the step (= timeShiftMax if agentID / sourceID provided)"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/status_aln_repli.json":{"post":{"tags":["AggrStats"],"summary":"Get ALN replication status stats","description":"Get ALN replication status stats","operationId":"status_aln_repli","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithAgentID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"aln_status_repli_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/StatusRepli"},{"type":"object","properties":{"Name":{"type":"string","description":"Agent ID"},"Data":{"$ref":"#/components/schemas/StatusRepli"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get HSS replication status stats

> Get HSS replication status stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ParamsWithSourceID":{"type":"object","properties":{"TimeUnit":{"$ref":"#/components/schemas/TimeUnit"},"SourceID":{"type":"string","description":"Source ID:\n- '' - All cumulative\n- '@all' - All detail\n- 'Name' -  Source name\n","default":""},"NbSteps":{"$ref":"#/components/schemas/NbSteps"},"EndPIT":{"$ref":"#/components/schemas/EndPIT"}},"xml":{"name":"Params"}},"TimeUnit":{"type":"string","enum":["hr","dy","wk"],"default":"hr","description":"Time unit for the result:\n* hr - hours\n* dy - days\n* wk - weeks\n"},"NbSteps":{"type":"integer","format":"int32","description":"Number of steps","default":1},"EndPIT":{"type":"integer","format":"int32","description":"Point in time corresponding to last step's ending / 0 for current time","default":0},"StatusRepli":{"type":"object","properties":{"ts":{"type":"integer","format":"int64","description":"Timestamp (ms) of the step's beginning"},"duration":{"type":"integer","format":"int64","description":"Width (ms) of the step"},"timeShiftMax":{"type":"integer","format":"int64","description":"Maximum replication timeshift at the time of the step"},"timeShiftAvg":{"type":"integer","format":"int64","description":"Average replication timeshift at the time of the step (= timeShiftMax if agentID / sourceID provided)"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/status_hss_repli.json":{"post":{"tags":["AggrStats"],"summary":"Get HSS replication status stats","description":"Get HSS replication status stats","operationId":"status_hss_repli","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"$ref":"#/components/schemas/ParamsWithSourceID"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"hss_status_repli_<hr/dy/wk>":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/StatusRepli"},{"type":"object","properties":{"Name":{"type":"string","description":"Source ID"},"Data":{"$ref":"#/components/schemas/StatusRepli"}}}]}},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get activity monitoring stats

> Get activity monitoring stats

```json
{"openapi":"3.0.1","info":{"title":"Lina Aggregated Stats API","version":"7.3.0"},"tags":[{"name":"AggrStats","description":"Aggregated Stats"}],"servers":[{"url":"/ADESTATS"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"MonitoringADEInOut":{"type":"object","properties":{"chkBlock":{"type":"integer","format":"int64","description":"Number of blocks check done since server started"},"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done since server started"},"decrBlock":{"type":"integer","format":"int64","description":"Number of blocks decrement done since server started"},"putBlock":{"type":"integer","format":"int64","description":"Number of blocks added since server started"},"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get done since server started"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read since server started"},"readNativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read since server started"},"writtenVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume written since server started"},"writtenNativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume written since server started"},"backLinkBlock":{"type":"integer","format":"int64","description":"Number of blocks backlinked since server started"},"backLinkVolume":{"type":"integer","format":"int64","description":"Size (B) of data backlinked since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringADEMaint":{"type":"object","properties":{"delBlock":{"type":"integer","format":"int64","description":"Number of blocks deleted since server started"},"chgBlock":{"type":"integer","format":"int64","description":"Number of blocks changed since server started"},"readBlock":{"type":"integer","format":"int64","description":"Number of blocks read since server started"},"skippedBlock":{"type":"integer","format":"int64","description":"Number of blocks skipped since server started"},"writeBlock":{"type":"integer","format":"int64","description":"Number of blocks written since server started"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read since server started"},"freedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume freed since server started"},"movedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume moved since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringALNBackup":{"type":"object","properties":{"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done since server started"},"addBlock":{"type":"integer","format":"int64","description":"Number of blocks added since server started"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered since server started"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume transfered since server started"},"writtenObjs":{"type":"integer","format":"int64","description":"Number of objects transfered since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringALNRestore":{"type":"object","properties":{"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get since server started"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get since server started"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read since server started"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered since server started"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read since server started"},"readObjs":{"type":"integer","format":"int64","description":"Number of objects get since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringALNAging":{"type":"object","properties":{"decrBlock":{"type":"integer","format":"int64","description":"Number of blocks decrement done since server started"},"deletedObjs":{"type":"integer","format":"int64","description":"Number of objects deleted since server started"},"freedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume freed since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringHSSBackup":{"type":"object","properties":{"incrBlock":{"type":"integer","format":"int64","description":"Number of blocks increment done since server started"},"addBlock":{"type":"integer","format":"int64","description":"Number of blocks added since server started"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered since server started"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume transfered since server started"},"writtenStreams":{"type":"integer","format":"int64","description":"Number of streams transfered since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringHSSRestore":{"type":"object","properties":{"getBlock":{"type":"integer","format":"int64","description":"Number of blocks get since server started"},"getDigest":{"type":"integer","format":"int64","description":"Number of digests get since server started"},"readVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume read since server started"},"transferVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume transfered since server started"},"nativeVolume":{"type":"integer","format":"int64","description":"Size (B) of raw data volume read since server started"},"readStreams":{"type":"integer","format":"int64","description":"Number of streams get since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"MonitoringHSSDelete":{"type":"object","properties":{"decrBlock":{"type":"integer","format":"int64","description":"Number of blocks decrement done since server started"},"deletedStreams":{"type":"integer","format":"int64","description":"Number of streams deleted since server started"},"freedVolume":{"type":"integer","format":"int64","description":"Size (B) of compressed data volume freed since server started"},"workload":{"type":"integer","format":"int64","description":"Cumulated activity time (ms) since server started"}}},"Status":{"type":"integer","format":"int32","enum":[0,1,2,3,13,104,999],"description":"Status code:\n* 0 - HN_AGGRSTATS_STATUS_OK (OK)\n* 1 - HN_AGGRSTATS_STATUS_ERR_XML (Error in XML format)\n* 2 - HN_AGGRSTATS_STATUS_ERR_PARAM (Bad parameter)\n* 3 - HN_AGGRSTATS_STATUS_ERR_BADCOMMAND (Bad command)\n* 13 - HN_AGGRSTATS_STATUS_ERR_PERM (Not authorized)\n* 104 - HN_AGGRSTATS_STATUS_ERR_BUFFER (Buffer too small)\n* 999 - HN_AGGRSTATS_STATUS_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HN_AGGRSTATS_STATUS_OK","HN_AGGRSTATS_STATUS_ERR_XML","HN_AGGRSTATS_STATUS_ERR_PARAM","HN_AGGRSTATS_STATUS_ERR_BADCOMMAND","HN_AGGRSTATS_STATUS_ERR_PERM","HN_AGGRSTATS_STATUS_ERR_BUFFER","HN_AGGRSTATS_STATUS_ERR"],"default":"HN_AGGRSTATS_STATUS_OK"}}},"paths":{"/activity_monitoring.json":{"get":{"tags":["AggrStats"],"summary":"Get activity monitoring stats","description":"Get activity monitoring stats","operationId":"activity_monitoring","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"Timestamp":{"type":"integer","format":"int64","description":"Timestamp of the data (ms)"},"intout_internal":{"$ref":"#/components/schemas/MonitoringADEInOut"},"inout_ade_repliin":{"$ref":"#/components/schemas/MonitoringADEInOut"},"inout_ade_repliout":{"$ref":"#/components/schemas/MonitoringADEInOut"},"ade_maint":{"$ref":"#/components/schemas/MonitoringADEMaint"},"aln_backup":{"$ref":"#/components/schemas/MonitoringALNBackup"},"aln_restore":{"$ref":"#/components/schemas/MonitoringALNRestore"},"aln_repliin":{"$ref":"#/components/schemas/MonitoringALNBackup"},"aln_repliout":{"$ref":"#/components/schemas/MonitoringALNRestore"},"aln_rldb":{"$ref":"#/components/schemas/MonitoringALNRestore"},"aln_aging":{"$ref":"#/components/schemas/MonitoringALNAging"},"hss_backup":{"$ref":"#/components/schemas/MonitoringHSSBackup"},"hss_restore":{"$ref":"#/components/schemas/MonitoringHSSRestore"},"hss_repliin":{"$ref":"#/components/schemas/MonitoringHSSBackup"},"hss_repliout":{"$ref":"#/components/schemas/MonitoringHSSRestore"},"hss_delete":{"$ref":"#/components/schemas/MonitoringHSSDelete"},"status":{"$ref":"#/components/schemas/Status"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```


---

# 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://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/aggregated-statistics/aggr-stats.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.
