> For the complete documentation index, see [llms.txt](https://developer.eagle.cool/web-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.eagle.cool/web-api/zh-tw/get-started/playground.md).

# API Playground

Eagle 內建了互動式 API 遊樂場，讓您無需撰寫任何程式碼即可直接測試所有 API 端點。在瀏覽器中開啟：

```
http://localhost:41595/api/v2/playground
```

<figure><img src="/files/eLTDFmCui88n6j8XfFGn" alt="Eagle API v2 Playground"><figcaption></figcaption></figure>

遊樂場的特色功能：

* **即時測試** — 直接對您目前的 Eagle 資源庫發送真實的 API 請求，立即查看回應結果
* **GUI 參數輸入** — 透過表單選擇和填入參數，無需手動組裝 JSON
* **程式碼片段** — 每次操作都會自動產生對應的 JavaScript `fetch` 程式碼，可直接複製使用
* **完整端點列表** — 左側導航列出所有可用的 API 端點，按分類整理

{% hint style="info" %}
遊樂場直接操作您的實際資源庫資料。寫入操作（如新增、更新、刪除）會真正修改您的資料，請謹慎操作。
{% endhint %}


---

# 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://developer.eagle.cool/web-api/zh-tw/get-started/playground.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.
