> For the complete documentation index, see [llms.txt](https://api.eagle.cool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.eagle.cool/library/icon.md).

# /api/library/icon

**`GET`** Obtain the icon of the specified Library.

| Parameter   | Description             |
| ----------- | ----------------------- |
| libraryPath | The path of the library |

**Sample Code:**

{% code overflow="wrap" %}

```javascript
const libraryPath = encodeURIComponent("/Users/augus/Pictures/Design.library");
const image = `http://localhost:41595/api/library/icon?libraryPath=${libraryPath}`;
```

{% endcode %}
