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.
client.gamma.events.getEventTags lists the tags associated with an event.
Request
const tags = await client.gamma.events.getEventTags(id);
Parameters
| Name | Type | Required | Notes |
|---|
id | number (≥ 0) | ✅ | Event ID. |
Response
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
const tags = await client.gamma.events.getEventTags(35723);
console.log(tags.map((tag) => tag.slug));
Failure modes