---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.ru/support/wiki/en/api-ref/index.md
  - https://yandex.ru/support/wiki/ru/api-ref/index.md
  - href: en/api-ref/index.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/en/llms.txt

<!-- markdownlint-disable-file -->

# Wiki Public API

##version: 1.0.0##


### Error format

In general, an error message has the following structure:
```(json)
{
    "debug_message": "",
    "details": {},
    "error_code": ""
}
```
For example:
```(json)
{
    "debug_message": "Validation failed",
    "details": {
        "body": {
            "data": [
                {
                    "debug_message": "field required",
                    "error_code": "value_error.missing"
                }
            ]
        }
    },
    "error_code": "VALIDATION_ERROR"
}
```

Use `error_code` as the primary reference. The `debug_message` field contains a human-readable description of the error. The `details` field provides additional information when available, or `null` if not applicable.

#### Validation error message format
```(json)
{
    "debug_message": "Validation failed",
    "details": {
        "<source>": {
            "<field>": [
                {
                    "debug_message": "<validation debug message>",
                    "error_code": "<validation error code>"
                }
            ]
        }
    },
    "error_code": "VALIDATION_ERROR"
}
```

```<source>``` — the data source where the validation error occurred; possible values: ```[body, query]```

```<field>``` — the name of the field that failed validation. The value is a list containing the local `debug_message` and `error_code` with details about the error.



## Sections

- [Pages](https://yandex.ru/support/wiki/en/api-ref/pages/index.md)
- [Attached Files](https://yandex.ru/support/wiki/en/api-ref/attachments/index.md)
- [Page Access](https://yandex.ru/support/wiki/en/api-ref/pages_access/index.md)
- [Page Resources](https://yandex.ru/support/wiki/en/api-ref/pagesresources/index.md)
- [Comments](https://yandex.ru/support/wiki/en/api-ref/comments/index.md)
- [Dynamic Tables](https://yandex.ru/support/wiki/en/api-ref/grids/index.md)
- [Users](https://yandex.ru/support/wiki/en/api-ref/users/index.md)
- [Upload Sessions](https://yandex.ru/support/wiki/en/api-ref/upload_sessions/index.md)
- [Operations](https://yandex.ru/support/wiki/en/api-ref/operations/index.md)
- [Page Recovery](https://yandex.ru/support/wiki/en/api-ref/recovery_tokens/index.md)
- [Search](https://yandex.ru/support/wiki/en/api-ref/search/index.md)
