# /

### The Deleter API is a RESTful API based on HTTP(s) requests and JSON responses.

Each response is a JSON object. The data requested is wrapped in the `result` tag. If you have a response, it will always be within the `result` field. We also include a `success` flag, an array of potential `errors`, and `messages` in the response.

An error object will contain an integer `code` field and a `message`

### **Success Response**

```
{
  success: true,
  result: {
    shards: [
      {
        id: 1,
        ready: true,
        status: 0,
        ping: 182,
        channels: 271,
        guilds: 9,
        users: 522
      }
    ],
    totalGuilds: 9,
    totalChannels: 271,
    totalUsers: 522
  },
  messages: [],
  errors: []
}
```

### Error Response

```
{
  success: false,
  result: null,
  messages: [],
  errors: [
    {
      message: 'token is invalid',
      code: 10003
    }
  ]
}
```

```
{
  success: false,
  result: null,
  messages: [
    'lang.commands must be one of the following values: ru, en, gg',
    'lang.interface must be one of the following values: ru, en, gg'
  ],
  errors: [
    {
      message: 'Bad Request',
      code: 0
    }
  ]
}
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iii.deleter.xyz/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
