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

# SupportTopicMatches

> Which of the store's topics a sample message would get, from the classifier the store uses for tickets.

**Required scopes:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**matches** `[\[SupportTopicMatch!\]!](/docs/api-reference/v3/reference/support/support-topic-match)` *required*

In AGENT mode, every topic that matched, possibly none; a classifier call that fails or times out also matches none, as on the help desk. In EMBEDDING mode, the single closest topic, matched or not, so a near miss shows. Empty when the store has no topics.

**fields**

**distance** `Float`

In EMBEDDING mode, how far the sample is from the topic: smaller is closer, and below the match threshold it matches. Null in AGENT mode.

**matched** `Boolean!` *required*

Whether a ticket with this text would get the topic. Always true in AGENT mode.

**topic** `[SupportTopic](/docs/api-reference/v3/reference/support/support-topic)`

The topic. Null if it was deleted since the test ran.

**fields**

**description** `String!` *required*

What the topic covers. The classifier matches tickets against the name and this text.

**id** `ID!` *required*

The id of this topic.

**name** `String!` *required*

Topic name, unique within the store.

**mode** `[SupportTopicClassifierMode!](/docs/api-reference/v3/reference/support/support-topic-classifier-mode)` *required*

The classifier that ran, the store's current mode.

**text** `String!` *required*

The sample as classified, with surrounding spaces trimmed.


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