> ## Documentation Index
> Fetch the complete documentation index at: https://polymarket-data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Event Tags

> Retrieve tag metadata for an event via gamma.events.getEventTags.

`client.gamma.events.getEventTags` lists the tags associated with an event.

## Request

```ts theme={null}
const tags = await client.gamma.events.getEventTags(id);
```

### Parameters

| Name | Type           | Required | Notes     |
| ---- | -------------- | -------- | --------- |
| `id` | `number` (≥ 0) | ✅        | Event ID. |

## Response

```ts theme={null}
type EventTag = {
  id: string;
  label: string | null;
  slug: string | null;
  forceShow: boolean | null;
  publishedAt: string | null;
  createdBy: number | null;
  updatedBy: number | null;
  createdAt: string | null;
  updatedAt: string | null;
  forceHide: boolean | null;
  isCarousel: boolean | null;
};
```

## Usage example

```ts theme={null}
const tags = await client.gamma.events.getEventTags(35723);

console.log(tags.map((tag) => tag.slug));
```

## Failure modes

* `id` must be numeric.
