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

# segmentTagSuggestions

> Lists the tags used on the tenant's segments, with how many segments use each, most used first. Archived segments don't count.



**query** `segmentTagSuggestions: [SegmentTagSuggestion!]!`

## Returns

`[SegmentTagSuggestion!]!`

**`count`**: `Int!`

Number of segments that carry the tag, archived ones not counted.

---

**`tag`**: `String!`

Tag as set on the segments.

## Examples

```graphql Query
query SegmentTagSuggestions {
  segmentTagSuggestions {
    count
    tag
  }
}
```

```json Response
{
  "data": {
    "segmentTagSuggestions": [
      {
        "count": 1,
        "tag": "string"
      }
    ]
  }
}
```


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