> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreep.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Media Tags

> Read a stored image's tags with dreep.getMediaTags().

```ts theme={null}
const { tagStatus, tags } = await dreep.getMediaTags({ id: asset.id });
```

## Parameters

| Parameter | Type | Description |
| :- | :- | :- |
| `id` | `string` | **Required.** The image's ID |
| `signal` | `AbortSignal` | Cancels the request |

## Returns

| Field | Type | Description |
| :- | :- | :- |
| `tags` | `SavedTag[]` | Your own tags first, then Dreep's by confidence |
| `tagStatus` | `TagStatus \| null` | `pending`, `done`, `failed` or `skipped`. `null` when tagging was never asked for |

`skipped` means the account had no credit left for tagging when the image was
uploaded. Call [`tagMedia()`](https://docs.dreep.cloud/node-sdk/tags/tag-media) to try again after topping up.

The statuses are exported as constants:

```ts theme={null}
import { TAG_STATUS } from "dreep";

if (tagStatus === TAG_STATUS.DONE) {
  // …
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.