AI Visibility Table
ai_visibility_table
The AI Visibility table captures the results of LLM prompt executions for a shop, including the prompt, a preview of the response, whether the shop was mentioned, and any cited sources. Querying this table helps you track brand/merchant visibility in AI answers over time and analyze which topics, prompts, and citations appear in those responses.
Note
event_dateis a required field for queries on this table.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
Title | ID | Type | Description |
|---|---|---|---|
Event Date |
| date | The date the AI visibility prompt execution ran. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected). |
Event Day |
| date | The day the event occurred. Derived from |
Event Week |
| date | The Sunday of the week during which the event occurred. Derived from |
Event Month |
| date | The month during which the event occurred. Derived from |
Event Quarter |
| date | The first month of the quarter during which the event occurred. Derived from |
Event Year |
| date | The year during which the event occurred. Derived from |
Prompt Execution Timestamp |
| timestamp | Timestamp of when the prompt execution ran (UTC). Example value: |
Prompt Execution ID |
| string | Unique identifier for a single prompt execution. Example value: |
LLM |
| string | The LLM that was used for the prompt execution. Example values: |
Is Mentioned |
| boolean | Whether the shop was mentioned in the response. Possible values: |
Prompt ID |
| string | The prompt identifier associated with the execution. Example value: |
Prompt Text |
| string | The prompt text used for the execution. Example values: |
Response Preview |
| string | Preview of the LLM response (first 200 characters). Example value: |
Shop ID |
| string | The unique ID of the shop (often corresponds to the shop domain). Can be used to group or filter data by shop in multi-store reports. Example values: |
Shop Name |
| string | The name of the shop. Can be used to group or filter data by shop in multi-store reports. Example values: |
Cited Sources |
| record repeated | Citations/sources returned by the LLM for the prompt execution. Each record represents one cited source. |
Cited Source Domain |
| string | Domain of a cited source. Example value: |
Cited Source URL |
| string | URL of a cited source. Example value: |
Citation Order |
| numeric | Order of the citation in the response (lower numbers appear earlier). Example value: |
Topic ID |
| string | The topic identifier associated with the prompt execution. Example value: |
Topic Name |
| string | The topic name associated with the prompt execution. Example value: |
Derived
Derived fields are metrics that are pre-calculated using multiple measures or advanced formulas.
Title | ID | Type | Description |
|---|---|---|---|
Visibility Percentage |
| formula | Percentage of prompt executions where the shop was mentioned in the LLM response. Visibility % = Number of Mentions / Number of Prompt Executions |
Updated 18 days ago