---
metadata:
  - name: generator
    content: Diplodoc Platform v5.44.0
alternate:
  - https://yandex.ru/dev/webmaster/doc/en/concepts/migration-guide.md
  - https://yandex.ru/dev/webmaster/doc/ru/concepts/migration-guide.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/webmaster/doc/en/llms.txt

# Migration guide to version 4.1

This section contains information about differences between version 4.1 and 4.0 of the API.

## Added {#added}

The following resources were added:

#|
||
**URI** | **GET**
||
||
`/user/{user-id}/hosts/{host-id}/search-queries/all/history/`
|
[Getting general statistics for all search queries](https://yandex.ru/dev/webmaster/doc/en/reference/host-search-queries-history-all.md)
||
||
`/user/{user-id}/hosts/{host-id}/search-queries/{query-id}/`
|
[Getting general statistics for a search query](https://yandex.ru/dev/webmaster/doc/en/reference/host-search-queries-history.md)
||
||
`/user/{user-id}/hosts/{host-id}/links/internal/samples/`
|
[Getting information about broken internal links on the site](https://yandex.ru/dev/webmaster/doc/en/reference/host-links-internal-samples.md)
||
||
`/user/{user-id}/hosts/{host-id}/links/internal/history/`
|[Getting the history of changes in the number of broken internal links on the site](https://yandex.ru/dev/webmaster/doc/en/reference/host-links-internal-history.md)
||
||
`/user/{user-id}/hosts/{host-id}/important-urls/`
|
[Monitoring important pages](https://yandex.ru/dev/webmaster/doc/en/reference/host-id-important-urls.md)
||
||
`/user/{user-id}/hosts/{host-id}/important-urls/history/`
|
[Getting the history of changes to an important page](https://yandex.ru/dev/webmaster/doc/en/reference/host-id-important-urls-history.md)
||
|#


## Changed {#edited}

The [GET /user/{user-id}/hosts/{host-id}/search-queries/popular/](https://yandex.ru/dev/webmaster/doc/en/reference/host-search-queries-popular.md) method now provides more data. You can:

- Set the period for which you want to get the statistics.

- Specify the type of device from which users entered search queries.


