> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Semantic Models

# Type: Semantic Model Object

# Link: https://dev.wix.com/docs/api-reference/business-management/analytics/semantic-models/semantic-model-object.md

## Description: A semantic model defining the measures, dimensions, and parameters available for querying site performance data, such as traffic, revenue, and engagement metrics.

## Schema:

```json
 Type: Semantic Model Object | type: SemanticModel
 Description: A semantic model defining the measures, dimensions, and parameters available for querying site performance data, such as traffic, revenue, and engagement metrics.
       - name: id  | type: string | description: Semantic model ID.
       - name: slug  | type: string | description: URL-friendly identifier for the semantic model.
       - name: measures  | type: Array<Field> | description: Quantitative fields available for aggregation, such as revenue, page views, or order count.
           - name: name  | type: string | description: Field name. Use this value in the `fields` array of a query request to retrieve this field's data.
           - name: type  | type: string | description: Data type of the field.
               enum: UNKNOWN, STRING, NUMBER, BOOLEAN, DATE, DATE_TIME, OBJECT, ARRAY
           - name: filters  | type: FieldFilters | description: Supported filter operations for this field.
               - name: prefixes  | type: Array<FilterPrefixEnum> | description: Supported prefix modifiers for this field.
               - name: conditions  | type: Array<FilterConditionEnum> | description: Supported comparison conditions for this field.
           - name: sortable  | type: boolean | description: Whether this field supports sorting.
               - name: value  | type: boolean | description: 
           - name: enumerations  | type: Array<StringValue> | description: Allowed values for this field, if the field is an enumerated type.
               - name: value  | type: string | description: 
           - name: groupSlug  | type: string | description: Grouping identifier. Fields with the same `groupSlug` are logically related.
           - name: description  | type: string | description: Human-readable description of what this field represents.
           - name: dependencies  | type: Array<StringValue> | description: Other fields this field depends on. The field returns data only if at least one of these fields is also included in the query; otherwise it's silently omitted from results.
       - name: dimensions  | type: Array<Field> | description: Categorical fields available for grouping data, such as traffic source, country, or product name.
       - name: parameters  | type: Array<Field> | description: Optional inputs that customize query behavior, such as currency or date granularity.
       - name: description  | type: string | description: Human-readable description of the semantic model.
       - name: keywords  | type: Array<StringValue> | description: Keywords associated with the semantic model for search and discovery.

```