@thinkingai/ae-cli 6.0.31 → 6.0.33

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 (255) hide show
  1. package/README.md +3 -2
  2. package/README.zh.md +3 -2
  3. package/dist/{auth-MEJ642P4.js → auth-ENM3FE6L.js} +3 -2
  4. package/dist/{auth-7H3HAAJ3.js → auth-UPGUOKTW.js} +13 -6
  5. package/dist/{capability-SEH3JWLN.js → capability-AJC5CBRT.js} +50 -18
  6. package/dist/{capability-SQ2IWKP3.js → capability-TQ5KU5Q6.js} +50 -18
  7. package/dist/chunk-24BAVOX3.js +51 -0
  8. package/dist/{chunk-MDJGDI6K.js → chunk-3KI3RRXX.js} +5 -5
  9. package/dist/{chunk-PKRD2IEM.js → chunk-3P3562ZX.js} +9 -7
  10. package/dist/{chunk-R77JT7XD.js → chunk-4Q5TNP4Q.js} +4 -4
  11. package/dist/{chunk-TKQJQXWT.js → chunk-6CHYBI64.js} +7 -4
  12. package/dist/{chunk-6LEYLOV3.js → chunk-CPVTECJ3.js} +9 -7
  13. package/dist/{chunk-KCA6BA5D.js → chunk-DB4Q3ANU.js} +5 -3
  14. package/dist/{chunk-2NDGFQHW.js → chunk-E7UXXHO3.js} +11 -3
  15. package/dist/{chunk-I4A62X3N.js → chunk-HQ2A7ITL.js} +23 -14
  16. package/dist/chunk-IMMGMU54.js +674 -0
  17. package/dist/{chunk-AJTH7LT3.js → chunk-IR4ZLVPW.js} +4 -2
  18. package/dist/{chunk-N2QORU5D.js → chunk-ISY6HMHM.js} +7 -4
  19. package/dist/{chunk-KGJQCYVC.js → chunk-LCXU3AAT.js} +4 -2
  20. package/dist/chunk-LYVNONC4.js +86 -0
  21. package/dist/{chunk-DYOS6YY7.js → chunk-RGXCNC4N.js} +23 -14
  22. package/dist/{chunk-YCLVYFK7.js → chunk-V6FR6WTW.js} +45 -87
  23. package/dist/chunk-VTWMIC5L.js +27 -0
  24. package/dist/{cli-token-TVQRSE46.js → cli-token-4SBMXAUK.js} +6 -3
  25. package/dist/{client-2643Z5AG.js → client-PP5FETMW.js} +4 -3
  26. package/dist/community-report-client-KK2QBANO.js +145 -0
  27. package/dist/{config-7UZWDE74.js → config-RCCGHHYA.js} +6 -3
  28. package/dist/index.js +541 -234
  29. package/dist/{metadata-W6JFFMBA.js → metadata-3M5F2AED.js} +15 -14
  30. package/dist/{metadata-X62TKIVK.js → metadata-W2MEOI4Z.js} +15 -14
  31. package/dist/{model-T3KZJWLW.js → model-OYQLXCQY.js} +3 -2
  32. package/dist/{raw-CN542NGT.js → raw-TPB7KSZO.js} +6 -4
  33. package/dist/{sync-ERNHDPB5.js → sync-EFJKFZK2.js} +6 -3
  34. package/dist/{te-agent-FCCWUDTJ.js → te-agent-K2OWMZXT.js} +3 -2
  35. package/dist/{te-analysis-NJGNWZFC.js → te-analysis-I73ZS4NK.js} +2196 -120
  36. package/dist/{te-analysis-YGV5V5EX.js → te-analysis-Q7AZCDU4.js} +2196 -120
  37. package/dist/te-common-ST3QPSXJ.js +61 -0
  38. package/dist/te-common-WSLIKKPC.js +61 -0
  39. package/dist/te-community-WXGB6IOX.js +1659 -0
  40. package/dist/te-community-X2AHXGCA.js +1659 -0
  41. package/dist/{te-dataops-ZNJBQ6VT.js → te-dataops-MJV54MNY.js} +10 -8
  42. package/dist/{te-dataops-F36T656A.js → te-dataops-OA7I6HBG.js} +10 -8
  43. package/dist/te-engage-GJRVQMK3.js +3895 -0
  44. package/dist/te-engage-JIXX3WBI.js +3895 -0
  45. package/dist/{te-kb-NT33UHAE.js → te-kb-CIZXRWMO.js} +105 -23
  46. package/dist/{te-meta-VKWNAWO4.js → te-meta-Q4L6EE3Q.js} +8 -240
  47. package/dist/{te-meta-MAAUHFQO.js → te-meta-VHCN4Q62.js} +8 -240
  48. package/dist/{te-team-OKCOX7OE.js → te-team-PDKKW7Q5.js} +7 -6
  49. package/dist/tracking/i18n/resources/cli/en.json +4 -3
  50. package/dist/tracking/i18n/resources/cli/ja.json +4 -3
  51. package/dist/tracking/i18n/resources/cli/ko.json +4 -3
  52. package/dist/tracking/i18n/resources/cli/zh.json +4 -3
  53. package/package.json +6 -2
  54. package/skills/ae-agent/SKILL.md +2 -1
  55. package/skills/ae-analysis/SKILL.md +21 -7
  56. package/skills/ae-analysis/references/adhoc_export.md +5 -6
  57. package/skills/ae-analysis/references/adhoc_run.md +7 -9
  58. package/skills/ae-analysis/references/ai_models.md +17 -1
  59. package/skills/ae-analysis/references/alert_create.md +25 -0
  60. package/skills/ae-analysis/references/alert_definition_schema_get.md +24 -0
  61. package/skills/ae-analysis/references/alert_delete.md +26 -0
  62. package/skills/ae-analysis/references/alert_detail_list.md +27 -0
  63. package/skills/ae-analysis/references/alert_get.md +25 -0
  64. package/skills/ae-analysis/references/alert_job_list.md +24 -0
  65. package/skills/ae-analysis/references/alert_list.md +27 -0
  66. package/skills/ae-analysis/references/alert_notice_config_list.md +24 -0
  67. package/skills/ae-analysis/references/alert_start.md +25 -0
  68. package/skills/ae-analysis/references/alert_stop.md +25 -0
  69. package/skills/ae-analysis/references/alert_update.md +26 -0
  70. package/skills/ae-analysis/references/analysis_data_retrieval.md +11 -11
  71. package/skills/ae-analysis/references/analysis_drilldown_contract.md +93 -0
  72. package/skills/ae-analysis/references/analysis_gateway_assets.md +9 -8
  73. package/skills/ae-analysis/references/asset_url_get.md +4 -3
  74. package/skills/ae-analysis/references/bi_panel_create.md +3 -3
  75. package/skills/ae-analysis/references/bi_panel_page_data_export.md +2 -2
  76. package/skills/ae-analysis/references/bi_panel_page_data_run.md +1 -1
  77. package/skills/ae-analysis/references/check_delete.md +27 -0
  78. package/skills/ae-analysis/references/check_export.md +27 -0
  79. package/skills/ae-analysis/references/check_get.md +27 -0
  80. package/skills/ae-analysis/references/check_list.md +24 -0
  81. package/skills/ae-analysis/references/check_retry.md +27 -0
  82. package/skills/ae-analysis/references/check_run.md +25 -0
  83. package/skills/ae-analysis/references/command_index.md +114 -46
  84. package/skills/ae-analysis/references/create_entity.md +2 -2
  85. package/skills/ae-analysis/references/dashboard_create.md +3 -3
  86. package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -0
  87. package/skills/ae-analysis/references/dashboard_daily_report_update.md +2 -0
  88. package/skills/ae-analysis/references/dashboard_report_data_export.md +4 -4
  89. package/skills/ae-analysis/references/dashboard_report_data_run.md +4 -4
  90. package/skills/ae-analysis/references/drilldown_entities_export.md +26 -0
  91. package/skills/ae-analysis/references/drilldown_entities_run.md +33 -0
  92. package/skills/ae-analysis/references/drilldown_events_export.md +21 -0
  93. package/skills/ae-analysis/references/drilldown_events_run.md +23 -0
  94. package/skills/ae-analysis/references/drilldown_user_events_export.md +6 -3
  95. package/skills/ae-analysis/references/drilldown_user_events_run.md +6 -6
  96. package/skills/ae-analysis/references/entity_detail_export.md +2 -0
  97. package/skills/ae-analysis/references/entity_detail_run.md +8 -1
  98. package/skills/ae-analysis/references/event_blacklist_add.md +25 -0
  99. package/skills/ae-analysis/references/event_blacklist_list.md +24 -0
  100. package/skills/ae-analysis/references/event_blacklist_update.md +26 -0
  101. package/skills/ae-analysis/references/event_detail_export.md +2 -0
  102. package/skills/ae-analysis/references/event_detail_run.md +2 -0
  103. package/skills/ae-analysis/references/event_list.md +10 -2
  104. package/skills/ae-analysis/references/ingest_error_list.md +27 -0
  105. package/skills/ae-analysis/references/ingest_summary.md +26 -0
  106. package/skills/ae-analysis/references/list_entities.md +1 -1
  107. package/skills/ae-analysis/references/live_data_export.md +27 -0
  108. package/skills/ae-analysis/references/live_data_list.md +27 -0
  109. package/skills/ae-analysis/references/metric_create.md +13 -4
  110. package/skills/ae-analysis/references/metric_delete.md +7 -0
  111. package/skills/ae-analysis/references/metric_get.md +6 -0
  112. package/skills/ae-analysis/references/metric_list.md +16 -3
  113. package/skills/ae-analysis/references/metric_update.md +12 -1
  114. package/skills/ae-analysis/references/plan_change_log_export.md +27 -0
  115. package/skills/ae-analysis/references/plan_change_log_list.md +24 -0
  116. package/skills/ae-analysis/references/plan_delete_items.md +30 -0
  117. package/skills/ae-analysis/references/plan_export.md +26 -0
  118. package/skills/ae-analysis/references/plan_generate.md +27 -0
  119. package/skills/ae-analysis/references/plan_get.md +24 -0
  120. package/skills/ae-analysis/references/plan_import_excel.md +26 -0
  121. package/skills/ae-analysis/references/plan_save_items.md +27 -0
  122. package/skills/ae-analysis/references/plan_sync_from_meta.md +24 -0
  123. package/skills/ae-analysis/references/project_access_detail_get.md +23 -0
  124. package/skills/ae-analysis/references/project_data_power_delete.md +26 -0
  125. package/skills/ae-analysis/references/project_data_power_get.md +24 -0
  126. package/skills/ae-analysis/references/project_data_power_list.md +23 -0
  127. package/skills/ae-analysis/references/project_data_power_upsert.md +24 -0
  128. package/skills/ae-analysis/references/project_entity_create.md +27 -0
  129. package/skills/ae-analysis/references/project_entity_delete.md +25 -0
  130. package/skills/ae-analysis/references/project_entity_event_list.md +24 -0
  131. package/skills/ae-analysis/references/project_entity_get.md +24 -0
  132. package/skills/ae-analysis/references/project_entity_list.md +28 -0
  133. package/skills/ae-analysis/references/project_entity_update.md +28 -0
  134. package/skills/ae-analysis/references/project_function_list.md +24 -0
  135. package/skills/ae-analysis/references/project_info_get.md +23 -0
  136. package/skills/ae-analysis/references/project_info_list.md +26 -0
  137. package/skills/ae-analysis/references/project_info_update.md +25 -0
  138. package/skills/ae-analysis/references/project_mark_time_create.md +27 -0
  139. package/skills/ae-analysis/references/project_mark_time_delete.md +25 -0
  140. package/skills/ae-analysis/references/project_mark_time_list.md +28 -0
  141. package/skills/ae-analysis/references/project_mark_time_update.md +28 -0
  142. package/skills/ae-analysis/references/project_member_add.md +25 -0
  143. package/skills/ae-analysis/references/project_member_batch_update.md +24 -0
  144. package/skills/ae-analysis/references/project_member_candidate_list.md +25 -0
  145. package/skills/ae-analysis/references/project_member_handover_export.md +27 -0
  146. package/skills/ae-analysis/references/project_member_handover_run.md +24 -0
  147. package/skills/ae-analysis/references/project_member_import.md +25 -0
  148. package/skills/ae-analysis/references/project_member_list.md +23 -0
  149. package/skills/ae-analysis/references/project_member_receiver_list.md +23 -0
  150. package/skills/ae-analysis/references/project_member_remove.md +26 -0
  151. package/skills/ae-analysis/references/project_member_update.md +25 -0
  152. package/skills/ae-analysis/references/project_owner_update.md +27 -0
  153. package/skills/ae-analysis/references/project_permission_binding_list.md +24 -0
  154. package/skills/ae-analysis/references/project_receive_status_update.md +25 -0
  155. package/skills/ae-analysis/references/project_role_delete.md +26 -0
  156. package/skills/ae-analysis/references/project_role_function_list.md +27 -0
  157. package/skills/ae-analysis/references/project_role_get.md +24 -0
  158. package/skills/ae-analysis/references/project_role_list.md +25 -0
  159. package/skills/ae-analysis/references/project_role_upsert.md +24 -0
  160. package/skills/ae-analysis/references/project_role_user_list.md +24 -0
  161. package/skills/ae-analysis/references/project_timezone_get.md +23 -0
  162. package/skills/ae-analysis/references/project_timezone_overview.md +23 -0
  163. package/skills/ae-analysis/references/project_timezone_update.md +25 -0
  164. package/skills/ae-analysis/references/project_user_id_items_update.md +24 -0
  165. package/skills/ae-analysis/references/property_list.md +21 -6
  166. package/skills/ae-analysis/references/public_link_create.md +1 -1
  167. package/skills/ae-analysis/references/query_create_result_cluster.md +15 -32
  168. package/skills/ae-analysis/references/report_create.md +1 -1
  169. package/skills/ae-analysis/references/report_data_export.md +5 -3
  170. package/skills/ae-analysis/references/report_data_run.md +13 -3
  171. package/skills/ae-analysis/references/report_get.md +2 -0
  172. package/skills/ae-analysis/references/report_update.md +1 -1
  173. package/skills/ae-analysis/references/sdk_sample_generate.md +24 -0
  174. package/skills/ae-analysis/references/user_cluster_create.md +5 -1
  175. package/skills/ae-analysis/references/user_cluster_create_id.md +2 -0
  176. package/skills/ae-analysis/references/user_cluster_get.md +4 -0
  177. package/skills/ae-analysis/references/user_cluster_refresh.md +4 -2
  178. package/skills/ae-analysis/references/user_cluster_update.md +5 -1
  179. package/skills/ae-analysis/references/user_cluster_update_id.md +2 -0
  180. package/skills/ae-analysis/references/user_tag_create.md +5 -1
  181. package/skills/ae-analysis/references/user_tag_create_id.md +2 -0
  182. package/skills/ae-analysis/references/user_tag_get.md +4 -0
  183. package/skills/ae-analysis/references/user_tag_refresh.md +4 -2
  184. package/skills/ae-analysis/references/user_tag_update.md +5 -1
  185. package/skills/ae-analysis/references/user_tag_update_id.md +2 -0
  186. package/skills/ae-analysis/references/virtual_event_create.md +22 -3
  187. package/skills/ae-analysis/references/virtual_property_create.md +23 -2
  188. package/skills/ae-analysis-global/SKILL.md +2 -0
  189. package/skills/ae-capability/SKILL.md +7 -5
  190. package/skills/ae-community/SKILL.md +72 -8
  191. package/skills/ae-community/references/community-chat-analysis.md +341 -0
  192. package/skills/ae-community/references/community-data-report.md +301 -0
  193. package/skills/ae-dataops/SKILL.md +2 -1
  194. package/skills/ae-engage/SKILL.md +204 -8
  195. package/skills/ae-engage/references/activity-activity-type.md +42 -0
  196. package/skills/ae-engage/references/activity-activity.md +70 -0
  197. package/skills/ae-engage/references/activity-approval.md +53 -0
  198. package/skills/ae-engage/references/activity-task.md +87 -0
  199. package/skills/ae-engage/references/activity-topic.md +98 -0
  200. package/skills/ae-engage/references/approval-approver-delete.md +26 -0
  201. package/skills/ae-engage/references/channel-test-send.md +37 -0
  202. package/skills/ae-engage/references/channel-touch-limits-batch-update.md +28 -0
  203. package/skills/ae-engage/references/channel-touch-limits-save.md +37 -0
  204. package/skills/ae-engage/references/channel-touch-limits-toggle.md +28 -0
  205. package/skills/ae-engage/references/channel-update-config.md +36 -0
  206. package/skills/ae-engage/references/client-param.md +58 -0
  207. package/skills/ae-engage/references/common-metric.md +75 -0
  208. package/skills/ae-engage/references/config-table.md +92 -0
  209. package/skills/ae-engage/references/engage-scene-config-item.md +69 -0
  210. package/skills/ae-engage/references/operation-log-query.md +1 -1
  211. package/skills/ae-engage/references/preset-event.md +42 -0
  212. package/skills/ae-engage/references/push-language.md +39 -0
  213. package/skills/ae-engage/references/scene-config-channel.md +58 -0
  214. package/skills/ae-engage/references/scene-config-group.md +62 -0
  215. package/skills/ae-engage/references/scene-config-item.md +68 -0
  216. package/skills/ae-engage/references/scene-config-metric.md +79 -0
  217. package/skills/ae-engage/references/scene-config-param.md +72 -0
  218. package/skills/ae-engage/references/scene-preset-metric.md +45 -0
  219. package/skills/ae-engage/references/scene-strategy.md +47 -0
  220. package/skills/ae-engage/references/scene-template.md +71 -0
  221. package/skills/ae-engage/references/{ops-delete.md → task-delete.md} +3 -3
  222. package/skills/ae-engage/references/whitelist.md +72 -0
  223. package/skills/ae-engage/references/workbench-workbench.md +48 -0
  224. package/skills/ae-generate-tracking-code/SKILL.md +4 -4
  225. package/skills/ae-generate-tracking-plan/SKILL.md +140 -16
  226. package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +98 -33
  227. package/skills/ae-generate-tracking-plan/references/te-api.md +1 -1
  228. package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +16 -14
  229. package/skills/ae-kb/SKILL.md +36 -9
  230. package/skills/ae-metadata/SKILL.md +3 -2
  231. package/skills/ae-metadata/references/metadata_event_get.md +4 -4
  232. package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +1 -1
  233. package/skills/ae-metadata/references/metadata_property_get.md +4 -4
  234. package/skills/ae-team/SKILL.md +2 -1
  235. package/dist/chunk-NOO24N7W.js +0 -11
  236. package/dist/chunk-TNW2CI4W.js +0 -129
  237. package/dist/te-common-5NJLF3XG.js +0 -130
  238. package/dist/te-common-7VTJZPII.js +0 -130
  239. package/dist/te-community-PEZ2VEF7.js +0 -687
  240. package/dist/te-community-TSKJ652U.js +0 -687
  241. package/dist/te-engage-BUWVSSSK.js +0 -1912
  242. package/dist/te-engage-EPE3QKDE.js +0 -1912
  243. package/skills/ae-analysis/references/create_metric.md +0 -58
  244. package/skills/ae-analysis/references/create_virtual_event.md +0 -60
  245. package/skills/ae-analysis/references/create_virtual_property.md +0 -69
  246. package/skills/ae-analysis/references/delete_metric.md +0 -32
  247. package/skills/ae-analysis/references/drilldown_users_export.md +0 -17
  248. package/skills/ae-analysis/references/drilldown_users_run.md +0 -61
  249. package/skills/ae-analysis/references/get_metric.md +0 -38
  250. package/skills/ae-analysis/references/get_resource_url.md +0 -33
  251. package/skills/ae-analysis/references/list_events.md +0 -46
  252. package/skills/ae-analysis/references/list_metrics.md +0 -52
  253. package/skills/ae-analysis/references/list_properties.md +0 -47
  254. package/skills/ae-analysis/references/update_metric.md +0 -58
  255. package/dist/{chunk-HL2AJQ4Q.js → chunk-PTE56QPL.js} +3 -3
@@ -3,6 +3,7 @@
3
3
  Use when the user needs to get metric definition, events, and params.
4
4
 
5
5
  Do not use it to query metric values or trends; it returns the saved metric definition only.
6
+ Do not call it just to expand a saved metric before normal ad-hoc analysis. If the user asks to query a saved metric, pass the metric display/name/remark directly in `analysis adhoc run --definition`; the backend compiler resolves saved metrics internally.
6
7
 
7
8
  Command:
8
9
 
@@ -22,3 +23,8 @@ Output `data.metric` contains the saved metric definition, or no metric when the
22
23
  |---|---|---|
23
24
  | `--project-id` | Yes | Numeric project ID. |
24
25
  | `--metric-id` | Yes | Metric ID. |
26
+
27
+ ## Recommended Chaining
28
+
29
+ - analysis-meta metric get -> analysis-meta metric update
30
+ - For ad-hoc saved metric query: analysis adhoc run/export
@@ -1,24 +1,37 @@
1
1
  # analysis-meta metric list
2
2
 
3
- Use when the user needs to list project metrics.
3
+ Use when the user needs to list, search, page, or field-project project metrics.
4
4
 
5
5
  Do not use it to calculate metric values; use report/dashboard/ad-hoc data routing for result queries.
6
6
 
7
7
  Command:
8
8
 
9
9
  ```bash
10
+ ae-cli analysis-meta metric list --project-id <project_id>
10
11
  ae-cli analysis-meta metric list --project-id <project_id> --ignore-authentication true
12
+ ae-cli analysis-meta metric list --project-id <project_id> --query pay
13
+ ae-cli analysis-meta metric list --project-id <project_id> --query pay --fields '["metric_name","authentication_status"]' --limit 10 --offset 0 --authenticated-only true
11
14
  ae-cli analysis-meta metric list --dry-run
12
15
  ```
13
16
 
14
17
  Capability id: `metadata.metric.list`.
15
18
 
16
- Input sends `project_id`, `ignore_authentication`.
19
+ Input sends `project_id`, `ignore_authentication`, `query`, `fields`, `limit`, `offset`, and `authenticated_only`.
17
20
 
18
- Output `data.metrics[]` contains project metric summaries and authentication decoration unless explicitly skipped.
21
+ Output `data.metrics[]` contains project metric summaries. When `limit` or `offset` is present, output also includes `total`, `limit`, `offset`, and `has_more`.
19
22
 
20
23
  ## Parameters
21
24
  | Parameter | Required | Description |
22
25
  |---|---|---|
23
26
  | `--project-id` | Yes | Numeric project ID. |
24
27
  | `--ignore-authentication` | No | Whether to skip asset authentication status decoration. |
28
+ | `--query` | No | Optional keyword filter. Fuzzy match on `metric_name`, `metric_desc`, and `metric_remark`. |
29
+ | `--fields` | No | Optional result field projection JSON array. Supported fields: `metric_id`, `metric_name`, `metric_desc`, `metric_remark`, `metric_mode`, `authentication_status`, `open_id`, `creator`, `creator_login_name`, `update_open_id`, `update_creator`, `update_login_name`, `create_time`, `update_time`. |
30
+ | `--limit` | No | Optional page size. Default: 20 when pagination is used, maximum: 50. |
31
+ | `--offset` | No | Optional zero-based result offset. Default: 0. |
32
+ | `--authenticated-only` | No | When true, return only authenticated metrics. |
33
+
34
+ ## Decision Rules
35
+ - Do not call this just to prepare normal ad-hoc analysis. Pass saved metric wording directly in `analysis adhoc run/export --definition`; the backend compiler resolves saved metric names internally.
36
+ - Use `--fields` to keep discovery responses compact.
37
+ - Use `analysis-meta metric get` after this command when a full metric definition is needed.
@@ -2,12 +2,16 @@
2
2
 
3
3
  Use when the user needs to update metric definition, name, and remark.
4
4
 
5
- Do not use it to query metric values. Use `analysis_meta +update_metric` only when the gateway capability is unavailable.
5
+ Do not use it to query metric values.
6
+
7
+ Before updating `--metric-events` / `--metric-params`, validate the event and property names with `analysis-meta event list` and `analysis-meta property list` in the same `project_id`.
6
8
 
7
9
  Command:
8
10
 
9
11
  ```bash
10
12
  ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-desc 'New display name' --metric-remark 'New remark'
13
+ ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-name demo --metric-desc demo --model-type event --metric-events '[]'
14
+ ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-name demo --metric-desc demo --metric-remark demo --model-type retention --metric-events '[]' --metric-params '{}'
11
15
  ae-cli analysis-meta metric update --project-id <project_id> --metric-id <metric_id> --metric-desc 'New display name' --dry-run
12
16
  ```
13
17
 
@@ -26,5 +30,12 @@ Output `data.metric` contains the updated summary for a full-definition update c
26
30
  | `--metric-desc` | No | Metric display name. |
27
31
  | `--metric-remark` | No | Metric remark. |
28
32
  | `--metric-mode` | No | Metric model mode for a full-definition update. |
33
+ | `--model-type` | No | Semantic metric model type: `event` or `retention`. Prefer this over `--metric-mode`. |
29
34
  | `--metric-events` | No | Metric event-analysis QP JSON array for a full-definition update. |
30
35
  | `--metric-params` | No | Metric params JSON object. |
36
+
37
+ ## Decision Rules
38
+ - For full-definition updates, pass `--metric-name`, `--metric-desc`, one of `--model-type` / `--metric-mode`, and `--metric-events` together.
39
+ - If both `--model-type` and `--metric-mode` are present, they must match: `event -> 0`, `retention -> 1`.
40
+ - Use `analysis-meta metric get` before updating if the current definition needs to be preserved and edited.
41
+ - This is an ordinary write operation; execute it without the high-risk confirmation flag.
@@ -0,0 +1,27 @@
1
+ # tracking plan-change-log export
2
+
3
+ Use when export one tracking plan change log.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan-change-log export [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan_change_log.export`
14
+
15
+ Input sends `project_id`, `log_id`, optional `request_id`, and optional `timeout_seconds`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--log-id` | See command help | Yes |
25
+ | `--request-id` | See command help | No |
26
+ | `--async-timeout-seconds` | See command help | No |
27
+
@@ -0,0 +1,24 @@
1
+ # tracking plan-change-log list
2
+
3
+ Use when list tracking plan change logs.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan-change-log list [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan_change_log.list`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+
@@ -0,0 +1,30 @@
1
+ # tracking plan delete-items
2
+
3
+ Use when delete tracking plan items.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan delete-items --project-id <project_id> [--events '<json_array>'] [--event-prop-names '<json_array>'] [--user-prop-names '<json_array>'] [--common-event-prop-names '<json_array>'] --confirm true --dry-run
11
+ # Summarize the target and impact, then wait for explicit user confirmation.
12
+ ae-cli tracking plan delete-items --project-id <project_id> [--events '<json_array>'] [--event-prop-names '<json_array>'] [--user-prop-names '<json_array>'] [--common-event-prop-names '<json_array>'] --confirm true --yes
13
+ ```
14
+
15
+ Capability id: `tracking.plan.delete_items`
16
+
17
+ Input sends `project_id`, the provided name arrays, and `yes` mapped from `--confirm`. At least one name array must be non-empty. Do not send camelCase aliases.
18
+
19
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
20
+
21
+ Parameters:
22
+
23
+ | Parameter | Description | Required |
24
+ | --- | --- | --- |
25
+ | `--project-id` | Numeric project ID. | Yes |
26
+ | `--events` | Event names to delete. | No |
27
+ | `--event-prop-names` | Event property names to delete. | No |
28
+ | `--user-prop-names` | User property names to delete. | No |
29
+ | `--common-event-prop-names` | Common event property names to delete. | No |
30
+ | `--confirm` | Must be `true`; execution also follows the global high-risk confirmation gate. | Yes |
@@ -0,0 +1,26 @@
1
+ # tracking plan export
2
+
3
+ Use when export the tracking plan as an artifact.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan export [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.export`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--request-id` | See command help | No |
25
+ | `--async-timeout-seconds` | See command help | No |
26
+
@@ -0,0 +1,27 @@
1
+ # tracking plan generate
2
+
3
+ Use when submit an AI tracking plan generation task.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan generate --project-id <project_id> --language <zh-CN|en-US|ja-JP|ko-KR> --form-data '<json_object>' [--development-carrier '<json_array>'] [--predefined-event '<json_array>']
11
+ ```
12
+
13
+ Capability id: `tracking.plan.generate`
14
+
15
+ Input sends `project_id`, `language`, `form_data`, optional `development_carrier`, and optional `predefined_event`. The backend resolves `company_id` from the authorized project. `form_data` is the intentionally open business-context object; all surrounding fields are explicit. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | Numeric project ID. | Yes |
24
+ | `--language` | Generation language: `zh-CN`, `en-US`, `ja-JP`, or `ko-KR`. | Yes |
25
+ | `--form-data` | Structured business context, for example account system, revenue model, core gameplay, currency system, and main entries. | Yes |
26
+ | `--development-carrier` | Development platforms such as Android, iOS, or Unity. | No |
27
+ | `--predefined-event` | Predefined event names such as install, start, or close. | No |
@@ -0,0 +1,24 @@
1
+ # tracking plan get
2
+
3
+ Use when get the tracking plan for one project.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan get [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.get`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+
@@ -0,0 +1,26 @@
1
+ # tracking plan import-excel
2
+
3
+ Use when import a tracking plan Excel file that was uploaded as an input file.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan import-excel [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.import_excel`
14
+
15
+ Input sends `project_id`, `input_file_id`, and optional `lang`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+ | `--input-file-id` | See command help | Yes |
25
+ | `--lang` | See command help | No |
26
+
@@ -0,0 +1,27 @@
1
+ # tracking plan save-items
2
+
3
+ Use when save tracking plan items.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan save-items --project-id <project_id> [--events '<json_array>'] [--event-props '<json_array>'] [--user-props '<json_array>'] [--common-event-props '<json_array>']
11
+ ```
12
+
13
+ Capability id: `tracking.plan.save_items`
14
+
15
+ Input sends `project_id` and the provided `events`, `event_props`, `user_props`, and `common_event_props` arrays. At least one item array must be non-empty. Event/property objects use the existing tracking-plan snake_case contract; do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | Numeric project ID. | Yes |
24
+ | `--events` | Event objects with fields such as `event_name`, `display_name`, `event_desc`, `event_tag`, `data_origin`, and `props`. | No |
25
+ | `--event-props` | Event property objects with fields such as `name`, `display_name`, `type`, and `desc`. | No |
26
+ | `--user-props` | User property objects with fields such as `name`, `display_name`, `type`, `update_type`, `prop_tag`, and `desc`. | No |
27
+ | `--common-event-props` | Common event property objects. | No |
@@ -0,0 +1,24 @@
1
+ # tracking plan sync-from-meta
2
+
3
+ Use when synchronize tracking plan from project metadata.
4
+
5
+ Do not use for commands listed under the sheet's non-CLI section or for unrelated metadata/report operations. If the command needs a complex JSON object, read the backend schema or existing asset first and send snake_case fields only.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli tracking plan sync-from-meta [options]
11
+ ```
12
+
13
+ Capability id: `tracking.plan.sync_from_meta`
14
+
15
+ Input sends `project_id`. Do not send camelCase aliases.
16
+
17
+ Output is the capability gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Export commands return lifecycle data such as `run_id` and `artifact_id` for inspect/download.
18
+
19
+ Parameters:
20
+
21
+ | Parameter | Description | Required |
22
+ | --- | --- | --- |
23
+ | `--project-id` | See command help | Yes |
24
+
@@ -0,0 +1,23 @@
1
+ # analysis project access-detail get
2
+
3
+ Use when the user needs to get company project access details.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project access-detail get --company-id <company_id>
11
+ ae-cli analysis project access-detail get --dry-run --company-id <company_id>
12
+ ```
13
+
14
+ Capability id: `project.access_detail.get`.
15
+
16
+ Input sends `company_id`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--company-id` | Yes | Company ID. |
@@ -0,0 +1,26 @@
1
+ # analysis project data-power delete
2
+
3
+ Use when the user needs to delete a data power and optionally migrate users to another data power.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project data-power delete --project-id <project_id> --data-power-id <data_power_id> --new-data-power-id <new_data_power_id>
11
+ ae-cli analysis project data-power delete --dry-run --project-id <project_id> --data-power-id <data_power_id>
12
+ ```
13
+
14
+ Capability id: `project.data_power.delete`.
15
+
16
+ Input sends `project_id`, `data_power_id`, `new_data_power_id`, `yes`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+ For execution, dry-run first, summarize the impact, then rerun the unchanged command with global `--yes` only after explicit user confirmation. The CLI sends `yes=true` after its own high-risk gate.
18
+
19
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
20
+
21
+ ## Parameters
22
+ | Parameter | Required | Description |
23
+ |---|---|---|
24
+ | `--project-id` | Yes | Numeric project ID. |
25
+ | `--data-power-id` | Yes | Data power ID to delete. |
26
+ | `--new-data-power-id` | No | Optional replacement data power ID for affected users. |
@@ -0,0 +1,24 @@
1
+ # analysis project data-power get
2
+
3
+ Use when the user needs to get one data power detail.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project data-power get --project-id <project_id> --data-power-id <data_power_id>
11
+ ae-cli analysis project data-power get --dry-run --project-id <project_id> --data-power-id <data_power_id>
12
+ ```
13
+
14
+ Capability id: `project.data_power.get`.
15
+
16
+ Input sends `project_id`, `data_power_id`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--data-power-id` | Yes | Data power ID. |
@@ -0,0 +1,23 @@
1
+ # analysis project data-power list
2
+
3
+ Use when the user needs to list project data powers.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project data-power list --project-id <project_id>
11
+ ae-cli analysis project data-power list --dry-run --project-id <project_id>
12
+ ```
13
+
14
+ Capability id: `project.data_power.list`.
15
+
16
+ Input sends `project_id`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
@@ -0,0 +1,24 @@
1
+ # analysis project data-power upsert
2
+
3
+ Use when the user needs to create or update a data power.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project data-power upsert --project-id <project_id> --payload <payload>
11
+ ae-cli analysis project data-power upsert --dry-run --project-id <project_id> --payload <payload>
12
+ ```
13
+
14
+ Capability id: `project.data_power.upsert`.
15
+
16
+ Input sends `project_id`, `payload`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--payload` | Yes | Data power save payload matching DataPowerSaveRequestDTO in snake_case. |
@@ -0,0 +1,27 @@
1
+ # analysis project entity create
2
+
3
+ Use when the user needs to create an analysis entity.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project entity create --project-id <project_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type> --order <order>
11
+ ae-cli analysis project entity create --dry-run --project-id <project_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type>
12
+ ```
13
+
14
+ Capability id: `project.entity.create`.
15
+
16
+ Input sends `project_id`, `entity_name`, `column_name`, `table_type`, `order`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--entity-name` | Yes | Entity display name. |
25
+ | `--column-name` | Yes | Property column name to bind. |
26
+ | `--table-type` | Yes | Main table type: 0 for event property, 1 for user property. |
27
+ | `--order` | No | Optional entity display order. |
@@ -0,0 +1,25 @@
1
+ # analysis project entity delete
2
+
3
+ Use when the user needs to delete an analysis entity.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project entity delete --project-id <project_id> --entity-id <entity_id>
11
+ ae-cli analysis project entity delete --dry-run --project-id <project_id> --entity-id <entity_id>
12
+ ```
13
+
14
+ Capability id: `project.entity.delete`.
15
+
16
+ Input sends `project_id`, `entity_id`, `yes`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+ For execution, dry-run first, summarize the impact, then rerun the unchanged command with global `--yes` only after explicit user confirmation. The CLI sends `yes=true` after its own high-risk gate.
18
+
19
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
20
+
21
+ ## Parameters
22
+ | Parameter | Required | Description |
23
+ |---|---|---|
24
+ | `--project-id` | Yes | Numeric project ID. |
25
+ | `--entity-id` | Yes | Analysis entity ID. |
@@ -0,0 +1,24 @@
1
+ # analysis project entity-event list
2
+
3
+ Use when the user needs to list entity mappings for events.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project entity-event list --project-id <project_id> --event-names <event_names>
11
+ ae-cli analysis project entity-event list --dry-run --project-id <project_id>
12
+ ```
13
+
14
+ Capability id: `project.entity_event.list`.
15
+
16
+ Input sends `project_id`, `event_names`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--event-names` | No | Optional event names JSON array to resolve entity mappings for. |
@@ -0,0 +1,24 @@
1
+ # analysis project entity get
2
+
3
+ Use when the user needs to get one analysis entity.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project entity get --project-id <project_id> --entity-id <entity_id>
11
+ ae-cli analysis project entity get --dry-run --project-id <project_id> --entity-id <entity_id>
12
+ ```
13
+
14
+ Capability id: `project.entity.get`.
15
+
16
+ Input sends `project_id`, `entity_id`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--entity-id` | Yes | Analysis entity ID. |
@@ -0,0 +1,28 @@
1
+ # analysis project entity list
2
+
3
+ Use when the user needs to list analysis entities in a project.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project entity list --project-id <project_id> --query <query> --fields <fields> --limit <limit> --offset <offset> --event-name <event_name>
11
+ ae-cli analysis project entity list --dry-run --project-id <project_id>
12
+ ```
13
+
14
+ Capability id: `project.entity.list`.
15
+
16
+ Input sends `project_id`, `query`, `fields`, `limit`, `offset`, `event_name`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--query` | No | Optional keyword filter. |
25
+ | `--fields` | No | Optional snake_case fields to return. |
26
+ | `--limit` | No | Optional page size. Default: 50, maximum: 200. |
27
+ | `--offset` | No | Optional page offset. Default: 0. |
28
+ | `--event-name` | No | Optional event name. When present, return entities related to the event. |
@@ -0,0 +1,28 @@
1
+ # analysis project entity update
2
+
3
+ Use when the user needs to update an analysis entity.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project entity update --project-id <project_id> --entity-id <entity_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type> --order <order>
11
+ ae-cli analysis project entity update --dry-run --project-id <project_id> --entity-id <entity_id> --entity-name <entity_name> --column-name <column_name> --table-type <table_type>
12
+ ```
13
+
14
+ Capability id: `project.entity.update`.
15
+
16
+ Input sends `project_id`, `entity_id`, `entity_name`, `column_name`, `table_type`, `order`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project-id` | Yes | Numeric project ID. |
24
+ | `--entity-id` | Yes | Analysis entity ID. |
25
+ | `--entity-name` | Yes | Entity display name. |
26
+ | `--column-name` | Yes | Property column name to bind. |
27
+ | `--table-type` | Yes | Main table type: 0 for event property, 1 for user property. |
28
+ | `--order` | No | Optional entity display order. |
@@ -0,0 +1,24 @@
1
+ # analysis project function list
2
+
3
+ Use when the user needs to list all project-level functions.
4
+
5
+ Do not use it for unrelated project-management actions or for fields not present in the common-service capability schema. Do not send camelCase aliases.
6
+
7
+ Command:
8
+
9
+ ```bash
10
+ ae-cli analysis project function list --company-id <company_id> --project-id <project_id>
11
+ ae-cli analysis project function list --dry-run
12
+ ```
13
+
14
+ Capability id: `project.function.list`.
15
+
16
+ Input sends `company_id`, `project_id`. Payload keys, JSON arrays, and projection fields must follow the common-service snake_case input schema.
17
+
18
+ Output uses the gateway envelope: success is `ok=true,data,meta`; failure is `ok=false,error`. Preserve `request_id` and `invocation_id` when present.
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--company-id` | No | Company ID. |
24
+ | `--project-id` | No | Project ID. |