> For the complete documentation index, see [llms.txt](https://docs-cn.filswan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-cn.filswan.com/kai-fa-zi-yuan/api-keys.md).

# API密钥

FIlSwan authenticates your API requests using your account’s API keys. If you don’t include your key when making an API request, or use an incorrect or outdated one, FIlSwan returns an error.

### **To create a FilSwan account**

1. Open <https://console.filswan.com/#/register>
2. Follow the online instructions.

### Creating an API key\*\* \*\*

1. Login to [https://console.filswan.com](https://console.filswan.com/#/dashboard)
2. Click “My Profile”

![](https://miro.medium.com/max/1423/1*NtMGIWHEqIVxigF1ilcGvA.png)

```
 3\. Click “Dev Tool”
```

![](https://miro.medium.com/max/472/1*Fs0bXllT2z0e6SxVWtJO8g.png)

```
 4\. click “New API Key”![](https://miro.medium.com/max/60/1\*YKI27roaXznrwN0mIotGQg.png?q=20)
```

![](https://miro.medium.com/max/908/1*3sZqhBjClQ-tkGVAOAGkyw.png)

![](https://miro.medium.com/max/952/1*YKI27roaXznrwN0mIotGQg.png)

5\. Copy and Save your API key and Access Token![](https://miro.medium.com/max/60/1*CKyaJmkKZ9U6Krvk1nFA_Q.png?q=20)\\

![](https://miro.medium.com/max/949/1*CKyaJmkKZ9U6Krvk1nFA_Q.png)


---

# 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:

```
GET https://docs-cn.filswan.com/kai-fa-zi-yuan/api-keys.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.
