@thinkingai/ae-cli 6.0.20 → 6.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/README.md +1 -4
  2. package/README.zh.md +1 -4
  3. package/dist/{auth-GHBMJ5ZR.js → auth-A2XXG5K4.js} +34 -110
  4. package/dist/auth-IDPKDFSY.js +13 -0
  5. package/dist/chunk-2OW2RENH.js +193 -0
  6. package/dist/{chunk-I5CRVM2S.js → chunk-4FQ36OGO.js} +44 -17
  7. package/dist/{chunk-6W4QOZAL.js → chunk-65DKFJZB.js} +26 -16
  8. package/dist/chunk-AKORWVHJ.js +59 -0
  9. package/dist/{chunk-BJX3GXWC.js → chunk-F3ZDMC2W.js} +8 -8
  10. package/dist/chunk-FIT4CFIN.js +59 -0
  11. package/dist/{chunk-5OC7CYCG.js → chunk-IDXW6MEJ.js} +14 -14
  12. package/dist/{chunk-DMMEPCST.js → chunk-NGJDCOYA.js} +25 -115
  13. package/dist/chunk-NXJP4CES.js +209 -0
  14. package/dist/chunk-OCQPQYHZ.js +105 -0
  15. package/dist/{chunk-2DUEAXV3.js → chunk-ONOA6DYB.js} +1 -1
  16. package/dist/{chunk-RSHMZ3LG.js → chunk-PFJFZVCK.js} +13 -134
  17. package/dist/chunk-V5R5UIRM.js +195 -0
  18. package/dist/{chunk-PN3OS34E.js → chunk-WXBCP6SD.js} +1 -1
  19. package/dist/cli-token-OZXHC3U2.js +14 -0
  20. package/dist/{client-2UJ63MVQ.js → client-7L735LVY.js} +3 -3
  21. package/dist/{config-NCUGK6NS.js → config-SXD2JKSL.js} +3 -3
  22. package/dist/index.js +312 -197
  23. package/dist/metadata-QWUAX625.js +411 -0
  24. package/dist/metadata-XWTEGEN2.js +411 -0
  25. package/dist/{model-SJSOZTRS.js → model-3OVX42DA.js} +2 -2
  26. package/dist/{raw-7NVWSVJP.js → raw-IANB4AV5.js} +4 -4
  27. package/dist/{sync-GRVO4K3U.js → sync-4HQ3CXSK.js} +3 -3
  28. package/dist/{te-agent-CYZUC4US.js → te-agent-OYNNTJDU.js} +2 -2
  29. package/dist/{te-analysis-HJ22TUAA.js → te-analysis-CRPFK3LX.js} +1114 -358
  30. package/dist/te-analysis-JX3V76OI.js +2281 -0
  31. package/dist/{te-audience-MYDE5WEH.js → te-audience-77FGNG5E.js} +27 -18
  32. package/dist/te-audience-RO2IZOUC.js +599 -0
  33. package/dist/{te-common-WNCZB7R7.js → te-common-4TRJPRC5.js} +5 -4
  34. package/dist/te-common-PUXBUPOL.js +130 -0
  35. package/dist/{te-community-JEEFXPB3.js → te-community-NPDZQKMY.js} +5 -4
  36. package/dist/te-community-XKE526DS.js +687 -0
  37. package/dist/te-dataops-6KWLFNV4.js +1841 -0
  38. package/dist/{te-dataops-ZTS7XMXM.js → te-dataops-PW74WP76.js} +5 -5
  39. package/dist/{te-engage-4XHCTS6I.js → te-engage-HTLMUN7G.js} +5 -4
  40. package/dist/te-engage-YPQIVF5H.js +1510 -0
  41. package/dist/{te-kb-OWM3RQRH.js → te-kb-DOGDQIU4.js} +4 -5
  42. package/dist/{te-meta-JVO4QJBH.js → te-meta-5ESSQ5B3.js} +26 -19
  43. package/dist/te-meta-Z47X4VT3.js +595 -0
  44. package/dist/{te-team-YY24VORI.js → te-team-SOVKZIDD.js} +5 -6
  45. package/package.json +3 -2
  46. package/skills/ae-analysis/SKILL.md +60 -27
  47. package/skills/ae-analysis/references/analysis_gateway_assets.md +114 -0
  48. package/skills/ae-analysis/references/bi_panel_copy.md +15 -0
  49. package/skills/ae-analysis/references/bi_panel_create.md +15 -0
  50. package/skills/ae-analysis/references/bi_panel_delete.md +15 -0
  51. package/skills/ae-analysis/references/bi_panel_get.md +18 -0
  52. package/skills/ae-analysis/references/bi_panel_list.md +15 -0
  53. package/skills/ae-analysis/references/bi_panel_page_data_export.md +15 -0
  54. package/skills/ae-analysis/references/bi_panel_page_data_run.md +15 -0
  55. package/skills/ae-analysis/references/bi_panel_share.md +15 -0
  56. package/skills/ae-analysis/references/bi_panel_update.md +15 -0
  57. package/skills/ae-analysis/references/build_attribution_analysis_qp.md +2 -0
  58. package/skills/ae-analysis/references/build_cluster_definition.md +2 -0
  59. package/skills/ae-analysis/references/build_distribution_analysis_qp.md +2 -0
  60. package/skills/ae-analysis/references/build_event_analysis_qp.md +2 -0
  61. package/skills/ae-analysis/references/build_funnel_analysis_qp.md +2 -0
  62. package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +2 -0
  63. package/skills/ae-analysis/references/build_interval_analysis_qp.md +2 -0
  64. package/skills/ae-analysis/references/build_path_analysis_qp.md +2 -0
  65. package/skills/ae-analysis/references/build_prop_analysis_qp.md +2 -0
  66. package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +2 -0
  67. package/skills/ae-analysis/references/build_retention_analysis_qp.md +2 -0
  68. package/skills/ae-analysis/references/build_tag_definition.md +2 -0
  69. package/skills/ae-analysis/references/dashboard_abnormal_get.md +15 -0
  70. package/skills/ae-analysis/references/dashboard_copy.md +15 -0
  71. package/skills/ae-analysis/references/dashboard_create.md +15 -0
  72. package/skills/ae-analysis/references/dashboard_daily_report_send.md +15 -0
  73. package/skills/ae-analysis/references/dashboard_daily_report_update.md +15 -0
  74. package/skills/ae-analysis/references/dashboard_definition_export.md +15 -0
  75. package/skills/ae-analysis/references/dashboard_definition_import.md +15 -0
  76. package/skills/ae-analysis/references/dashboard_delete.md +15 -0
  77. package/skills/ae-analysis/references/dashboard_freeze.md +15 -0
  78. package/skills/ae-analysis/references/dashboard_get.md +15 -0
  79. package/skills/ae-analysis/references/dashboard_handover.md +15 -0
  80. package/skills/ae-analysis/references/dashboard_list.md +15 -0
  81. package/skills/ae-analysis/references/dashboard_report_data_export.md +15 -0
  82. package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -0
  83. package/skills/ae-analysis/references/dashboard_share.md +15 -0
  84. package/skills/ae-analysis/references/dashboard_share_info.md +15 -0
  85. package/skills/ae-analysis/references/dashboard_task_status.md +15 -0
  86. package/skills/ae-analysis/references/dashboard_update.md +16 -0
  87. package/skills/ae-analysis/references/favorite_add.md +15 -0
  88. package/skills/ae-analysis/references/favorite_remove.md +15 -0
  89. package/skills/ae-analysis/references/folder_create.md +15 -0
  90. package/skills/ae-analysis/references/folder_delete.md +15 -0
  91. package/skills/ae-analysis/references/folder_members.md +15 -0
  92. package/skills/ae-analysis/references/folder_share.md +15 -0
  93. package/skills/ae-analysis/references/list_clusters.md +3 -1
  94. package/skills/ae-analysis/references/list_events.md +5 -2
  95. package/skills/ae-analysis/references/list_metrics.md +4 -2
  96. package/skills/ae-analysis/references/list_properties.md +4 -2
  97. package/skills/ae-analysis/references/list_tags.md +3 -1
  98. package/skills/ae-analysis/references/project_space_create.md +15 -0
  99. package/skills/ae-analysis/references/project_space_delete.md +15 -0
  100. package/skills/ae-analysis/references/project_space_get.md +18 -0
  101. package/skills/ae-analysis/references/project_space_list.md +15 -0
  102. package/skills/ae-analysis/references/project_space_members.md +15 -0
  103. package/skills/ae-analysis/references/project_space_share.md +15 -0
  104. package/skills/ae-analysis/references/public_link_create.md +15 -0
  105. package/skills/ae-analysis/references/public_link_delete.md +15 -0
  106. package/skills/ae-analysis/references/public_link_list.md +15 -0
  107. package/skills/ae-analysis/references/public_link_offline.md +15 -0
  108. package/skills/ae-analysis/references/public_link_update.md +15 -0
  109. package/skills/ae-analysis/references/query_cancel.md +15 -0
  110. package/skills/ae-generate-tracking-code/SKILL.md +68 -31
  111. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +26 -1
  112. package/skills/ae-generate-tracking-code/references/te-api.md +47 -164
  113. package/skills/ae-generate-tracking-plan/SKILL.md +109 -32
  114. package/skills/ae-generate-tracking-plan/references/te-api.md +57 -27
  115. package/skills/ae-metadata/SKILL.md +90 -0
  116. package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +15 -0
  117. package/skills/ae-metadata/references/metadata_data_table_csv_write.md +31 -0
  118. package/skills/ae-metadata/references/metadata_data_table_download.md +17 -0
  119. package/skills/ae-metadata/references/metadata_data_table_get.md +24 -0
  120. package/skills/ae-metadata/references/metadata_data_table_list.md +27 -0
  121. package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +17 -0
  122. package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +15 -0
  123. package/skills/ae-metadata/references/metadata_data_table_sql_write.md +32 -0
  124. package/skills/ae-metadata/references/metadata_event_get.md +52 -0
  125. package/skills/ae-metadata/references/metadata_input_file_upload.md +29 -0
  126. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +27 -0
  127. package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +32 -0
  128. package/skills/ae-metadata/references/metadata_property_get.md +54 -0
  129. package/dist/auth-DYC2BGLM.js +0 -21
@@ -10,6 +10,7 @@ description: "AE/TE/ThinkingEngine/ThinkingAI ae-cli manual for analysis-side ta
10
10
  > **CRITICAL - For all commands that require `project_id`, you MUST satisfy `PROJECT_ID_GATE` first (no guessing): verify the project by ID/name with `analysis_common +list_projects` only when there is no valid project context yet, when the user switches project/host/environment, or when the supplied project is ambiguous. Reuse a project already verified in the same continuous conversation and same host/environment.**
11
11
  > **CRITICAL - For write operations in this skill, you MUST complete the post-write link loop when applicable:** after success and extractable `resource_id`, call `analysis_common +get_resource_url` and return the main result + resource link (or explicit link-failure reason).
12
12
  > **CRITICAL - Before running any `+<tool_name>` command, you MUST first read the corresponding `references/<tool_name>.md`.** The reference filename always equals the command name without the leading `+`, for example `+query_adhoc` -> `references/query_adhoc.md`.
13
+ > **CRITICAL - Before running any capability-gateway asset command such as `ae-cli analysis dashboard list`, `ae-cli analysis bi-panel get`, `ae-cli analysis project-space create`, or `ae-cli analysis public-link list`, read the matching `references/<resource>_<action>.md` file. Replace hyphens with underscores, for example `analysis dashboard list` -> `references/dashboard_list.md`, `analysis bi-panel get` -> `references/bi_panel_get.md`. Use [`references/analysis_gateway_assets.md`](references/analysis_gateway_assets.md) only as the overview matrix.**
13
14
 
14
15
  ## Global AE CLI Rules
15
16
 
@@ -21,7 +22,7 @@ Global parameters:
21
22
  | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
22
23
  | `--format <json\|table>` | Output format. Default is JSON. |
23
24
  | `--jq <expr>` | jq filter expression for JSON output. |
24
- | `--host <url>` | Override the active AE host. Available on every command and may be placed after the subcommand, e.g. `ae-cli analysis +list_dashboards --host <url>`. |
25
+ | `--host <url>` | Override the active AE host. Available on every command and may be placed after the subcommand, e.g. `ae-cli analysis dashboard list --host <url>`. |
25
26
 
26
27
  Output and errors:
27
28
 
@@ -41,10 +42,10 @@ Use `ae-analysis` for all AE analysis-side work below:
41
42
 
42
43
  - Domain `analysis`: alerts, reports/dashboards, ad-hoc model analysis, drilldown, entity/event details, schema helpers.
43
44
  - Domain `analysis_audience`: clusters/tags and definition schemas.
44
- - Domain `analysis_meta`: metadata governance, metrics, virtual metadata, project config, tracking plans, mark times, entity catalog.
45
+ - Domain `analysis_meta`: metadata governance, metrics, virtual metadata, project config, tracking plans, mark times, entity catalog (MCP). For **single** super-event / super-property **detail** on the capability gateway, switch to **`ae-metadata`** skill (`metadata event get`, `metadata property get`).
45
46
  - Domain `analysis_common`: project listing and post-write resource links.
46
47
 
47
- If user intent is Engage/DataOps/Community, switch to `ae-engage` / `ae-dataops` / `ae-community`.
48
+ If user intent is Engage/DataOps/Community/metadata gateway detail, switch to `ae-engage` / `ae-dataops` / `ae-community` / **`ae-metadata`**.
48
49
 
49
50
  ## Command Format
50
51
 
@@ -52,14 +53,55 @@ If user intent is Engage/DataOps/Community, switch to `ae-engage` / `ae-dataops`
52
53
  - `ae-cli analysis_audience +<tool_name> [options]`
53
54
  - `ae-cli analysis_meta +<tool_name> [options]`
54
55
  - `ae-cli analysis_common +<tool_name> [options]`
56
+ - `ae-cli analysis <resource> <action> [options]` for capability-gateway dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and async asset data commands.
55
57
 
56
58
  Conventions:
57
59
 
58
- - CLI flags use underscores, e.g. `--project_id`.
60
+ - MCP `+<tool_name>` command flags use underscores, e.g. `--project_id`.
61
+ - Capability-gateway command flags use kebab-case, e.g. `--project-id`, `--dashboard-id`, `--request-id`. The CLI sends snake_case JSON to the gateway.
59
62
  - MCP params map automatically to camelCase.
60
63
  - JSON args pass as JSON string literals.
61
64
  - Write operations require confirmation unless `--yes`.
62
65
 
66
+ ## Capability Gateway Asset Commands
67
+
68
+ Use these commands for dashboard, BI panel, project space, folder, favorite, public link, dashboard definition import/export, dashboard daily report, and dashboard/BI page data operations:
69
+
70
+ ```bash
71
+ ae-cli analysis dashboard list --project-id <project_id>
72
+ ae-cli analysis dashboard get --project-id <project_id> --dashboard-id <dashboard_id>
73
+ ae-cli analysis dashboard update --project-id <project_id> --operation settings --dashboard-id <dashboard_id> --payload '{...}'
74
+ ae-cli analysis dashboard-report-data export --project-id <project_id> --dashboard-id <dashboard_id>
75
+ ae-cli analysis bi-panel-page-data run --project-id <project_id> --panel-id <panel_id> --page-key <page_key> --result-type charts
76
+ ae-cli analysis project-space list --project-id <project_id>
77
+ ae-cli analysis query cancel --run-id <run_id>
78
+ ```
79
+
80
+ Use capability-gateway asset commands when the user wants to manage or inspect:
81
+
82
+ - Dashboards, dashboard basic detail including creator/create time, dashboard sharing, dashboard notes, dashboard copy/freeze/handover/delete, abnormal info, task status.
83
+ - Dashboard report data that may be large or long-running. Prefer `dashboard-report-data export` for large results; use `run` only for bounded inline results.
84
+ - Dashboard definition export/import. Use `dashboard-definition import --validate-only true` for import pre-checks; do not look for a separate import-check command.
85
+ - Dashboard daily report update or immediate send.
86
+ - BI panel list/detail/create/update/delete/share/copy and BI page data. Prefer `bi-panel-page-data export` for large results.
87
+ - Project spaces, folders, favorites, and public links.
88
+
89
+ Do **not** use these commands for:
90
+
91
+ - Ad-hoc model analysis, report definition, report data, drilldown, entity/event details, metadata/schema helpers, alerts, audience clusters/tags, or project lookup. Use the existing `+<tool_name>` commands for those.
92
+ - Dashboard locks, BI panel version/lock, dashboard filter module, UI reorder/move/tree operations, daily report retry/download/get-config, public-link logs/source-list/get, or other product-manager-red-marked abilities.
93
+ - Internal-only or UI-only payloads unless the gateway command reference explicitly exposes them through `--payload`.
94
+
95
+ Capability-gateway output:
96
+
97
+ - Successful commands return the standard gateway envelope: `{ "ok": true, "data": ..., "meta": ... }`.
98
+ - Failed commands return `{ "ok": false, "error": ... }` and exit non-zero.
99
+ - Inline `run` data is bounded by `--limit` and `--timeout-seconds`.
100
+ - Export commands return `run_id`, `artifact_id`, artifact status, inspect path, and download path. Use `--artifact-format jsonl` for the artifact format; `--format` is reserved for CLI output formatting. Cancel with `ae-cli analysis query cancel --run-id <run_id>`.
101
+ - Unknown input fields and camelCase external fields are rejected by the gateway; use kebab-case CLI flags only.
102
+
103
+ See [`references/analysis_gateway_assets.md`](references/analysis_gateway_assets.md) for the command matrix. Before running one command, read its dedicated reference file named as `<resource>_<action>.md`.
104
+
63
105
  ## Mandatory Constraints
64
106
 
65
107
  ### A. PROJECT_ID_GATE
@@ -78,7 +120,7 @@ For any command requiring `project_id`:
78
120
 
79
121
  When these writes succeed and `resource_id` is extractable, call `analysis_common +get_resource_url` and append link output:
80
122
 
81
- - `dashboard`: `+create_dashboard`, `+update_dashboard`
123
+ - `dashboard`: `analysis dashboard create`, `analysis dashboard update`
82
124
  - `report`: `+create_report`
83
125
  - `metric`: `+create_metric`, `+update_metric`
84
126
  - `alert`: `+create_alert`, `+update_alert`
@@ -97,7 +139,7 @@ Closed-loop check (must be explicit in result):
97
139
 
98
140
  ### C. FUZZY_SEARCH_FALLBACK
99
141
 
100
- For list commands with `--query` parameter (list_reports, list_dashboards, list_events, list_clusters, list_tags, list_alerts, list_metrics):
142
+ For list commands with `--query` parameter (`list_reports`, `analysis dashboard list`, `list_events`, `list_clusters`, `list_tags`, `list_alerts`, `list_metrics`):
101
143
 
102
144
  1. **First attempt**: Use `--query` with user-provided keyword for fuzzy search
103
145
  2. **If no results found**, retry up to 2 more times with:
@@ -123,8 +165,8 @@ Before executing ad-hoc queries (`query_adhoc`), MUST check for existing reports
123
165
 
124
166
  1. **Identify user intent** - Extract what metrics/dimensions/filters the user wants
125
167
  2. **Search existing reports** - Use `list_reports --query <keyword>` to find matching reports
126
- 3. **Search existing dashboards** - Use `list_dashboards --query <keyword>` to find matching dashboards
127
- 4. **If found** - Use `query_report_data` or `query_dashboard_report_data` to get data from existing assets
168
+ 3. **Search existing dashboards** - Use `analysis dashboard list --query <keyword>` to find matching dashboards
169
+ 4. **If found** - Use `query_report_data` or `analysis dashboard-report-data run/export` to get data from existing assets
128
170
  5. **If not found** - For QP builder-supported models (`event`, `retention`, `funnel`, `prop_analysis`), call the matching builder first and then call `query_adhoc` with builder `qp`; do not call schema or metadata tools between the report/dashboard miss and the builder. For all other `query_adhoc` models, use the legacy schema/metadata path.
129
171
 
130
172
  **Rationale:**
@@ -168,6 +210,13 @@ Builder-supported model routing is:
168
210
 
169
211
  Do not insert metadata/schema calls between steps 2 and 3 for builder-supported models. Specifically, do not call `get_analysis_query_schema`, `list_events`, `list_properties`, `list_metrics`, `get_metric`, or `get_report_definition` to prepare the builder payload. The builder resolves event/property/metric metadata internally and returns `need_clarification` when it cannot.
170
212
 
213
+ Authenticated asset scope:
214
+
215
+ - Use `--authenticated_only true` on metadata list commands (`+list_events`, `+list_properties`, `+list_metrics`, `+list_clusters`, `+list_tags`) when the user explicitly asks to see only authenticated assets.
216
+ - Use `--authenticated_only true` on QP builders and cluster/tag definition builders when the generated QP/definition should resolve only authenticated assets.
217
+ - Do not pass `authenticated_only` or `authenticatedOnly` to `+query_adhoc`; the filter takes effect during metadata resolution and QP/definition construction, not query execution.
218
+ - List responses include `authenticationStatus` by default (`1` authenticated, `0` unauthenticated).
219
+
171
220
  Event metric shortcut:
172
221
 
173
222
  - If the user asks to query a saved/business metric through event analysis, pass the metric name/display name/remark directly as an event metric target: `--metrics '[{"event":"<metric name>"}]'`.
@@ -320,31 +369,15 @@ Alerts (6):
320
369
  - `+update_alert` ([doc](references/update_alert.md))
321
370
  - `+delete_alert` ([doc](references/delete_alert.md))
322
371
 
323
- Reports and Dashboards (24):
372
+ Reports:
324
373
  - `+create_report` ([doc](references/create_report.md))
325
374
  - `+get_report_definition` ([doc](references/get_report_definition.md))
326
375
  - `+list_reports` ([doc](references/list_reports.md))
327
376
  - `+query_report_data` ([doc](references/query_report_data.md))
328
377
  - `+update_report` ([doc](references/update_report.md))
329
378
  - `+delete_report` ([doc](references/delete_report.md))
330
- - `+create_space` ([doc](references/create_space.md))
331
- - `+list_spaces` ([doc](references/list_spaces.md))
332
- - `+create_dashboard` ([doc](references/create_dashboard.md))
333
- - `+list_dashboards` ([doc](references/list_dashboards.md))
334
- - `+query_dashboard_detail` ([doc](references/query_dashboard_detail.md))
335
- - `+query_dashboard_report_data` ([doc](references/query_dashboard_report_data.md))
336
- - `+update_dashboard` ([doc](references/update_dashboard.md))
337
- - `+delete_dashboard` ([doc](references/delete_dashboard.md))
338
- - `+copy_dashboard` ([doc](references/copy_dashboard.md))
339
- - `+freeze_dashboards` ([doc](references/freeze_dashboards.md))
340
- - `+move_dashboard` ([doc](references/move_dashboard.md))
341
- - `+create_or_update_dashboard_note` ([doc](references/create_or_update_dashboard_note.md))
342
- - `+list_public_access_links` ([doc](references/list_public_access_links.md))
343
- - `+create_public_access_link` ([doc](references/create_public_access_link.md))
344
- - `+update_public_access_link` ([doc](references/update_public_access_link.md))
345
- - `+list_bi_panels` ([doc](references/list_bi_panels.md))
346
- - `+get_bi_panel_detail` ([doc](references/get_bi_panel_detail.md))
347
- - `+query_bi_panel_data` ([doc](references/query_bi_panel_data.md))
379
+
380
+ Dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and dashboard/BI data commands are capability-gateway commands. Use `ae-cli analysis <resource> <action>` after reading [`references/analysis_gateway_assets.md`](references/analysis_gateway_assets.md); do not use old `+` dashboard/space/BI/public-link command names.
348
381
 
349
382
  Model Analysis (17):
350
383
  - `+build_event_analysis_qp` ([doc](references/build_event_analysis_qp.md))
@@ -0,0 +1,114 @@
1
+ # analysis capability-gateway asset commands
2
+
3
+ > Prerequisite: follow [`../SKILL.md`](../SKILL.md), especially `PROJECT_ID_GATE`.
4
+
5
+ These commands use the capability gateway instead of MCP tool names. The CLI command shape is:
6
+
7
+ ```bash
8
+ ae-cli analysis <resource> <action> [options]
9
+ ```
10
+
11
+ Flags use kebab-case. The gateway input JSON uses snake_case. Do not pass camelCase flags or payload keys unless a nested backend DTO explicitly requires them inside `--payload`.
12
+
13
+ This file is an overview only. Before running one command, read the dedicated command reference named `references/<resource>_<action>.md` with hyphens converted to underscores, for example `dashboard_report_data_export.md`.
14
+
15
+ ## When to use
16
+
17
+ Use these commands for dashboard, BI panel, project-space, folder, favorite, public-link, dashboard-definition, dashboard-daily-report, and dashboard/BI page data workflows.
18
+
19
+ Prefer export commands for long-running or large data:
20
+
21
+ ```bash
22
+ ae-cli analysis dashboard-report-data export --project-id 1 --dashboard-id 1001
23
+ ae-cli analysis bi-panel-page-data export --project-id 1 --panel-id 2001 --page-key main --result-type charts
24
+ ae-cli analysis query cancel --run-id run_0123456789abcdef0123456789abcdef
25
+ ```
26
+
27
+ ## When not to use
28
+
29
+ Do not use these commands for ad-hoc model analysis, report definition, report data, drilldown, schema helpers, alerts, audience clusters/tags, project lookup, metadata governance, dashboard locks, BI panel version/lock, dashboard filters, UI reorder/tree/move operations, daily report retry/download/get-config, or public-link logs/source-list/get. Use the existing `+<tool_name>` references for those.
30
+
31
+ ## Output
32
+
33
+ All commands return the gateway envelope:
34
+
35
+ ```json
36
+ {
37
+ "ok": true,
38
+ "data": {},
39
+ "meta": {}
40
+ }
41
+ ```
42
+
43
+ Failures return:
44
+
45
+ ```json
46
+ {
47
+ "ok": false,
48
+ "error": {
49
+ "code": "INVALID_QUERY_REQUEST",
50
+ "message": "..."
51
+ }
52
+ }
53
+ ```
54
+
55
+ Export commands return `run_id`, `artifact_id`, `status`, `artifact_status`, `inspect_path`, `download_path`, `expires_at`, and `expires_at_iso`. Download the artifact through the returned path; cancel by `run_id`.
56
+
57
+ ## Command matrix
58
+
59
+ | Command | Capability ID | Use for | Key input | Output |
60
+ | --- | --- | --- | --- | --- |
61
+ | `dashboard list` | `analysis.dashboard.list` | Find accessible dashboards | `--project-id`, optional `--query`, `--fields`, `--limit`, `--offset` | Paginated dashboard summaries |
62
+ | `dashboard create` | `analysis.dashboard.create` | Create a dashboard | `--project-id`, `--dashboard-name`, optional `--space-id`, `--folder-id` | Created dashboard |
63
+ | `dashboard get` | `analysis.dashboard.get` | Inspect one dashboard definition/share/report structure, including creator and creation/update time | `--project-id`, `--dashboard-id` | Dashboard detail |
64
+ | `dashboard update` | `analysis.dashboard.update` | Update settings or upsert a note | `--operation settings|note-upsert`, IDs, optional `--payload` | Update result |
65
+ | `dashboard share-info` | `analysis.dashboard.share_info` | Read dashboard sharing info | `--project-id`, `--dashboard-id` | Share info |
66
+ | `dashboard share` | `analysis.dashboard.share` | Modify dashboard sharing | `--project-id`, `--dashboard-id`, `--payload` or `--member-authorities` | Share update result |
67
+ | `dashboard delete` | `analysis.dashboard.delete` | Delete dashboards | `--project-id`, `--dashboard-ids '[...]'` | Delete result |
68
+ | `dashboard handover` | `analysis.dashboard.handover` | Transfer dashboards | `--dashboard-ids`, `--to-user-id` | Handover result |
69
+ | `dashboard copy` | `analysis.dashboard.copy` | Copy a dashboard | `--dashboard-id`, `--dashboard-name`, optional target IDs | Copied dashboard |
70
+ | `dashboard freeze` | `analysis.dashboard.freeze` | Freeze/unfreeze dashboards | `--dashboard-ids`, optional `--freeze false` | Freeze status |
71
+ | `dashboard abnormal-get` | `analysis.dashboard.abnormal_get` | Inspect abnormal dependencies | `--dashboard-id` | Abnormal info |
72
+ | `dashboard task-status` | `analysis.dashboard.task_status` | Inspect scheduled task status | `--dashboard-id` | Task status |
73
+ | `dashboard-report-data run` | `analysis.dashboard_report_data.run` | Bounded inline dashboard report data | `--dashboard-id`, optional `--report-ids`, `--start-time`, `--end-time`, `--limit` | Inline data |
74
+ | `dashboard-report-data export` | `analysis.dashboard_report_data.export` | Large/long dashboard report data | same as run, plus optional `--artifact-format jsonl` | Async artifact descriptor |
75
+ | `query cancel` | `analysis.query.cancel` | Cancel gateway run/export | `--run-id`, optional `--reason` | Cancellation result |
76
+ | `dashboard-definition export` | `analysis.dashboard_definition.export` | Export dashboard definition JSON | `--dashboard-folder-ids`, `--shared-spaces`, or `--payload` | Definition JSON |
77
+ | `dashboard-definition import` | `analysis.dashboard_definition.import` | Validate/import dashboard definition | `--definition`, optional `--validate-only true` | Validation or import result |
78
+ | `dashboard-daily-report update` | `analysis.dashboard_daily_report.update` | Update daily report config | `--dashboard-id`, optional config flags or `--payload` | Config result |
79
+ | `dashboard-daily-report send` | `analysis.dashboard_daily_report.send` | Send daily report immediately | `--dashboard-id`, optional `--payload` | Async send result |
80
+ | `bi-panel list` | `analysis.bi_panel.list` | Find accessible BI panels | `--project-id`, optional list filters | Paginated BI panel summaries |
81
+ | `bi-panel get` | `analysis.bi_panel.get` | Inspect released BI panel page structure | `--panel-id`, optional `--fields` | Panel structure |
82
+ | `bi-panel create` | `analysis.bi_panel.create` | Create a BI panel | optional `--panel-name`, `--payload` | Created panel |
83
+ | `bi-panel update` | `analysis.bi_panel.update` | Update BI panel content/metadata | optional `--payload` | Update result |
84
+ | `bi-panel delete` | `analysis.bi_panel.delete` | Delete BI panels | `--panel-ids '[...]'` | Delete result |
85
+ | `bi-panel share` | `analysis.bi_panel.share` | Modify BI panel sharing | `--panel-id`, `--payload` | Share update result |
86
+ | `bi-panel copy` | `analysis.bi_panel.copy` | Copy a BI panel | optional source/target flags and `--payload` | Copied panel |
87
+ | `bi-panel-page-data run` | `analysis.bi_panel_page_data.run` | Bounded inline BI page data | `--panel-id`, `--page-key`, `--result-type charts|summary` | Inline page data |
88
+ | `bi-panel-page-data export` | `analysis.bi_panel_page_data.export` | Large/long BI page data | same as run, optional `--artifact-format jsonl` | Async artifact descriptor |
89
+ | `project-space list` | `analysis.project_space.list` | Find accessible project spaces | `--project-id`, optional list filters | Paginated project spaces |
90
+ | `project-space get` | `analysis.project_space.get` | Inspect one project space | `--project-id`, `--space-id` | Project space detail |
91
+ | `project-space create` | `analysis.project_space.create` | Create a project space | `--space-name` or `--payload` | Created space |
92
+ | `project-space delete` | `analysis.project_space.delete` | Delete project spaces | `--space-id` or `--space-ids` | Delete result |
93
+ | `project-space share` | `analysis.project_space.share` | Modify project-space members | `--space-id`, `--payload` | Share update result |
94
+ | `project-space members` | `analysis.project_space.members` | Read project-space members | `--space-id` | Members |
95
+ | `folder create` | `analysis.folder.create` | Create personal/project-space folder | `--folder-name`, optional `--space-id`, `--parent-folder-id` | Created folder |
96
+ | `folder delete` | `analysis.folder.delete` | Delete folders | `--folder-id` or `--folder-ids`, optional `--space-id` | Delete result |
97
+ | `folder share` | `analysis.folder.share` | Modify folder members | `--folder-id`, `--payload` | Share update result |
98
+ | `folder members` | `analysis.folder.members` | Read folder members | `--folder-id` | Members |
99
+ | `favorite add` | `analysis.favorite.add` | Favorite dashboard/BI/folder | `--asset-id`, `--asset-type`, optional `--payload` | Favorite result |
100
+ | `favorite remove` | `analysis.favorite.remove` | Remove favorite | same as add | Remove result |
101
+ | `public-link create` | `analysis.public_link.create` | Generate public link | `--resource-type`, `--resource-id`, `--effective-at`, `--expires-at` | Link result |
102
+ | `public-link list` | `analysis.public_link.list` | List public links | `--project-id`, optional list filters | Paginated links |
103
+ | `public-link update` | `analysis.public_link.update` | Edit public link | `--link-id`, `--effective-at`, `--expires-at` | Update result |
104
+ | `public-link offline` | `analysis.public_link.offline` | Take links offline | `--link-id` or `--link-ids` | Offline result |
105
+ | `public-link delete` | `analysis.public_link.delete` | Delete public links | `--link-id` or `--link-ids` | Delete result |
106
+
107
+ ## Examples
108
+
109
+ ```bash
110
+ ae-cli analysis dashboard list --project-id 1 --query retention --limit 20
111
+ ae-cli analysis dashboard update --project-id 1 --operation note-upsert --dashboard-id 1001 --note-title "Summary" --description "Weekly note" --yes
112
+ ae-cli analysis dashboard-definition import --project-id 1 --definition '{"dashboard_folders":[],"shared_spaces":[]}' --validate-only true
113
+ ae-cli analysis public-link create --project-id 1 --resource-type dashboard --resource-id 1001 --effective-at "2026-07-08 00:00:00" --expires-at "2026-08-08 00:00:00" --yes
114
+ ```
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel copy
2
+
3
+ Use when the user wants to copy a BI panel, optionally targeting a project space or folder.
4
+
5
+ Do not use to create a blank BI panel. Use `bi-panel create`.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel copy --project-id <project_id> [--panel-name <name>] [--panel-uuid <source_uuid>] [--space-id <space_id>] [--folder-id <folder_id>] [--payload '{...}'] --yes
11
+ ```
12
+
13
+ Input sends `project_id`, optional source/target fields, and `payload`.
14
+
15
+ Output is the gateway envelope. `data` contains the copied BI panel result.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel create
2
+
3
+ Use when the user explicitly wants to create a BI panel.
4
+
5
+ Do not use to copy an existing BI panel. Use `bi-panel copy`.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel create --project-id <project_id> [--panel-name <name>] [--panel-uuid <uuid>] [--space-id <space_id>] [--folder-id <folder_id>] [--payload '{...}'] --yes
11
+ ```
12
+
13
+ Input sends `project_id` plus optional BI panel identifiers, target IDs, and `payload`.
14
+
15
+ Output is the gateway envelope. `data` contains the created BI panel result.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel delete
2
+
3
+ Use when the user explicitly wants to delete one or more BI panels.
4
+
5
+ Do not use for dashboards. Use `dashboard delete`.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel delete --project-id <project_id> --panel-ids '[2001,2002]' --yes
11
+ ```
12
+
13
+ Input sends `project_id` and `panel_ids`.
14
+
15
+ Output is the gateway envelope. `data` contains the delete result.
@@ -0,0 +1,18 @@
1
+ # analysis bi-panel get
2
+
3
+ Use when the user needs one BI panel's released page structure.
4
+
5
+ Do not use to query chart data. Use `bi-panel-page-data run` or `bi-panel-page-data export`.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel get --project-id <project_id> --panel-id <panel_id> [--fields '["pages"]']
11
+ ```
12
+
13
+ Input sends `project_id`, `panel_id`, and optional `fields`.
14
+
15
+ Supported fields are `basic`, `pages`, `charts`, `chartFilterControls`, `summary`,
16
+ `parameterControls`, and `permissionControls`.
17
+
18
+ Output is the gateway envelope. `data` contains the BI panel structure.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel list
2
+
3
+ Use when the user needs to find BI panels they can access.
4
+
5
+ Do not use for dashboard assets. Use `dashboard list`.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel list --project-id <project_id> [--query <keyword>] [--fields '["id","name"]'] [--limit 20] [--offset 0]
11
+ ```
12
+
13
+ Input sends `project_id` and optional `query`, `fields`, `limit`, `offset`.
14
+
15
+ Output is the gateway envelope. `data` contains BI panel summaries and paging metadata when returned.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel-page-data export
2
+
3
+ Use for BI panel page data that may be large or long-running.
4
+
5
+ Do not use for tiny previews. Use `bi-panel-page-data run` with a small limit.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel-page-data export --project-id <project_id> --panel-id <panel_id> --page-key <page_key> --result-type charts [--chart-ids '["chart1"]'] [--artifact-format jsonl]
11
+ ```
12
+
13
+ Input sends `project_id`, `panel_id`, `page_key`, `result_type`, and optional control, paging, cache, request, timeout, and format fields. Use CLI flag `--artifact-format` for the gateway `format` input; `--format` is the CLI output formatter.
14
+
15
+ Output is the gateway envelope. `data` contains an async export descriptor such as `run_id`, `artifact_id`, status fields, inspect path, and download path.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel-page-data run
2
+
3
+ Use for bounded inline BI panel page chart or summary data.
4
+
5
+ Do not use for large or long-running page data. Use `bi-panel-page-data export`.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel-page-data run --project-id <project_id> --panel-id <panel_id> --page-key <page_key> --result-type charts [--chart-ids '["chart1"]'] [--limit 100] [--timeout-seconds 60]
11
+ ```
12
+
13
+ Input sends `project_id`, `panel_id`, `page_key`, `result_type`, and optional control, paging, cache, request, timeout, and limit fields.
14
+
15
+ Output is the gateway envelope. `data` contains bounded inline page data.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel share
2
+
3
+ Use when the user wants to modify BI panel sharing members.
4
+
5
+ Do not use to share dashboards or folders. Use the matching resource share command.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel share --project-id <project_id> --panel-id <panel_id> [--payload '{...}'] --yes
11
+ ```
12
+
13
+ Input sends `project_id`, `panel_id`, and backend-compatible snake_case `payload`.
14
+
15
+ Output is the gateway envelope. `data` contains the share update result.
@@ -0,0 +1,15 @@
1
+ # analysis bi-panel update
2
+
3
+ Use when the user wants to update BI panel content or metadata.
4
+
5
+ Do not use for BI panel version or lock workflows; those are intentionally not CLI-enabled.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis bi-panel update --project-id <project_id> [--panel-name <name>] [--panel-uuid <uuid>] [--payload '{...}'] --yes
11
+ ```
12
+
13
+ Input sends `project_id`, optional `panel_name`, `panel_uuid`, and `payload`.
14
+
15
+ Output is the gateway envelope. `data` contains the update result.
@@ -26,6 +26,7 @@ ae-cli analysis +build_attribution_analysis_qp --project_id <project_id> --time_
26
26
  | Parameter | Required | Description |
27
27
  |---|---|---|
28
28
  | `--project_id` / `-p` | Yes | Project ID |
29
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
29
30
  | `--time_range` | Yes | Time range JSON |
30
31
  | `--attribution` | Yes | Attribution intent JSON |
31
32
 
@@ -53,6 +54,7 @@ ae-cli analysis +build_attribution_analysis_qp --project_id 3137 --time_range '{
53
54
  ```
54
55
 
55
56
  ## Decision Rules
57
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
56
58
  - After successful build (`status=generated`), call `+query_adhoc --model_type attribution --qp '<response.qp>'`.
57
59
  - If non-generated status, stop and ask user to clarify.
58
60
 
@@ -33,6 +33,7 @@ ae-cli analysis_audience +build_cluster_definition --dry-run
33
33
  | Parameter | Required | Description |
34
34
  | --------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------- |
35
35
  | `--project_id` / `-p` | Yes | Project ID |
36
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the definition. |
36
37
  | `--type` | Yes | Cluster type. Supported values: `condition`, `sql` |
37
38
  | `--conditions` | No | For type=condition: main condition group JSON (required when type=condition). See `+get_cluster_definition_schema` for the structure. |
38
39
  | `--include_filter` | No | For type=condition: global include condition group JSON. |
@@ -40,6 +41,7 @@ ae-cli analysis_audience +build_cluster_definition --dry-run
40
41
  | `--sql` | No | For type=sql: SQL query returning a single column named `#user_id`. |
41
42
 
42
43
  ## Decision Rules
44
+ - Use `--authenticated_only true` when the definition should only resolve authenticated events/properties/metrics/clusters/tags.
43
45
 
44
46
  - Determine `--type` first, then pass the corresponding parameters.
45
47
  - For type=condition, `--conditions` is effectively required; `--include_filter` and `--exclude_filter` are optional global filters.
@@ -27,6 +27,7 @@ ae-cli analysis +build_distribution_analysis_qp --project_id <project_id> --time
27
27
  | Parameter | Required | Description |
28
28
  |---|---|---|
29
29
  | `--project_id` / `-p` | Yes | Project ID |
30
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
30
31
  | `--time_range` | Yes | Time range JSON |
31
32
  | `--distribution_metrics` | Yes | Distribution metrics JSON array |
32
33
  | `--time_particle_size` | No | Time granularity. Allowed values: day, week, month, total. Defaults to day. |
@@ -58,6 +59,7 @@ ae-cli analysis +build_distribution_analysis_qp --project_id 3137 --time_range '
58
59
  ```
59
60
 
60
61
  ## Decision Rules
62
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
61
63
  - After successful build (`status=generated`), call `+query_adhoc --model_type distribution --qp '<response.qp>'`.
62
64
  - If non-generated status, stop and ask user to clarify.
63
65
 
@@ -33,6 +33,7 @@ ae-cli analysis +build_event_analysis_qp --project_id <project_id> --time_range
33
33
  | Parameter | Required | Description |
34
34
  |---|---|---|
35
35
  | `--project_id` / `-p` | Yes | Project ID |
36
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
36
37
  | `--time_range` | Yes | Event analysis time range JSON |
37
38
  | `--metrics` | Yes | Event metrics JSON array |
38
39
  | `--time_particle_size` | No | Time granularity. Default: total |
@@ -122,6 +123,7 @@ ae-cli analysis +build_event_analysis_qp --project_id 3137 --time_range '{"mode"
122
123
  ```
123
124
 
124
125
  ## Decision Rules
126
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
125
127
  - After successful build, call `+query_adhoc --model_type event --qp '<response.qp>'`.
126
128
  - If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
127
129
  - Wrap JSON parameters in single quotes to avoid shell escaping issues.
@@ -33,6 +33,7 @@ ae-cli analysis +build_funnel_analysis_qp --project_id <project_id> --time_range
33
33
  | Parameter | Required | Description |
34
34
  |---|---|---|
35
35
  | `--project_id` / `-p` | Yes | Project ID |
36
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
36
37
  | `--time_range` | Yes | Funnel analysis time range JSON |
37
38
  | `--funnel` | Yes | Funnel intent JSON |
38
39
  | `--relation` | No | Top-level funnel filter relation. Supported values: and, or. Default: and |
@@ -131,6 +132,7 @@ ae-cli analysis +query_adhoc --project_id 3137 --model_type funnel --qp '<respon
131
132
  ```
132
133
 
133
134
  ## Decision Rules
135
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
134
136
  - After successful build, call `+query_adhoc --model_type funnel --qp '<response.qp>'`.
135
137
  - If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
136
138
  - Wrap JSON parameters in single quotes to avoid shell escaping issues.
@@ -25,6 +25,7 @@ ae-cli analysis +build_heat_map_analysis_qp --project_id <project_id> --time_ran
25
25
  | Parameter | Required | Description |
26
26
  |---|---|---|
27
27
  | `--project_id` / `-p` | Yes | Project ID |
28
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
28
29
  | `--time_range` | Yes | Time range JSON |
29
30
  | `--heat_map` | Yes | Heatmap intent JSON |
30
31
 
@@ -45,6 +46,7 @@ ae-cli analysis +build_heat_map_analysis_qp --project_id 3137 --time_range '{"mo
45
46
  ```
46
47
 
47
48
  ## Decision Rules
49
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
48
50
  - After successful build (`status=generated`), call `+query_adhoc --model_type heat_map --qp '<response.qp>'`.
49
51
  - If non-generated status, stop and ask user to clarify.
50
52
 
@@ -27,6 +27,7 @@ ae-cli analysis +build_interval_analysis_qp --project_id <project_id> --time_ran
27
27
  | Parameter | Required | Description |
28
28
  |---|---|---|
29
29
  | `--project_id` / `-p` | Yes | Project ID |
30
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
30
31
  | `--time_range` | Yes | Time range JSON |
31
32
  | `--interval` | Yes | Interval intent JSON |
32
33
  | `--relation` | No | Filter relation for top-level filters. Values: and, or. Default: and. |
@@ -51,6 +52,7 @@ ae-cli analysis +build_interval_analysis_qp --project_id 3137 --time_range '{"mo
51
52
  ```
52
53
 
53
54
  ## Decision Rules
55
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
54
56
  - After successful build (`status=generated`), call `+query_adhoc --model_type interval --qp '<response.qp>'`.
55
57
  - If non-generated status, stop and ask user to clarify.
56
58
 
@@ -26,6 +26,7 @@ ae-cli analysis +build_path_analysis_qp --project_id <project_id> --time_range '
26
26
  | Parameter | Required | Description |
27
27
  |---|---|---|
28
28
  | `--project_id` / `-p` | Yes | Project ID |
29
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
29
30
  | `--time_range` | Yes | Time range JSON |
30
31
  | `--path` | Yes | Path intent JSON |
31
32
 
@@ -44,6 +45,7 @@ ae-cli analysis +build_path_analysis_qp --project_id 3137 --time_range '{"mode":
44
45
  ```
45
46
 
46
47
  ## Decision Rules
48
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
47
49
  - After successful build (`status=generated`), call `+query_adhoc --model_type path --qp '<response.qp>'`.
48
50
  - If non-generated status, stop and ask user to clarify.
49
51
 
@@ -32,6 +32,7 @@ ae-cli analysis +build_prop_analysis_qp --project_id <project_id> --prop_analysi
32
32
  | Parameter | Required | Description |
33
33
  |---|---|---|
34
34
  | `--project_id` / `-p` | Yes | Project ID |
35
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
35
36
  | `--prop_analysis` | Yes | User property analysis intent JSON |
36
37
 
37
38
  ## JSON Shape
@@ -110,6 +111,7 @@ ae-cli analysis +build_prop_analysis_qp --project_id 3137 --prop_analysis '{"met
110
111
  ```
111
112
 
112
113
  ## Decision Rules
114
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
113
115
  - After successful build, call `+query_adhoc --model_type prop_analysis --qp '<response.qp>'`.
114
116
  - If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
115
117
  - Wrap JSON parameters in single quotes to avoid shell escaping issues.
@@ -26,6 +26,7 @@ ae-cli analysis +build_rank_list_analysis_qp --project_id <project_id> --time_ra
26
26
  | Parameter | Required | Description |
27
27
  |---|---|---|
28
28
  | `--project_id` / `-p` | Yes | Project ID |
29
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
29
30
  | `--time_range` | Yes | Time range JSON |
30
31
  | `--rank_list` | Yes | Rank list intent JSON |
31
32
 
@@ -54,6 +55,7 @@ ae-cli analysis +build_rank_list_analysis_qp --project_id 3137 --time_range '{"m
54
55
  ```
55
56
 
56
57
  ## Decision Rules
58
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
57
59
  - After successful build (`status=generated`), call `+query_adhoc --model_type rank_list --qp '<response.qp>'`.
58
60
  - If non-generated status, stop and ask user to clarify.
59
61
 
@@ -33,6 +33,7 @@ ae-cli analysis +build_retention_analysis_qp --project_id <project_id> --time_ra
33
33
  | Parameter | Required | Description |
34
34
  |---|---|---|
35
35
  | `--project_id` / `-p` | Yes | Project ID |
36
+ | `--authenticated_only` | No | Resolve only authenticated assets while building the QP. Do not pass this flag to `+query_adhoc`. |
36
37
  | `--time_range` | Yes | Retention analysis time range JSON |
37
38
  | `--retention` | Yes | Retention intent JSON |
38
39
  | `--relation` | No | Top-level retention filter relation. Supported values: and, or. Default: and |
@@ -129,6 +130,7 @@ ae-cli analysis +build_retention_analysis_qp --project_id 3137 --time_range '{"m
129
130
  ```
130
131
 
131
132
  ## Decision Rules
133
+ - Use `--authenticated_only true` only when the user explicitly wants authenticated assets; do not add this flag to `+query_adhoc`.
132
134
  - After successful build, call `+query_adhoc --model_type retention --qp '<response.qp>'`.
133
135
  - If build returns non-generated status, stop and ask user to clarify; do not call `+query_adhoc`.
134
136
  - Wrap JSON parameters in single quotes to avoid shell escaping issues.