> For the complete documentation index, see [llms.txt](https://docs.fireboom.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fireboom.io/v1.0/ji-chu-ke-shi-hua-kai-fa/shu-ju-yuan/graphql-api.md).

# GraphQL 数据源

## 新建**GraphQL** API

**新建数据源** -> **GraphQL API**，设置参数，如名称、GraphQL端点。

<figure><img src="/files/hLcQhGo84Fp4DXNVZzmT" alt=""><figcaption><p><strong>GraphQL</strong>数据源</p></figcaption></figure>

本质上GraphQL数据源将作为 子图 合并到Fireboom[超图](/v1.0/he-xin-gai-nian/chao-tu.md)中。

* 内省schema：默认选项，对于支持内省的GraphQL端点，飞布自动内省获得GraphQL Schema（子图），并以名称作为命名空间，合并到“[超图](/v1.0/he-xin-gai-nian/chao-tu.md)”中。
* 指定schema：对于不支持内省的GraphQL端点，需要取消勾选“复选框”，展开“指定Schema”选项，手动上传Schema文件

## 认证方式

参考 REST API [REST 数据源](/v1.0/ji-chu-ke-shi-hua-kai-fa/shu-ju-yuan/rest-api.md#ren-zheng-fang-shi)。

\\
