> 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/item/thumbnail.md).

# /api/item/thumbnail

**`GET`** Get the path of the thumbnail of the file specified. If you would like to get a batch of thumbnail paths, the combination of `Library path` + `Object ID`is recommended.

| Parameter | Description    |
| --------- | -------------- |
| id        | ID of the file |

**Sample Code:**

```javascript
var requestOptions = {
  method: 'GET',
  redirect: 'follow'
};

fetch("http://localhost:41595/api/item/thumbnail?id=KBHG6KA0Y5S9W", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
```

**Results Returned:**

```javascript
{
    "status": "success",
    "data": "/Users/augus/Pictures/test.library/images/KBKE04XSTXR7I.info/Rosto.jpg"
}
```
