> 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/miria-4.6/miria-4.6-fr/documentation-de-reference/reference-de-lapi-rest/statistics.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Statistics

## GET /statistics/archivings/

> \
> \
> Returns the detailed progress of the archiving processes.\<BR>\
> Possibles (query string) parameters are :\<BR>\
> \
> \*\*archiveProject\*\*: name\<BR> get statistics for specified archiving project name (from endpoint /organizations/archiving-projects)\<BR>\
> \
> (or)\
> \
> \*\*task\*\*: task\_name\<BR> get statistics for specified task name\<BR>\
> \
> \*\*includeDisabled\*\*:true|false\<BR>  if true include disabled tasks in statistics, default: false\<BR>\
> \
> task\_name and project name parameters are mutually exclusive.\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/statistics/archivings/":{"get":{"operationId":"statisticsArchivingsRetrieve","description":"\n\nReturns the detailed progress of the archiving processes.<BR>\nPossibles (query string) parameters are :<BR>\n\n**archiveProject**: name<BR> get statistics for specified archiving project name (from endpoint /organizations/archiving-projects)<BR>\n\n(or)\n\n**task**: task_name<BR> get statistics for specified task name<BR>\n\n**includeDisabled**:true|false<BR>  if true include disabled tasks in statistics, default: false<BR>\n\ntask_name and project name parameters are mutually exclusive.\n\n","parameters":[{"in":"query","name":"archiveProject","schema":{"type":"string"}},{"in":"query","name":"task","schema":{"type":"string"}},{"in":"query","name":"includeDisabled","schema":{"type":"string"}}],"tags":["statistics"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /statistics/backups/

> \
> \
> Returns the detailed progress of the backup processes.\<BR>\
> Possibles (query string) parameters are :\<BR>\
> \
> \*\*backupProject\*\*: name\<BR> get statistics for specified migration,\
> archiving or backup project name (from endpoint /organizations/backup-projects)\<BR>\
> \
> (or)\
> \
> \*\*task\*\*: task\_name\<BR> get statistics for specified task name\<BR>\
> \
> \*\*includeDisabled\*\*:true|false\<BR>  if true include disabled tasks in statistics, default: false\<BR>\
> \
> task\_name and project name parameters are mutually exclusive.\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/statistics/backups/":{"get":{"operationId":"statisticsBackupsRetrieve","description":"\n\nReturns the detailed progress of the backup processes.<BR>\nPossibles (query string) parameters are :<BR>\n\n**backupProject**: name<BR> get statistics for specified migration,\narchiving or backup project name (from endpoint /organizations/backup-projects)<BR>\n\n(or)\n\n**task**: task_name<BR> get statistics for specified task name<BR>\n\n**includeDisabled**:true|false<BR>  if true include disabled tasks in statistics, default: false<BR>\n\ntask_name and project name parameters are mutually exclusive.\n\n","parameters":[{"in":"query","name":"backupProject","schema":{"type":"string"}},{"in":"query","name":"task","schema":{"type":"string"}},{"in":"query","name":"includeDisabled","schema":{"type":"string"}}],"tags":["statistics"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /statistics/migrations/

> \
> \
> Returns the detailed progress of the migration processes.\<BR>\
> Possibles (query string) parameters are :\<BR>\
> \
> \*\*migrationProject\*\*: name\<BR> get statistics for specified migration project name (from endpoint /organizations/migration-projects)\<BR>\
> \
> (or)\
> \
> \*\*task\*\*: task\_name\<BR> get statistics for specified task name\<BR>\
> \
> \*\*includeDisabled\*\*:true|false\<BR>  if true include disabled tasks in statistics, default: false\<BR>\
> \
> task\_name and project name parameters are mutually exclusive.\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/statistics/migrations/":{"get":{"operationId":"migrationProject","description":"\n\nReturns the detailed progress of the migration processes.<BR>\nPossibles (query string) parameters are :<BR>\n\n**migrationProject**: name<BR> get statistics for specified migration project name (from endpoint /organizations/migration-projects)<BR>\n\n(or)\n\n**task**: task_name<BR> get statistics for specified task name<BR>\n\n**includeDisabled**:true|false<BR>  if true include disabled tasks in statistics, default: false<BR>\n\ntask_name and project name parameters are mutually exclusive.\n\n","parameters":[{"in":"query","name":"migrationProject","schema":{"type":"string"}},{"in":"query","name":"task","schema":{"type":"string"}},{"in":"query","name":"includeDisabled","schema":{"type":"string"}}],"tags":["statistics"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /statistics/task-report/

> \*\*Create a PDF report of a job\*\*\
> \
> \*-- Endpoint compatible with MaxDB --\*\
> &#x20;      &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/statistics/task-report/":{"get":{"operationId":"statisticsTaskReportRetrieve","description":"**Create a PDF report of a job**\n\n*-- Endpoint compatible with MaxDB --*\n        ","parameters":[{"in":"query","name":"jobId","schema":{"type":"integer"},"required":true}],"tags":["statistics"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Report (pdf format) path"}}},"description":""}}}}}}
```

## GET /statistics/volume-report/repositories/

> Get repositories volume report

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/statistics/volume-report/repositories/":{"get":{"operationId":"statisticsVolumeReportRepositoriesList","description":"Get repositories volume report","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["statistics"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":"Returns repositories volume report"}}}}}},"description":""}}}}}}
```

## GET /statistics/volume-report/storage/

> Get storage volume report

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/statistics/volume-report/storage/":{"get":{"operationId":"statisticsVolumeReportStorageList","description":"Get storage volume report","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["statistics"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":"Returns storage volume report"}}}}}},"description":""}}}}}}
```


---

# 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/miria-4.6/miria-4.6-fr/documentation-de-reference/reference-de-lapi-rest/statistics.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.
