---
title: "Add thumbnail to a query image"
method: POST
path: "/queries/{file_id}/thumbnails/{thumbnail_id}"
tags: ["files"]
---

# Add thumbnail to a query image

`POST /queries/{file_id}/thumbnails/{thumbnail_id}`

Attaches an already-existing thumbnail to a query image.

## Path parameters

- `file_id` string, required
- `thumbnail_id` string, required

## Response `200`

OK

## Other responses

- `404` — The requested resource was not found

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/versions/bcd187478e0d/schema)
