Appendix
Date presets#
Pass date_range_preset with one of these values. For other ranges, use an explicit date_range instead.
| Preset | Description |
|---|---|
1h | Last 1 hour |
4h | Last 4 hours |
12h | Last 12 hours |
24h | Last 24 hours |
7d | Last 7 days |
30d | Last 30 days |
90d | Last 90 days |
Granularity options#
When using auto granularity, the system selects the best granularity from the requested time range.
| Granularity | Description | Auto-selected for |
|---|---|---|
5min | 5-minute intervals | 1h preset |
15min | 15-minute intervals | 4h preset |
30min | 30-minute intervals | 12h preset |
1h | Hourly intervals | 24h preset |
hourly | Hourly intervals alias | - |
daily | Daily intervals | 7d, 30d presets |
weekly | Weekly intervals | 90d preset |
aggregate | Single total, no time series | - |
auto | Automatically selects based on range | Default |
Goal types#
Used when setting a goal on a block or test, for example with accelerate/set-block-goal or accelerate/create-ab-test.
| Goal | Description |
|---|---|
engagement | Any meaningful interaction with the content. |
click_any_link | A click on any link inside the content. |
cta_click | A click on the block's primary call-to-action only — block-scoped, not ambient page-wide links. |
submit_form | A form submission inside the content. |
These four goals ship by default. The accepted values are not a fixed list — they are derived from the site's registered goals, so a theme or plugin can register additional conversion goals and they become valid options automatically. The abilities reject any goal that is not registered, so query the current set rather than assuming only the built-ins.
Filter operators#
Query and aggregation abilities, such as accelerate/query-events and accelerate/aggregate, accept these filter operators:
| Operator | Description |
|---|---|
eq | Exact match |
neq | Does not match |
contains | String contains value |
gt | Numeric greater than |
lt | Numeric less than |
in | Value in array |
Audience field conditions use their own operator symbols — =, !=, *= (contains), !* (does not contain), and ^= (starts with) for strings, plus gt, gte, lt, and lte for numbers. Use accelerate/get-audience-fields to see which operators each field supports.
Attribution terms#
- First-touch attribution gives credit to the first known source.
- Last-touch attribution gives credit to the most recent known source before conversion.
- UTM performance groups traffic and conversions by campaign tags.
Who gets the credit
Content identifiers#
Abilities can target content by ID when known. When the user gives a title, URL, or partial phrase, call accelerate/search-content first and confirm the matched item before mutating it.
Old AI docs route#
The previous AI docs lived at /docs/ai-integration. That route remains available and points into this Accelerate AI section.
Further resources#
- Accelerate Documentation - full product documentation.
- Model Context Protocol - MCP specification and documentation.
- Feature Requests - submit feedback and feature ideas.