> For the complete documentation index, see [llms.txt](https://relationlabs.gitbook.io/relation-one-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://relationlabs.gitbook.io/relation-one-api/api-zh/api/introduction.md).

# 介绍

{% hint style="warning" %}
**Warning:** 当前Api是Beta版本，有可能发生变动，请及时关注最新动态。
{% endhint %}

Welcome to the API docs for Relation One.

本服务采用REST API规范，服务地址：

{% content-ref url="/pages/G3ObYIsPnQBeSTlI9csb" %}
[服务地址](/relation-one-api/api-zh/guide/environment.md)
{% endcontent-ref %}

这里是我们的完整api，欢迎提出改进意见。

{% content-ref url="/pages/NcjrYjr7ewDLjjLJDZ0E" %}
[签名认证](/relation-one-api/api-zh/api/signature.md)
{% endcontent-ref %}

{% content-ref url="/pages/VnLThvqBmZ5RjBjZ5WmU" %}
[登录认证](/relation-one-api/api-zh/api/auth.md)
{% endcontent-ref %}

{% content-ref url="/pages/YWZdtdmGIVzLDrKnF9Bc" %}
[聊天管理](/relation-one-api/api-zh/api/chats.md)
{% endcontent-ref %}

{% content-ref url="/pages/W043OhIUC0UySo4g73iC" %}
[消息管理](/relation-one-api/api-zh/api/message.md)
{% endcontent-ref %}

{% content-ref url="/pages/VbUg53t1jovAPSKgNjc7" %}
[用户推荐](/relation-one-api/api-zh/api/recommendation.md)
{% endcontent-ref %}

{% content-ref url="/pages/RjfXaIqJECSvN5OUNh33" %}
[好友关系](/relation-one-api/api-zh/api/follows.md)
{% endcontent-ref %}

{% content-ref url="/pages/nOJ5kOmdhCip4JmKyH2e" %}
[用户信息](/relation-one-api/api-zh/api/profile.md)
{% endcontent-ref %}

{% content-ref url="/pages/NpkQ1489i07wrStuVpYv" %}
[群组管理](/relation-one-api/api-zh/api/channel.md)
{% endcontent-ref %}


---

# 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 dynamically by asking a question.

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

```
GET https://relationlabs.gitbook.io/relation-one-api/api-zh/api/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
