# Введение

## Для чего нужен Хаб?

Хаб — это система, которая позволяет создавать опросы, запускать и управлять ими в YouThink.

### Как работает доступ к API Хаба?

### Что такое GraphQL

Мы предоставляем единую точку доступа для всего API — она использует GraphQL. GraphQL — это язык запросов, разработанный Facebook, который дает возможность типизации запросов. Примерно почитать о том, что такое GraphQL можно в [примере использования от GitHub](https://developer.github.com/v4/) и [документации GraphQL](https://graphql.org/learn/queries/)

Точка доступа (она же playground) доступна по адресу (требует авторизации): <https://hub.youthink.io/client/graphql-playground>

![GraphQL Playground](/files/-M5Mvi0FT5qoYf2wvc49)

Справа можно открыть документацию. Она описывает все queries (запросы, читают данные) и mutations (мутации, изменяют данные). Например:

![](/files/-M5N786hNNLh-3DRBJLU)


---

# 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://docs.youthink.dev/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.
