@thinkingai/ae-cli 6.0.29 → 6.0.31
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.
- package/README.md +5 -7
- package/README.zh.md +5 -7
- package/dist/{auth-7TQRGLBC.js → auth-7H3HAAJ3.js} +10 -10
- package/dist/{capability-KVA55RMK.js → capability-SEH3JWLN.js} +49 -10
- package/dist/{capability-LKHLZQPD.js → capability-SQ2IWKP3.js} +49 -10
- package/dist/{chunk-GWZ5MYWE.js → chunk-6LEYLOV3.js} +25 -4
- package/dist/{chunk-THBBNYXI.js → chunk-DYOS6YY7.js} +100 -62
- package/dist/{chunk-CWZUGF2J.js → chunk-HL2AJQ4Q.js} +15 -0
- package/dist/{chunk-OJR23CIK.js → chunk-I4A62X3N.js} +100 -61
- package/dist/chunk-N2QORU5D.js +68 -0
- package/dist/{chunk-7QQ4233A.js → chunk-PKRD2IEM.js} +25 -4
- package/dist/chunk-TKQJQXWT.js +68 -0
- package/dist/{chunk-ZAOL36CG.js → chunk-TNW2CI4W.js} +46 -30
- package/dist/{config-ZVPARN4R.js → config-7UZWDE74.js} +25 -25
- package/dist/index.js +143 -46
- package/dist/{metadata-6CCFV4K5.js → metadata-W6JFFMBA.js} +6 -43
- package/dist/{metadata-PDOIWH5O.js → metadata-X62TKIVK.js} +6 -43
- package/dist/{raw-OHSUK42D.js → raw-CN542NGT.js} +8 -6
- package/dist/{sync-ULT5SECP.js → sync-ERNHDPB5.js} +1 -1
- package/dist/{te-agent-FAIBM3SA.js → te-agent-FCCWUDTJ.js} +1 -1
- package/dist/te-analysis-NJGNWZFC.js +4530 -0
- package/dist/te-analysis-YGV5V5EX.js +4530 -0
- package/dist/{te-common-SDB3O2QG.js → te-common-5NJLF3XG.js} +1 -1
- package/dist/{te-common-CFGQXTFV.js → te-common-7VTJZPII.js} +1 -1
- package/dist/{te-community-6A7LKYUH.js → te-community-PEZ2VEF7.js} +1 -1
- package/dist/{te-community-GMWFGILT.js → te-community-TSKJ652U.js} +1 -1
- package/dist/{te-dataops-Z53CTG2U.js → te-dataops-F36T656A.js} +32 -12
- package/dist/{te-dataops-6LIPYNGH.js → te-dataops-ZNJBQ6VT.js} +33 -12
- package/dist/{te-engage-M7JQSJDP.js → te-engage-BUWVSSSK.js} +398 -11
- package/dist/{te-engage-545HJL6J.js → te-engage-EPE3QKDE.js} +398 -11
- package/dist/{te-meta-FADFLTDM.js → te-meta-MAAUHFQO.js} +9 -9
- package/dist/{te-meta-PKT27OTN.js → te-meta-VKWNAWO4.js} +9 -9
- package/dist/{te-team-RG75PR5D.js → te-team-OKCOX7OE.js} +5 -5
- package/package.json +15 -7
- package/skills/ae-agent/SKILL.md +6 -8
- package/skills/ae-agent/references/accept-skill-share.md +2 -2
- package/skills/ae-agent/references/add-attachment.md +3 -3
- package/skills/ae-agent/references/add-mcp.md +2 -3
- package/skills/ae-agent/references/add-model.md +3 -5
- package/skills/ae-agent/references/add-skill.md +2 -3
- package/skills/ae-agent/references/approve-skill.md +2 -2
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +3 -3
- package/skills/ae-agent/references/cancel-skill-submission.md +2 -2
- package/skills/ae-agent/references/copy-skill.md +3 -3
- package/skills/ae-agent/references/create-agent.md +3 -4
- package/skills/ae-agent/references/create-automation.md +5 -9
- package/skills/ae-agent/references/del-agent.md +3 -2
- package/skills/ae-agent/references/del-attachment.md +3 -2
- package/skills/ae-agent/references/del-mcp.md +3 -2
- package/skills/ae-agent/references/del-model.md +3 -2
- package/skills/ae-agent/references/del-skill-asset.md +3 -3
- package/skills/ae-agent/references/del-skill-reference.md +3 -3
- package/skills/ae-agent/references/del-skill-script.md +3 -3
- package/skills/ae-agent/references/del-skill.md +3 -2
- package/skills/ae-agent/references/edit-skill.md +4 -4
- package/skills/ae-agent/references/mcp-auth-disconnect.md +2 -2
- package/skills/ae-agent/references/mcp-auth-start.md +3 -3
- package/skills/ae-agent/references/reject-skill-share.md +2 -2
- package/skills/ae-agent/references/reject-skill.md +2 -2
- package/skills/ae-agent/references/rescan-skills.md +2 -2
- package/skills/ae-agent/references/set-mcp-credential.md +3 -3
- package/skills/ae-agent/references/set-mcp-meta.md +2 -2
- package/skills/ae-agent/references/set-skill-meta.md +2 -2
- package/skills/ae-agent/references/share-skill.md +3 -3
- package/skills/ae-agent/references/submit-skill.md +3 -3
- package/skills/ae-agent/references/toggle-mcp.md +3 -3
- package/skills/ae-agent/references/toggle-model.md +3 -3
- package/skills/ae-agent/references/toggle-skill.md +3 -3
- package/skills/ae-agent/references/update-agent.md +2 -2
- package/skills/ae-agent/references/update-automation.md +6 -8
- package/skills/ae-agent/references/update-mcp.md +4 -4
- package/skills/ae-agent/references/update-model.md +2 -3
- package/skills/ae-agent/references/upload-skill-asset.md +3 -3
- package/skills/ae-agent/references/upload-skill-reference.md +3 -3
- package/skills/ae-agent/references/upload-skill-script.md +3 -3
- package/skills/ae-agent/references/upload-skill.md +6 -7
- package/skills/ae-analysis/SKILL.md +105 -512
- package/skills/ae-analysis/references/adhoc_export.md +71 -0
- package/skills/ae-analysis/references/adhoc_run.md +58 -0
- package/skills/ae-analysis/references/ai_models.md +459 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +101 -0
- package/skills/ae-analysis/references/analysis_gateway_assets.md +72 -12
- package/skills/ae-analysis/references/analysis_interpretation.md +38 -0
- package/skills/ae-analysis/references/artifact_download.md +13 -7
- package/skills/ae-analysis/references/asset_abnormal_get.md +5 -5
- package/skills/ae-analysis/references/asset_abnormal_list.md +5 -5
- package/skills/ae-analysis/references/asset_authentication_list.md +5 -5
- package/skills/ae-analysis/references/asset_authentication_update.md +6 -6
- package/skills/ae-analysis/references/asset_batch_dashboard_schedule_freeze.md +26 -0
- package/skills/ae-analysis/references/asset_batch_delete.md +26 -0
- package/skills/ae-analysis/references/asset_batch_disable_auto_backup.md +26 -0
- package/skills/ae-analysis/references/asset_batch_disable_auto_update.md +26 -0
- package/skills/ae-analysis/references/asset_batch_handover.md +26 -0
- package/skills/ae-analysis/references/asset_batch_info_export.md +25 -0
- package/skills/ae-analysis/references/asset_batch_sql_export.md +25 -0
- package/skills/ae-analysis/references/asset_dependency_list.md +30 -0
- package/skills/ae-analysis/references/asset_export.md +30 -0
- package/skills/ae-analysis/references/asset_impact_list.md +30 -0
- package/skills/ae-analysis/references/asset_lineage_get.md +25 -0
- package/skills/ae-analysis/references/asset_list.md +30 -0
- package/skills/ae-analysis/references/asset_query_history_list.md +30 -0
- package/skills/ae-analysis/references/asset_recent_list.md +4 -4
- package/skills/ae-analysis/references/asset_search.md +4 -4
- package/skills/ae-analysis/references/asset_url_get.md +28 -0
- package/skills/ae-analysis/references/audience_models.md +42 -0
- package/skills/ae-analysis/references/batch_create_metadata.md +5 -1
- package/skills/ae-analysis/references/batch_edit_metadata.md +4 -1
- package/skills/ae-analysis/references/bi_panel_copy.md +1 -1
- package/skills/ae-analysis/references/bi_panel_create.md +1 -1
- package/skills/ae-analysis/references/bi_panel_delete.md +2 -0
- package/skills/ae-analysis/references/bi_panel_list.md +4 -2
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +8 -4
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +7 -3
- package/skills/ae-analysis/references/bi_panel_share.md +1 -1
- package/skills/ae-analysis/references/bi_panel_update.md +1 -1
- package/skills/ae-analysis/references/bi_panel_version_publish.md +1 -1
- package/skills/ae-analysis/references/cancel_query.md +4 -4
- package/skills/ae-analysis/references/command_index.md +209 -0
- package/skills/ae-analysis/references/create_alert.md +1 -1
- package/skills/ae-analysis/references/create_entity.md +1 -1
- package/skills/ae-analysis/references/create_metric.md +11 -15
- package/skills/ae-analysis/references/create_project_mark_time.md +2 -1
- package/skills/ae-analysis/references/create_virtual_event.md +10 -14
- package/skills/ae-analysis/references/create_virtual_property.md +1 -1
- package/skills/ae-analysis/references/dashboard_copy.md +1 -1
- package/skills/ae-analysis/references/dashboard_create.md +1 -1
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +1 -1
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +1 -1
- package/skills/ae-analysis/references/dashboard_definition_import.md +1 -1
- package/skills/ae-analysis/references/dashboard_delete.md +2 -0
- package/skills/ae-analysis/references/dashboard_freeze.md +1 -1
- package/skills/ae-analysis/references/dashboard_handover.md +1 -1
- package/skills/ae-analysis/references/dashboard_list.md +4 -2
- package/skills/ae-analysis/references/dashboard_report_add.md +15 -0
- package/skills/ae-analysis/references/dashboard_report_data_export.md +15 -7
- package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -7
- package/skills/ae-analysis/references/dashboard_share.md +11 -2
- package/skills/ae-analysis/references/dashboard_update.md +12 -3
- package/skills/ae-analysis/references/datatable_columns_get.md +2 -2
- package/skills/ae-analysis/references/datatable_influence_list.md +2 -2
- package/skills/ae-analysis/references/datatable_version_get.md +2 -2
- package/skills/ae-analysis/references/datatable_version_list.md +2 -2
- package/skills/ae-analysis/references/delete_alert.md +8 -3
- package/skills/ae-analysis/references/delete_metric.md +8 -3
- package/skills/ae-analysis/references/delete_project_mark_times.md +5 -3
- package/skills/ae-analysis/references/delete_track_items.md +4 -3
- package/skills/ae-analysis/references/drilldown_user_events_export.md +20 -0
- package/skills/ae-analysis/references/drilldown_user_events_run.md +34 -0
- package/skills/ae-analysis/references/drilldown_users_export.md +17 -0
- package/skills/ae-analysis/references/drilldown_users_run.md +61 -0
- package/skills/ae-analysis/references/entity_detail_export.md +31 -0
- package/skills/ae-analysis/references/entity_detail_run.md +50 -0
- package/skills/ae-analysis/references/entity_id_import_options.md +20 -0
- package/skills/ae-analysis/references/event_changelog_list.md +2 -2
- package/skills/ae-analysis/references/event_create.md +4 -4
- package/skills/ae-analysis/references/event_delete.md +5 -4
- package/skills/ae-analysis/references/event_detail_export.md +31 -0
- package/skills/ae-analysis/references/event_detail_run.md +58 -0
- package/skills/ae-analysis/references/event_get.md +2 -2
- package/skills/ae-analysis/references/event_hide_update.md +3 -3
- package/skills/ae-analysis/references/event_influence_list.md +2 -2
- package/skills/ae-analysis/references/event_list.md +2 -2
- package/skills/ae-analysis/references/{super_metadata_export.md → event_property_bundle_export.md} +7 -7
- package/skills/ae-analysis/references/event_property_bundle_import.md +25 -0
- package/skills/ae-analysis/references/event_relation_update.md +4 -4
- package/skills/ae-analysis/references/event_update.md +2 -2
- package/skills/ae-analysis/references/exchange_config_update.md +2 -2
- package/skills/ae-analysis/references/exchange_rate_refresh.md +2 -2
- package/skills/ae-analysis/references/exchange_rule_list.md +2 -2
- package/skills/ae-analysis/references/exchange_rule_update.md +4 -4
- package/skills/ae-analysis/references/exchange_rule_validate.md +4 -4
- package/skills/ae-analysis/references/favorite_add.md +1 -1
- package/skills/ae-analysis/references/favorite_remove.md +1 -1
- package/skills/ae-analysis/references/folder_create.md +2 -3
- package/skills/ae-analysis/references/folder_share.md +2 -3
- package/skills/ae-analysis/references/generate_track_program.md +2 -1
- package/skills/ae-analysis/references/generate_track_sdk_sample.md +2 -1
- package/skills/ae-analysis/references/get_alert.md +4 -0
- package/skills/ae-analysis/references/get_alert_definition_schema.md +1 -0
- package/skills/ae-analysis/references/get_metric.md +4 -4
- package/skills/ae-analysis/references/get_project_config.md +1 -0
- package/skills/ae-analysis/references/get_resource_url.md +1 -0
- package/skills/ae-analysis/references/get_track_program.md +3 -0
- package/skills/ae-analysis/references/history_tag_batch_refresh.md +19 -0
- package/skills/ae-analysis/references/history_tag_clear.md +13 -0
- package/skills/ae-analysis/references/history_tag_data_drilldown_export.md +15 -0
- package/skills/ae-analysis/references/history_tag_data_drilldown_run.md +13 -0
- package/skills/ae-analysis/references/history_tag_data_export.md +15 -0
- package/skills/ae-analysis/references/history_tag_data_run.md +15 -0
- package/skills/ae-analysis/references/history_tag_list.md +11 -0
- package/skills/ae-analysis/references/history_tag_refresh.md +11 -0
- package/skills/ae-analysis/references/input_file_inspect.md +9 -0
- package/skills/ae-analysis/references/input_file_purpose_list.md +9 -0
- package/skills/ae-analysis/references/input_file_upload.md +11 -0
- package/skills/ae-analysis/references/list_alerts.md +3 -2
- package/skills/ae-analysis/references/list_entities.md +3 -2
- package/skills/ae-analysis/references/list_events.md +5 -5
- package/skills/ae-analysis/references/list_metrics.md +5 -5
- package/skills/ae-analysis/references/list_project_mark_times.md +2 -1
- package/skills/ae-analysis/references/list_project_users.md +1 -0
- package/skills/ae-analysis/references/list_properties.md +5 -5
- package/skills/ae-analysis/references/load_filters.md +3 -0
- package/skills/ae-analysis/references/metric_create.md +11 -6
- package/skills/ae-analysis/references/metric_delete.md +5 -4
- package/skills/ae-analysis/references/metric_get.md +2 -2
- package/skills/ae-analysis/references/metric_list.md +2 -2
- package/skills/ae-analysis/references/metric_update.md +12 -6
- package/skills/ae-analysis/references/operation_record_export.md +25 -0
- package/skills/ae-analysis/references/operation_record_list.md +31 -0
- package/skills/ae-analysis/references/project_space_create.md +2 -3
- package/skills/ae-analysis/references/project_space_list.md +3 -1
- package/skills/ae-analysis/references/project_space_share.md +2 -3
- package/skills/ae-analysis/references/property_changelog_list.md +2 -2
- package/skills/ae-analysis/references/property_create.md +4 -4
- package/skills/ae-analysis/references/property_delete.md +5 -4
- package/skills/ae-analysis/references/property_get.md +2 -2
- package/skills/ae-analysis/references/property_hide_update.md +3 -3
- package/skills/ae-analysis/references/property_influence_list.md +2 -2
- package/skills/ae-analysis/references/property_list.md +2 -2
- package/skills/ae-analysis/references/property_related_events.md +2 -2
- package/skills/ae-analysis/references/property_relation_update.md +4 -4
- package/skills/ae-analysis/references/property_update.md +2 -2
- package/skills/ae-analysis/references/public_link_create.md +1 -1
- package/skills/ae-analysis/references/public_link_delete.md +2 -0
- package/skills/ae-analysis/references/public_link_list.md +3 -1
- package/skills/ae-analysis/references/public_link_offline.md +1 -1
- package/skills/ae-analysis/references/public_link_update.md +1 -1
- package/skills/ae-analysis/references/query_cancel.md +1 -1
- package/skills/ae-analysis/references/query_create_result_cluster.md +47 -0
- package/skills/ae-analysis/references/report_abnormal_get.md +15 -0
- package/skills/ae-analysis/references/report_change_log_get.md +15 -0
- package/skills/ae-analysis/references/report_change_log_list.md +15 -0
- package/skills/ae-analysis/references/report_create.md +29 -0
- package/skills/ae-analysis/references/report_data_export.md +37 -0
- package/skills/ae-analysis/references/report_data_run.md +45 -0
- package/skills/ae-analysis/references/report_delete.md +17 -0
- package/skills/ae-analysis/references/report_get.md +21 -0
- package/skills/ae-analysis/references/report_list.md +17 -0
- package/skills/ae-analysis/references/report_list_export.md +15 -0
- package/skills/ae-analysis/references/report_update.md +22 -0
- package/skills/ae-analysis/references/report_version_rollback.md +15 -0
- package/skills/ae-analysis/references/rule_create.md +27 -0
- package/skills/ae-analysis/references/rule_delete.md +26 -0
- package/skills/ae-analysis/references/rule_list.md +24 -0
- package/skills/ae-analysis/references/rule_schema.md +24 -0
- package/skills/ae-analysis/references/rule_update.md +28 -0
- package/skills/ae-analysis/references/run_inspect.md +10 -4
- package/skills/ae-analysis/references/save_track_items.md +4 -1
- package/skills/ae-analysis/references/sql_table_columns.md +20 -0
- package/skills/ae-analysis/references/sql_table_list.md +33 -0
- package/skills/ae-analysis/references/update_alert.md +1 -1
- package/skills/ae-analysis/references/update_metric.md +11 -14
- package/skills/ae-analysis/references/update_project_mark_time.md +4 -3
- package/skills/ae-analysis/references/user_cluster_create.md +15 -0
- package/skills/ae-analysis/references/user_cluster_create_id.md +15 -0
- package/skills/ae-analysis/references/user_cluster_delete.md +13 -0
- package/skills/ae-analysis/references/user_cluster_get.md +11 -0
- package/skills/ae-analysis/references/user_cluster_list.md +15 -0
- package/skills/ae-analysis/references/user_cluster_member_export.md +15 -0
- package/skills/ae-analysis/references/user_cluster_member_list.md +19 -0
- package/skills/ae-analysis/references/user_cluster_models.md +87 -0
- package/skills/ae-analysis/references/user_cluster_refresh.md +11 -0
- package/skills/ae-analysis/references/user_cluster_update.md +13 -0
- package/skills/ae-analysis/references/user_cluster_update_id.md +15 -0
- package/skills/ae-analysis/references/user_tag_create.md +15 -0
- package/skills/ae-analysis/references/user_tag_create_id.md +15 -0
- package/skills/ae-analysis/references/user_tag_delete.md +13 -0
- package/skills/ae-analysis/references/user_tag_get.md +11 -0
- package/skills/ae-analysis/references/user_tag_list.md +17 -0
- package/skills/ae-analysis/references/user_tag_member_export.md +15 -0
- package/skills/ae-analysis/references/user_tag_member_list.md +19 -0
- package/skills/ae-analysis/references/user_tag_models.md +54 -0
- package/skills/ae-analysis/references/user_tag_refresh.md +11 -0
- package/skills/ae-analysis/references/user_tag_update.md +13 -0
- package/skills/ae-analysis/references/user_tag_update_id.md +15 -0
- package/skills/ae-analysis/references/virtual_event_create.md +4 -4
- package/skills/ae-analysis/references/virtual_event_delete.md +5 -4
- package/skills/ae-analysis/references/virtual_event_get.md +2 -2
- package/skills/ae-analysis/references/virtual_property_create.md +13 -6
- package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +5 -4
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +13 -6
- package/skills/ae-analysis-global/SKILL.md +6 -8
- package/skills/ae-analysis-global/references/list_query_clusters.md +7 -6
- package/skills/ae-capability/SKILL.md +68 -15
- package/skills/ae-community/SKILL.md +2 -2
- package/skills/ae-data-integration-helper/SKILL.md +1 -1
- package/skills/ae-dataops/SKILL.md +1 -1
- package/skills/ae-engage/SKILL.md +38 -10
- package/skills/ae-engage/references/build-task-save-guide.md +11 -9
- package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
- package/skills/ae-engage/references/group-list.md +13 -0
- package/skills/ae-engage/references/operation-log-query.md +11 -0
- package/skills/ae-engage/references/ops-delete.md +14 -0
- package/skills/ae-engage/references/push-record-query.md +26 -0
- package/skills/ae-engage/references/save-flow.md +5 -4
- package/skills/ae-engage/references/save-task.md +24 -20
- package/skills/ae-engage/references/segment-list-query.md +18 -0
- package/skills/ae-engage/references/task-operation-log-query.md +23 -0
- package/skills/ae-engage/references/version-list.md +18 -0
- package/skills/ae-generate-tracking-code/SKILL.md +2 -2
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
- package/skills/ae-generate-tracking-plan/SKILL.md +18 -13
- package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
- package/skills/ae-kb/SKILL.md +1 -1
- package/skills/ae-metadata/SKILL.md +9 -8
- package/skills/ae-metadata/references/metadata_data_table_csv_delete.md +1 -0
- package/skills/ae-metadata/references/metadata_data_table_csv_write.md +6 -6
- package/skills/ae-metadata/references/metadata_data_table_property_bindings_update.md +2 -2
- package/skills/ae-metadata/references/metadata_data_table_sql_delete.md +1 -0
- package/skills/ae-metadata/references/metadata_data_table_sql_write.md +21 -7
- package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +3 -3
- package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
- package/skills/ae-team/SKILL.md +9 -9
- package/skills/ae-team/references/create.md +2 -2
- package/skills/ae-team/references/delete.md +3 -3
- package/skills/ae-team/references/run-cancel.md +3 -3
- package/skills/ae-team/references/run-chat.md +4 -4
- package/skills/ae-team/references/run-reply.md +3 -3
- package/skills/ae-team/references/run-start.md +4 -5
- package/skills/ae-team/references/run-watch.md +1 -1
- package/skills/ae-team/references/update.md +2 -2
- package/dist/chunk-P2JRP6HJ.js +0 -42
- package/dist/chunk-S5XN6KEX.js +0 -42
- package/dist/te-analysis-DDXGM7WM.js +0 -3188
- package/dist/te-analysis-HCDNYI7E.js +0 -3188
- package/dist/te-audience-ECFS4GF4.js +0 -600
- package/dist/te-audience-WO377T2J.js +0 -600
- package/skills/ae-analysis/references/build_attribution_analysis_qp.md +0 -62
- package/skills/ae-analysis/references/build_cluster_definition.md +0 -62
- package/skills/ae-analysis/references/build_distribution_analysis_qp.md +0 -67
- package/skills/ae-analysis/references/build_entity_details_sql.md +0 -58
- package/skills/ae-analysis/references/build_event_analysis_qp.md +0 -134
- package/skills/ae-analysis/references/build_event_details_sql.md +0 -61
- package/skills/ae-analysis/references/build_funnel_analysis_qp.md +0 -145
- package/skills/ae-analysis/references/build_heat_map_analysis_qp.md +0 -54
- package/skills/ae-analysis/references/build_interval_analysis_qp.md +0 -60
- package/skills/ae-analysis/references/build_path_analysis_qp.md +0 -53
- package/skills/ae-analysis/references/build_prop_analysis_qp.md +0 -124
- package/skills/ae-analysis/references/build_rank_list_analysis_qp.md +0 -63
- package/skills/ae-analysis/references/build_retention_analysis_qp.md +0 -143
- package/skills/ae-analysis/references/build_tag_definition.md +0 -65
- package/skills/ae-analysis/references/copy_dashboard.md +0 -33
- package/skills/ae-analysis/references/create_cluster.md +0 -69
- package/skills/ae-analysis/references/create_dashboard.md +0 -49
- package/skills/ae-analysis/references/create_id_cluster.md +0 -40
- package/skills/ae-analysis/references/create_id_tag.md +0 -39
- package/skills/ae-analysis/references/create_or_update_dashboard_note.md +0 -39
- package/skills/ae-analysis/references/create_public_access_link.md +0 -43
- package/skills/ae-analysis/references/create_report.md +0 -60
- package/skills/ae-analysis/references/create_result_cluster.md +0 -73
- package/skills/ae-analysis/references/create_space.md +0 -34
- package/skills/ae-analysis/references/create_tag.md +0 -61
- package/skills/ae-analysis/references/delete_cluster.md +0 -27
- package/skills/ae-analysis/references/delete_dashboard.md +0 -30
- package/skills/ae-analysis/references/delete_report.md +0 -27
- package/skills/ae-analysis/references/delete_tag.md +0 -27
- package/skills/ae-analysis/references/drilldown_user_events.md +0 -74
- package/skills/ae-analysis/references/drilldown_users.md +0 -80
- package/skills/ae-analysis/references/freeze_dashboards.md +0 -29
- package/skills/ae-analysis/references/get_analysis_query_schema.md +0 -71
- package/skills/ae-analysis/references/get_bi_panel_detail.md +0 -35
- package/skills/ae-analysis/references/get_cluster_definition_schema.md +0 -53
- package/skills/ae-analysis/references/get_clusters_by_name.md +0 -69
- package/skills/ae-analysis/references/get_filter_schema.md +0 -33
- package/skills/ae-analysis/references/get_groupby_schema.md +0 -33
- package/skills/ae-analysis/references/get_report_definition.md +0 -37
- package/skills/ae-analysis/references/get_table_columns.md +0 -37
- package/skills/ae-analysis/references/get_tag_definition_schema.md +0 -49
- package/skills/ae-analysis/references/get_tags_by_name.md +0 -69
- package/skills/ae-analysis/references/list_bi_panels.md +0 -35
- package/skills/ae-analysis/references/list_cluster_members.md +0 -45
- package/skills/ae-analysis/references/list_clusters.md +0 -46
- package/skills/ae-analysis/references/list_dashboards.md +0 -43
- package/skills/ae-analysis/references/list_public_access_links.md +0 -41
- package/skills/ae-analysis/references/list_reports.md +0 -43
- package/skills/ae-analysis/references/list_spaces.md +0 -27
- package/skills/ae-analysis/references/list_tag_members.md +0 -46
- package/skills/ae-analysis/references/list_tags.md +0 -44
- package/skills/ae-analysis/references/move_dashboard.md +0 -33
- package/skills/ae-analysis/references/query_adhoc.md +0 -141
- package/skills/ae-analysis/references/query_bi_panel_data.md +0 -58
- package/skills/ae-analysis/references/query_dashboard_detail.md +0 -35
- package/skills/ae-analysis/references/query_dashboard_report_data.md +0 -63
- package/skills/ae-analysis/references/query_entity_details.md +0 -63
- package/skills/ae-analysis/references/query_event_details.md +0 -66
- package/skills/ae-analysis/references/query_report_data.md +0 -99
- package/skills/ae-analysis/references/refresh_cluster.md +0 -31
- package/skills/ae-analysis/references/refresh_tag.md +0 -31
- package/skills/ae-analysis/references/super_metadata_import.md +0 -24
- package/skills/ae-analysis/references/update_cluster.md +0 -61
- package/skills/ae-analysis/references/update_dashboard.md +0 -45
- package/skills/ae-analysis/references/update_id_cluster.md +0 -36
- package/skills/ae-analysis/references/update_id_tag.md +0 -37
- package/skills/ae-analysis/references/update_public_access_link.md +0 -41
- package/skills/ae-analysis/references/update_report.md +0 -35
- package/skills/ae-analysis/references/update_tag.md +0 -61
- package/skills/ae-analysis-intent/SKILL.md +0 -132
- package/skills/ae-metadata/references/metadata_input_file_upload.md +0 -29
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# analysis_audience +get_tags_by_name (Locate Tags by Name)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Tag Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Get tag definition details in batch by tag name. Returns complete tag information for matched tags, including IDs, names, display names, types, status, user counts, and tag definitions.
|
|
9
|
-
|
|
10
|
-
## Commands
|
|
11
|
-
```bash
|
|
12
|
-
ae-cli analysis_audience +get_tags_by_name --project_id <project_id> --names '["demo"]'
|
|
13
|
-
ae-cli analysis_audience +get_tags_by_name --dry-run
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
| Parameter | Required | Description |
|
|
18
|
-
|---|---|---|
|
|
19
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
20
|
-
| `--names` | Yes | List of tag names (JSON array). Exact-name matching is used; unmatched tags are ignored automatically. |
|
|
21
|
-
|
|
22
|
-
## Decision Rules
|
|
23
|
-
- For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--names`) and add optional parameters after confirming the path works.
|
|
24
|
-
- `--names` must be passed as a JSON array (e.g. `--names '["tag_a","tag_b"]'`).
|
|
25
|
-
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
26
|
-
|
|
27
|
-
## Enum Codebook (Asset Definition Interpretation Only)
|
|
28
|
-
|
|
29
|
-
When interpreting tag `definition` for users, if operator enum codes appear, use the following complete `calcuSymbol` mapping instead of outputting raw codes only.
|
|
30
|
-
|
|
31
|
-
| Code | Meaning | Applicable Types |
|
|
32
|
-
|---|---|---|
|
|
33
|
-
| `C00` | equals | all |
|
|
34
|
-
| `C000` | equals empty string | string |
|
|
35
|
-
| `C01` | not equals | all |
|
|
36
|
-
| `C010` | not equals empty string | string |
|
|
37
|
-
| `C02` | less than | number |
|
|
38
|
-
| `C020` | less than or equal | number |
|
|
39
|
-
| `C03` | greater than | number |
|
|
40
|
-
| `C030` | greater than or equal | number |
|
|
41
|
-
| `C04` | has value | all |
|
|
42
|
-
| `C05` | no value | all |
|
|
43
|
-
| `C06` | range | number/date |
|
|
44
|
-
| `C060` | date range | date |
|
|
45
|
-
| `C07` | contains | string |
|
|
46
|
-
| `C08` | does not contain | string |
|
|
47
|
-
| `C09` | true | bool |
|
|
48
|
-
| `C10` | false | bool |
|
|
49
|
-
| `C11` | regex match | string |
|
|
50
|
-
| `C12` | regex does not match | string |
|
|
51
|
-
| `C13` | relative to current time | date/datetime |
|
|
52
|
-
| `C14` | relative to event time | date/datetime |
|
|
53
|
-
| `C15` | element exists | array |
|
|
54
|
-
| `C16` | element does not exist | array |
|
|
55
|
-
| `C17` | element position | array |
|
|
56
|
-
| `C18` | no value | array |
|
|
57
|
-
| `C19` | has value | array |
|
|
58
|
-
| `C20` | belongs to cluster | cluster/tag (`tableType="2"`) |
|
|
59
|
-
| `C21` | does not belong to cluster | cluster/tag (`tableType="2"`) |
|
|
60
|
-
| `C22` | object exists that satisfies condition | array |
|
|
61
|
-
| `C23` | no object satisfies condition | array |
|
|
62
|
-
| `C24` | all objects satisfy condition | array |
|
|
63
|
-
|
|
64
|
-
## Next Step on Failure
|
|
65
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--names`).
|
|
66
|
-
- If reading fails, first verify whether the object ID exists and belongs to the current project.
|
|
67
|
-
|
|
68
|
-
## Recommended Chain
|
|
69
|
-
- +list_tags -> +get_tags_by_name -> +update_tag
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# analysis +list_bi_panels (list BI panels)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **BI panel management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Discover BI panels accessible to the current MCP user in a project.
|
|
9
|
-
- Search BI panels by name before asking for structure or data.
|
|
10
|
-
- Get lightweight panel metadata such as `panelId`, `name`, `pageCount`, and `hasSummary`.
|
|
11
|
-
|
|
12
|
-
## Command
|
|
13
|
-
```bash
|
|
14
|
-
ae-cli analysis +list_bi_panels --project_id <project_id>
|
|
15
|
-
ae-cli analysis +list_bi_panels --project_id <project_id> --query "history" --fields '["panelId","name","pageCount","hasSummary"]' --limit 20 --offset 0
|
|
16
|
-
ae-cli analysis +list_bi_panels --project_id <project_id> --dry-run
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Parameters
|
|
20
|
-
| Parameter | Required | Description |
|
|
21
|
-
|---|---|---|
|
|
22
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
23
|
-
| `--query` / `-q` | No | Optional keyword filter. Fuzzy matches BI panel names. |
|
|
24
|
-
| `--fields` / `-f` | No | Optional returned fields. Supported values: `panelId`, `name`, `spaceId`, `spaceName`, `ownerName`, `updatedAt`, `pageCount`, `hasSummary`. |
|
|
25
|
-
| `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 10000. |
|
|
26
|
-
| `--offset` / `-o` | No | Optional page offset. Default: 0. |
|
|
27
|
-
|
|
28
|
-
## Decision Rules
|
|
29
|
-
- Use this before `+get_bi_panel_detail` unless the target `panel_id` is already verified in the same project and host.
|
|
30
|
-
- Do not use this command to inspect pages, charts, controls, raw config, SQL, or permission rules.
|
|
31
|
-
- Do not pass `userId` or `openId`; the service uses the current MCP user.
|
|
32
|
-
- If no panel is found by keyword, broaden the keyword or list accessible panels and ask the user to choose.
|
|
33
|
-
|
|
34
|
-
## Recommended Chaining
|
|
35
|
-
- `+list_bi_panels` -> `+get_bi_panel_detail` -> `+query_bi_panel_data`
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# analysis_audience +list_cluster_members (View Cluster Members)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Cluster Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- List members in the specified cluster.
|
|
9
|
-
- Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
|
|
10
|
-
- Returns a paginated envelope (items + total + limit + offset + hasMore).
|
|
11
|
-
|
|
12
|
-
## Commands
|
|
13
|
-
```bash
|
|
14
|
-
ae-cli analysis_audience +list_cluster_members --project_id <project_id> --cluster_name demo
|
|
15
|
-
ae-cli analysis_audience +list_cluster_members --project_id <project_id> --cluster_name demo --property_names '["#user_id","name"]' --use_cache false
|
|
16
|
-
ae-cli analysis_audience +list_cluster_members --project_id <project_id> --cluster_name demo --query user_001 --fields '["#user_id","name"]' --limit 20 --offset 0 --request_id mcp_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --timeout_minutes 8
|
|
17
|
-
ae-cli analysis_audience +list_cluster_members --dry-run
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Parameters
|
|
21
|
-
| Parameter | Required | Description |
|
|
22
|
-
|---|---|---|
|
|
23
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
24
|
-
| `--cluster_name` | Yes | Cluster name |
|
|
25
|
-
| `--property_names` | No | Optional list of user property names (JSON array) |
|
|
26
|
-
| `--use_cache` | No | Whether to use cache. Default: true |
|
|
27
|
-
| `--query` | No | Optional keyword filter on `#user_id` and selected properties. |
|
|
28
|
-
| `--fields` | No | Optional return field list (JSON array). Invalid fields will fail with `INVALID_FIELDS`. |
|
|
29
|
-
| `--limit` | No | Optional page size. Default: 20, max: 50. |
|
|
30
|
-
| `--offset` | No | Optional page offset. Default: 0. |
|
|
31
|
-
| `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
|
|
32
|
-
| `--timeout_minutes` | No | Query timeout in minutes. If omitted, 30 minutes is used. |
|
|
33
|
-
|
|
34
|
-
## Decision Rules
|
|
35
|
-
- For the first execution, include all required parameters (`--project_id`, `--cluster_name`, `--request_id`) and add optional parameters after confirming the path works.
|
|
36
|
-
- `--property_names` must be passed as a JSON array (e.g. `--property_names '["#user_id"]'`).
|
|
37
|
-
- Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
|
|
38
|
-
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
39
|
-
|
|
40
|
-
## Next Step on Failure
|
|
41
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--cluster_name`, `--request_id`).
|
|
42
|
-
- If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
|
|
43
|
-
|
|
44
|
-
## Recommended Chain
|
|
45
|
-
- +list_clusters -> +get_clusters_by_name -> +update_cluster
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# analysis_audience +list_clusters (Audience/User Segment Cluster Search)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Cluster Management**
|
|
6
|
-
|
|
7
|
-
## Constraints
|
|
8
|
-
|
|
9
|
-
**Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
|
|
10
|
-
|
|
11
|
-
**Term boundary:** This command lists audience/user segment clusters only. It is not a server, region, or deployment inventory tool.
|
|
12
|
-
|
|
13
|
-
## Use Cases
|
|
14
|
-
- List audience/user segment cluster metadata accessible to the current user in the project.
|
|
15
|
-
- Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
|
|
16
|
-
- Returns a paginated envelope (items + total + limit + offset + hasMore), not cluster members.
|
|
17
|
-
|
|
18
|
-
## Commands
|
|
19
|
-
```bash
|
|
20
|
-
ae-cli analysis_audience +list_clusters --project_id <project_id>
|
|
21
|
-
ae-cli analysis_audience +list_clusters --project_id <project_id> --query demo
|
|
22
|
-
ae-cli analysis_audience +list_clusters --project_id <project_id> --fields '["id","clusterName","displayName","remarks","clusterType","progress","usersNum"]' --limit 20 --offset 0
|
|
23
|
-
ae-cli analysis_audience +list_clusters --dry-run
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Parameters
|
|
27
|
-
| Parameter | Required | Description |
|
|
28
|
-
|---|---|---|
|
|
29
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
30
|
-
| `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against clusterName, displayName, and remarks; if omitted, all clusters are returned. |
|
|
31
|
-
| `--fields` | No | Optional return field list (JSON array). Supported fields: `id`, `clusterName`, `displayName`, `clusterType`, `progress`, `usersNum`, `refreshStatus`, `remarks`, `authenticationStatus`. Default fields when omitted: `id`, `clusterName`, `displayName`, `remarks`, `clusterType`, `progress`, `usersNum`, `authenticationStatus`. Invalid fields will fail with `INVALID_FIELDS`. |
|
|
32
|
-
| `--limit` | No | Optional page size. Default: 20, max: 50. |
|
|
33
|
-
| `--offset` | No | Optional page offset. Default: 0. |
|
|
34
|
-
| `--authenticated_only` | No | When true, return only authenticated clusters. |
|
|
35
|
-
|
|
36
|
-
## Decision Rules
|
|
37
|
-
- Use `--authenticated_only true` only when the user explicitly asks for authenticated assets. `authenticationStatus` is `1` for authenticated and `0` for unauthenticated.
|
|
38
|
-
- For the first execution, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the path works.
|
|
39
|
-
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
40
|
-
|
|
41
|
-
## Next Step on Failure
|
|
42
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`).
|
|
43
|
-
- If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
|
|
44
|
-
|
|
45
|
-
## Recommended Chain
|
|
46
|
-
- +list_clusters -> +get_clusters_by_name -> +update_cluster
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# analysis +list_dashboards (List Dashboards)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Dashboard management**
|
|
6
|
-
|
|
7
|
-
## Constraints
|
|
8
|
-
|
|
9
|
-
**Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
|
|
10
|
-
|
|
11
|
-
**Builder failure is terminal:** For builder-supported ad-hoc analysis, this command may be used only in the initial `QUERY_EXISTING_FIRST` dashboard search. Do not call dashboard/report detail tools as a fallback after a QP builder returns non-generated status.
|
|
12
|
-
|
|
13
|
-
## Use Cases
|
|
14
|
-
- List dashboard metadata accessible to the current user in the project. Supports keyword filtering and returns dashboard IDs, names, descriptions, and related metadata, but not dashboard configuration or report data.
|
|
15
|
-
- List dashboard metadata accessible to the current user in the project.
|
|
16
|
-
|
|
17
|
-
## Command
|
|
18
|
-
```bash
|
|
19
|
-
ae-cli analysis +list_dashboards --project_id <project_id>
|
|
20
|
-
ae-cli analysis +list_dashboards --project_id <project_id> --query demo
|
|
21
|
-
ae-cli analysis +list_dashboards --project_id <project_id> --fields '["dashboardId","dashboardName","remark"]' --limit 20 --offset 0
|
|
22
|
-
ae-cli analysis +list_dashboards --dry-run
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Parameters
|
|
26
|
-
| Parameter | Required | Description |
|
|
27
|
-
|---|---|---|
|
|
28
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
29
|
-
| `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against dashboard names and remarks; if omitted, all accessible dashboards are returned. |
|
|
30
|
-
| `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `dashboardId`, `dashboardName`, `remark`. Default fields when omitted: `dashboardId`, `dashboardName`, `remark`. Dashboard metadata exposes `remark` but no separate desc field. |
|
|
31
|
-
| `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 10000. |
|
|
32
|
-
| `--offset` / `-o` | No | Optional page offset. Default: 0. |
|
|
33
|
-
|
|
34
|
-
## Decision Rules
|
|
35
|
-
- On the first run, start with only the required parameters (`--project_id`), and add optional parameters after confirming the path works.
|
|
36
|
-
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
37
|
-
|
|
38
|
-
## Next Steps on Failure
|
|
39
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`).
|
|
40
|
-
- If the result is empty, first confirm the project ID / keyword, then try loosening the filter conditions.
|
|
41
|
-
|
|
42
|
-
## Recommended chaining
|
|
43
|
-
- +list_dashboards -> +query_dashboard_detail -> +query_dashboard_report_data
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# analysis +list_public_access_links (public link search)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Dashboard Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- List public access links in the project. Returns link IDs, short codes, access targets, status, effective time, expiration time, and related metadata.
|
|
9
|
-
- Supports pagination with fields/limit/offset for payload governance.
|
|
10
|
-
- Query performs fuzzy matching on shorter and remarks.
|
|
11
|
-
|
|
12
|
-
## Commands
|
|
13
|
-
```bash
|
|
14
|
-
ae-cli analysis +list_public_access_links --project_id <project_id>
|
|
15
|
-
ae-cli analysis +list_public_access_links --project_id <project_id> --query demo
|
|
16
|
-
ae-cli analysis +list_public_access_links --project_id <project_id> --query demo --fields '["id","shorter","accessStatus"]' --limit 10 --offset 0
|
|
17
|
-
ae-cli analysis +list_public_access_links --dry-run
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Parameters
|
|
21
|
-
| Parameter | Required | Description |
|
|
22
|
-
|---|---|---|
|
|
23
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
24
|
-
| `--query` / `-q` | No | Optional keyword filter. Fuzzy match on shorter and remarks. |
|
|
25
|
-
| `--fields` | No | Optional fields to return. Supported: id, shorter, creator, projectIdAndName, source, accessId, target, options, remarks, accessStatus, effectTime, expireTime, createTime, updateTime. Invalid fields cause INVALID_FIELDS error. |
|
|
26
|
-
| `--limit` | No | Optional limit. Default: 20, maximum: 10000. |
|
|
27
|
-
| `--offset` | No | Optional offset. Default: 0. |
|
|
28
|
-
|
|
29
|
-
## Decision Rules
|
|
30
|
-
- For the first run, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the chain works.
|
|
31
|
-
- For pagination, use `--limit` and `--offset` together. Default limit is 20.
|
|
32
|
-
- Use `--fields` to select specific columns for lighter response payloads.
|
|
33
|
-
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
34
|
-
|
|
35
|
-
## Next Step After Failure
|
|
36
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`).
|
|
37
|
-
- If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
|
|
38
|
-
- If INVALID_FIELDS error appears, check that all field names in `--fields` match the supported list.
|
|
39
|
-
|
|
40
|
-
## Recommended Chaining
|
|
41
|
-
- +list_public_access_links -> +update_public_access_link
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# analysis +list_reports (List Reports)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Report management**
|
|
6
|
-
|
|
7
|
-
## Constraints
|
|
8
|
-
|
|
9
|
-
**Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
|
|
10
|
-
|
|
11
|
-
**Builder failure is terminal:** For builder-supported ad-hoc analysis, this command may be used only in the initial `QUERY_EXISTING_FIRST` report search. Do not call `+list_reports` or `+get_report_definition` as a fallback after a QP builder returns non-generated status.
|
|
12
|
-
|
|
13
|
-
## Use Cases
|
|
14
|
-
- List report metadata accessible to the current user in the project. Supports keyword filtering and returns report IDs, names, model types, update times, and related metadata, but not report definitions or analysis data.
|
|
15
|
-
- List report metadata accessible to the current user in the project.
|
|
16
|
-
|
|
17
|
-
## Command
|
|
18
|
-
```bash
|
|
19
|
-
ae-cli analysis +list_reports --project_id <project_id>
|
|
20
|
-
ae-cli analysis +list_reports --project_id <project_id> --query demo
|
|
21
|
-
ae-cli analysis +list_reports --project_id <project_id> --fields '["reportId","reportName","reportDesc","remark","reportModel"]' --limit 20 --offset 0
|
|
22
|
-
ae-cli analysis +list_reports --dry-run
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Parameters
|
|
26
|
-
| Parameter | Required | Description |
|
|
27
|
-
|---|---|---|
|
|
28
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
29
|
-
| `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against reportName, reportDesc, and remark; if omitted, all accessible reports are returned. |
|
|
30
|
-
| `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `reportId`, `reportName`, `reportDesc`, `remark`, `reportModel`. Default fields when omitted: `reportId`, `reportName`, `reportDesc`, `remark`, `reportModel`. |
|
|
31
|
-
| `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 10000. |
|
|
32
|
-
| `--offset` / `-o` | No | Optional page offset. Default: 0. |
|
|
33
|
-
|
|
34
|
-
## Decision Rules
|
|
35
|
-
- On the first run, start with only the required parameters (`--project_id`), and add optional parameters after confirming the path works.
|
|
36
|
-
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
37
|
-
|
|
38
|
-
## Next Steps on Failure
|
|
39
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`).
|
|
40
|
-
- If the result is empty, first confirm the project ID / keyword, then try loosening the filter conditions.
|
|
41
|
-
|
|
42
|
-
## Recommended chaining
|
|
43
|
-
- +list_reports -> +get_report_definition -> +query_report_data
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# analysis +list_spaces (List Spaces)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Dashboard Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- List all spaces and folders accessible to the current user as a recursive tree.
|
|
9
|
-
- Returns two parts: (1) project spaces with spaceId, name, spaceDesc, and children (folders/dashboards); (2) personal-space folders (My Space / Shared with me / Ungrouped) with their children.
|
|
10
|
-
- Use to resolve `spaceId` for `+create_dashboard` / `+copy_dashboard`, and `toSpaceId` / `toFolderId` / `fromSpaceId` / `fromFolderId` for `+move_dashboard` and `+copy_dashboard`.
|
|
11
|
-
|
|
12
|
-
## Commands
|
|
13
|
-
```bash
|
|
14
|
-
ae-cli analysis_audience +list_spaces --project_id <project_id>
|
|
15
|
-
ae-cli analysis_audience +list_spaces --dry-run
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Parameters
|
|
19
|
-
| Parameter | Required | Description |
|
|
20
|
-
|---|---|---|
|
|
21
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
22
|
-
|
|
23
|
-
## Decision Rules
|
|
24
|
-
- Call this before `+copy_dashboard` or `+move_dashboard` whenever the user specifies a target space or folder by name.
|
|
25
|
-
|
|
26
|
-
## Recommended Chain
|
|
27
|
-
- `+list_spaces` -> `+copy_dashboard` / `+move_dashboard` / `+create_dashboard`
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# analysis_audience +list_tag_members (View Tag Members)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Tag Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- List members in the specified tag.
|
|
9
|
-
- Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
|
|
10
|
-
- Returns a paginated envelope (items + total + limit + offset + hasMore) for the selected snapshot date.
|
|
11
|
-
|
|
12
|
-
## Commands
|
|
13
|
-
```bash
|
|
14
|
-
ae-cli analysis_audience +list_tag_members --project_id <project_id> --tag_name demo
|
|
15
|
-
ae-cli analysis_audience +list_tag_members --project_id <project_id> --tag_name demo --snapshot_date 2026-04-01 --property_names '["#user_id","name"]' --use_cache false
|
|
16
|
-
ae-cli analysis_audience +list_tag_members --project_id <project_id> --tag_name demo --query user_001 --fields '["#user_id","name"]' --limit 20 --offset 0 --request_id mcp_bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb --timeout_minutes 8
|
|
17
|
-
ae-cli analysis_audience +list_tag_members --dry-run
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Parameters
|
|
21
|
-
| Parameter | Required | Description |
|
|
22
|
-
|---|---|---|
|
|
23
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
24
|
-
| `--tag_name` | Yes | Tag name |
|
|
25
|
-
| `--snapshot_date` | No | Optional tag snapshot date. Format: YYYY-MM-DD |
|
|
26
|
-
| `--property_names` | No | Optional list of user property names (JSON array) |
|
|
27
|
-
| `--use_cache` | No | Whether to use cache. Default: true |
|
|
28
|
-
| `--query` | No | Optional keyword filter on `#user_id` and selected properties. |
|
|
29
|
-
| `--fields` | No | Optional return field list (JSON array). Invalid fields will fail with `INVALID_FIELDS`. |
|
|
30
|
-
| `--limit` | No | Optional page size. Default: 20, max: 50. |
|
|
31
|
-
| `--offset` | No | Optional page offset. Default: 0. |
|
|
32
|
-
| `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
|
|
33
|
-
| `--timeout_minutes` | No | Query timeout in minutes. If omitted, 30 minutes is used. |
|
|
34
|
-
|
|
35
|
-
## Decision Rules
|
|
36
|
-
- For the first execution, include all required parameters (`--project_id`, `--tag_name`, `--request_id`) and add optional parameters after confirming the path works.
|
|
37
|
-
- `--property_names` must be passed as a JSON array (e.g. `--property_names '["#user_id"]'`).
|
|
38
|
-
- Generate and pass `--request_id` before starting any cancelable query; it is required. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running; call `+cancel_query --request_id <same value>` with the preset ID. The value must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Omitted or blank IDs return `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`.
|
|
39
|
-
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
40
|
-
|
|
41
|
-
## Next Step on Failure
|
|
42
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--tag_name`, `--request_id`).
|
|
43
|
-
- If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
|
|
44
|
-
|
|
45
|
-
## Recommended Chain
|
|
46
|
-
- +list_tags -> +get_tags_by_name -> +update_tag
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# analysis_audience +list_tags (Tag Search)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Tag Management**
|
|
6
|
-
|
|
7
|
-
## Constraints
|
|
8
|
-
|
|
9
|
-
**Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
|
|
10
|
-
|
|
11
|
-
## Use Cases
|
|
12
|
-
- List tag metadata accessible to the current user in the project.
|
|
13
|
-
- Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
|
|
14
|
-
- Returns a paginated envelope (items + total + limit + offset + hasMore), not tag members.
|
|
15
|
-
|
|
16
|
-
## Commands
|
|
17
|
-
```bash
|
|
18
|
-
ae-cli analysis_audience +list_tags --project_id <project_id>
|
|
19
|
-
ae-cli analysis_audience +list_tags --project_id <project_id> --query demo
|
|
20
|
-
ae-cli analysis_audience +list_tags --project_id <project_id> --fields '["id","clusterName","displayName","remarks","clusterType","subConditionTabType","progress","usersNum"]' --limit 20 --offset 0
|
|
21
|
-
ae-cli analysis_audience +list_tags --dry-run
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Parameters
|
|
25
|
-
| Parameter | Required | Description |
|
|
26
|
-
|---|---|---|
|
|
27
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
28
|
-
| `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against tag names, display names, and remarks; if omitted, all tags are returned. |
|
|
29
|
-
| `--fields` | No | Optional return field list (JSON array). Supported fields: `id`, `clusterName`, `displayName`, `clusterType`, `subConditionTabType`, `progress`, `usersNum`, `remarks`, `authenticationStatus`. Default fields when omitted: `id`, `clusterName`, `displayName`, `remarks`, `clusterType`, `subConditionTabType`, `progress`, `usersNum`, `authenticationStatus`. Invalid fields will fail with `INVALID_FIELDS`. |
|
|
30
|
-
| `--limit` | No | Optional page size. Default: 20, max: 50. |
|
|
31
|
-
| `--offset` | No | Optional page offset. Default: 0. |
|
|
32
|
-
| `--authenticated_only` | No | When true, return only authenticated tags. |
|
|
33
|
-
|
|
34
|
-
## Decision Rules
|
|
35
|
-
- Use `--authenticated_only true` only when the user explicitly asks for authenticated assets. `authenticationStatus` is `1` for authenticated and `0` for unauthenticated.
|
|
36
|
-
- For the first execution, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the path works.
|
|
37
|
-
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
38
|
-
|
|
39
|
-
## Next Step on Failure
|
|
40
|
-
- If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`).
|
|
41
|
-
- If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
|
|
42
|
-
|
|
43
|
-
## Recommended Chain
|
|
44
|
-
- +list_tags -> +get_tags_by_name -> +update_tag
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# analysis +move_dashboard (Move Dashboard)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Dashboard Management**
|
|
6
|
-
|
|
7
|
-
## Use Cases
|
|
8
|
-
- Move a dashboard to a different space or folder.
|
|
9
|
-
- Provide `--to_space_id` to move to a space root, or both `--to_space_id` and `--to_folder_id` to move into a folder within that space.
|
|
10
|
-
- `--from_space_id` and `--from_folder_id` are optional; provide them when the dashboard exists in multiple spaces to disambiguate the source path.
|
|
11
|
-
|
|
12
|
-
## Commands
|
|
13
|
-
```bash
|
|
14
|
-
ae-cli analysis_audience +move_dashboard --project_id <project_id> --dashboard_id <dashboard_id> --to_space_id <space_id>
|
|
15
|
-
ae-cli analysis_audience +move_dashboard --project_id <project_id> --dashboard_id <dashboard_id> --to_space_id <space_id> --to_folder_id <folder_id>
|
|
16
|
-
ae-cli analysis_audience +move_dashboard --dry-run
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Parameters
|
|
20
|
-
| Parameter | Required | Description |
|
|
21
|
-
|---|---|---|
|
|
22
|
-
| `--project_id` / `-p` | Yes | Project ID |
|
|
23
|
-
| `--dashboard_id` | Yes | Dashboard ID to move |
|
|
24
|
-
| `--to_space_id` | Yes | Target space ID |
|
|
25
|
-
| `--to_folder_id` | No | Target folder ID within the target space. Omit to place at the space root. |
|
|
26
|
-
| `--from_space_id` | No | Source space ID. Omit if unknown. |
|
|
27
|
-
| `--from_folder_id` | No | Source folder ID. Omit if unknown. |
|
|
28
|
-
|
|
29
|
-
## Decision Rules
|
|
30
|
-
- Call `+list_spaces` first to resolve `to_space_id` and `to_folder_id`.
|
|
31
|
-
|
|
32
|
-
## Recommended Chain
|
|
33
|
-
- `+list_spaces` -> `+move_dashboard`
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
# analysis +query_adhoc (Ad Hoc Analysis Execution)
|
|
2
|
-
|
|
3
|
-
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
-
|
|
5
|
-
Domain: **Model analysis**
|
|
6
|
-
|
|
7
|
-
## Constraints
|
|
8
|
-
|
|
9
|
-
**⚠️ QUERY_EXISTING_FIRST:** Before using ad-hoc query, you MUST first check for existing reports with `+list_reports` and dashboards with `analysis dashboard list`. Only use `query_adhoc` if no matching asset is used. See [SKILL.md § D. QUERY_EXISTING_FIRST](../SKILL.md#d-query_existing_first).
|
|
10
|
-
|
|
11
|
-
**⚠️ QP_BUILDER_SUPPORTED_MODELS_ONLY:** QP builder supports all ten non-SQL ad-hoc model types: `event`, `retention`, `funnel`, `prop_analysis`, `attribution`, `distribution`, `heat_map`, `interval`, `path`, and `rank_list`.
|
|
12
|
-
|
|
13
|
-
For these ten model types, call the matching builder before `query_adhoc`. Do not handcraft QP from `get_analysis_query_schema`, examples, or prior knowledge.
|
|
14
|
-
|
|
15
|
-
Only `sql` has no builder. Use the schema/verified SQL-definition path for SQL.
|
|
16
|
-
|
|
17
|
-
For builder-supported models, schema/metadata tools are not builder pre-steps. After report/dashboard lookup misses, do not call `get_analysis_query_schema`, `list_events`, `list_properties`, `list_metrics`, `get_metric`, or `get_report_definition` before the builder. The builder resolves event/property/metric metadata internally.
|
|
18
|
-
|
|
19
|
-
**Hard stop rule:** If builder status is not `generated`, stop and ask the user to clarify or report the builder error. Do not call `query_adhoc`, `get_analysis_query_schema`, or manually assemble QP for any of the ten builder-supported models.
|
|
20
|
-
|
|
21
|
-
Builder mapping:
|
|
22
|
-
1. `event` -> `+build_event_analysis_qp`
|
|
23
|
-
2. `retention` -> `+build_retention_analysis_qp`
|
|
24
|
-
3. `funnel` -> `+build_funnel_analysis_qp`
|
|
25
|
-
4. `prop_analysis` -> `+build_prop_analysis_qp`
|
|
26
|
-
5. `attribution` -> `+build_attribution_analysis_qp`
|
|
27
|
-
6. `distribution` -> `+build_distribution_analysis_qp`
|
|
28
|
-
7. `heat_map` -> `+build_heat_map_analysis_qp`
|
|
29
|
-
8. `interval` -> `+build_interval_analysis_qp`
|
|
30
|
-
9. `path` -> `+build_path_analysis_qp`
|
|
31
|
-
10. `rank_list` -> `+build_rank_list_analysis_qp`
|
|
32
|
-
|
|
33
|
-
**Quick check workflow:**
|
|
34
|
-
1. `list_reports --query <keyword>` - search matching reports
|
|
35
|
-
2. `ae-cli analysis dashboard list --project-id <project_id> --query <keyword>` - search matching dashboards
|
|
36
|
-
3. If found → use `+query_report_data` or `analysis dashboard-report-data run/export`
|
|
37
|
-
4. If not found and model is non-SQL → read the matching builder reference, call the builder, then call `query_adhoc` with `model_type` + built `qp`; do not insert schema or metadata lookup before the builder
|
|
38
|
-
5. If not found and model is `sql` → use the schema/verified SQL-definition path, then call `query_adhoc`
|
|
39
|
-
|
|
40
|
-
## Use Cases
|
|
41
|
-
- Execute a QP produced by the required chain for the target model.
|
|
42
|
-
- Builder-supported models (all ten non-SQL models): execute the `qp` returned by builder tools.
|
|
43
|
-
- SQL: execute QP from the schema/verified SQL-definition path.
|
|
44
|
-
- Event analysis: metrics such as event trigger counts, user counts, sums, averages, and more.
|
|
45
|
-
- Retention analysis: metrics such as user churn and retention.
|
|
46
|
-
- Funnel analysis: metrics such as multi-step conversion.
|
|
47
|
-
- Distribution analysis: bucketed distribution analysis.
|
|
48
|
-
- Attribution analysis: multi-touch attribution analysis (first touch, last touch, linear attribution).
|
|
49
|
-
- Interval analysis: time interval analysis between events.
|
|
50
|
-
- Path analysis: user behavior path analysis.
|
|
51
|
-
- Property analysis: user property distribution analysis.
|
|
52
|
-
- Heat map: visual heat map analysis of user interactions.
|
|
53
|
-
- Rank list: ranking / leaderboard analysis.
|
|
54
|
-
- SQL: custom SQL analysis.
|
|
55
|
-
- Process:
|
|
56
|
-
- Builder-supported models: builder -> `query_adhoc`
|
|
57
|
-
- SQL: schema/verified definition -> `query_adhoc`
|
|
58
|
-
|
|
59
|
-
## Builder-Supported Model Chain
|
|
60
|
-
Use this chain for all ten non-SQL models.
|
|
61
|
-
|
|
62
|
-
1. Read the matching builder reference:
|
|
63
|
-
- `event`: [`build_event_analysis_qp.md`](./build_event_analysis_qp.md)
|
|
64
|
-
- `retention`: [`build_retention_analysis_qp.md`](./build_retention_analysis_qp.md)
|
|
65
|
-
- `funnel`: [`build_funnel_analysis_qp.md`](./build_funnel_analysis_qp.md)
|
|
66
|
-
- `prop_analysis`: [`build_prop_analysis_qp.md`](./build_prop_analysis_qp.md)
|
|
67
|
-
- `attribution`: [`build_attribution_analysis_qp.md`](./build_attribution_analysis_qp.md)
|
|
68
|
-
- `distribution`: [`build_distribution_analysis_qp.md`](./build_distribution_analysis_qp.md)
|
|
69
|
-
- `heat_map`: [`build_heat_map_analysis_qp.md`](./build_heat_map_analysis_qp.md)
|
|
70
|
-
- `interval`: [`build_interval_analysis_qp.md`](./build_interval_analysis_qp.md)
|
|
71
|
-
- `path`: [`build_path_analysis_qp.md`](./build_path_analysis_qp.md)
|
|
72
|
-
- `rank_list`: [`build_rank_list_analysis_qp.md`](./build_rank_list_analysis_qp.md)
|
|
73
|
-
2. Compose the builder JSON using the documented DTO keys. Nested JSON keys are camelCase, not snake_case.
|
|
74
|
-
3. Run the builder with all required flags. `--dry-run` is allowed only with complete required builder inputs, not by itself.
|
|
75
|
-
4. If builder returns `status=generated`, copy `data.qp` from the builder response and pass it as `--qp`.
|
|
76
|
-
5. If the builder returns `need_clarification`, `invalid_argument`, `unsupported_feature`, or `validation_error`, stop and ask for clarification. Do not use the manual path as a fallback.
|
|
77
|
-
|
|
78
|
-
## Legacy Query Chain
|
|
79
|
-
Use this chain only for `sql`.
|
|
80
|
-
|
|
81
|
-
1. Read this reference and the required schema/metadata references.
|
|
82
|
-
2. Call `+get_analysis_query_schema` for the target model when the QP shape is not already verified.
|
|
83
|
-
3. Discover real events/properties/metrics with analysis metadata commands as needed.
|
|
84
|
-
4. Construct QP according to the documented schema and verified metadata.
|
|
85
|
-
5. Call `+query_adhoc`.
|
|
86
|
-
|
|
87
|
-
Timezone rule:
|
|
88
|
-
- Builder commands do not accept `zone_offset`.
|
|
89
|
-
- Apply timezone only on this execution command, for example `--zone_offset -11`.
|
|
90
|
-
|
|
91
|
-
## Command Syntax
|
|
92
|
-
```bash
|
|
93
|
-
ae-cli analysis +query_adhoc --project_id <project_id> --model_type <model_type> --qp '<qp_json_from_builder_or_legacy_chain>'
|
|
94
|
-
ae-cli analysis +query_adhoc --project_id <project_id> --model_type <model_type> --qp '<qp_json_from_builder_or_legacy_chain>' --fields '["date","event"]' --limit 10 --offset 0 --zone_offset 8 --request_id mcp_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --use_cache true --is_sort_by_columns true --resolve_recent_day true --timeout_minutes 8
|
|
95
|
-
ae-cli analysis +query_adhoc --project_id <project_id> --model_type <model_type> --qp '<qp_json_from_builder_or_legacy_chain>' --dry-run
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
## Parameters
|
|
99
|
-
| Parameter | Required | Description |
|
|
100
|
-
|---|---|---|
|
|
101
|
-
| `--project_id` / `-p` | Yes | Project ID used to identify the analysis project |
|
|
102
|
-
| `--model_type` | Yes | Model type. Supported values: event, retention, funnel, distribution, attribution, heat_map, interval, path, rank_list, prop_analysis, sql. |
|
|
103
|
-
| `--qp` | Yes | Query parameter JSON. For every non-SQL model, pass QP returned by the matching builder tool. For SQL, use the schema/verified-definition path. |
|
|
104
|
-
| `--request_id` | Yes | Required unique request ID used for tracking and cancellation. Generate it before starting the query. It must use `mcp_<32 lowercase hex UUID>`, for example `mcp_0123456789abcdef0123456789abcdef`. Provide this before starting the query so it can be cancelled later with `+cancel_query --request_id <same value>`, even if the caller stops waiting before the tool returns. If `fetch failed`, HTTP timeout, or caller timeout happens, the backend query may still be running. `requestId` is not auto-generated for MCP query tools because the caller must know it before the response for proactive cleanup. If omitted or blank, the backend returns `REQUEST_ID_REQUIRED`; invalid format returns `INVALID_REQUEST_ID`. The response `metadata.requestId` echoes the supplied requestId and can also be passed to `cancel_query(requestId)` when the query is no longer needed. |
|
|
105
|
-
| `--use_cache` | No | Whether to use result cache. Default: true |
|
|
106
|
-
| `--zone_offset` | No | Time zone offset in hours. For example, UTC+8 is 8 and UTC-5 is -5 |
|
|
107
|
-
| `--is_sort_by_columns` | No | Whether to sort query results by columns. Default: false |
|
|
108
|
-
| `--resolve_recent_day` | No | Whether to resolve relative time expressions such as "last 7 days". If omitted, service auto-resolves when `qp.eventView.recentDay` exists and `startTime`/`endTime` is incomplete; otherwise defaults to false. |
|
|
109
|
-
| `--fields` | No | Optional fields to return. Must match column names in result. Invalid fields cause INVALID_FIELDS error. |
|
|
110
|
-
| `--limit` | No | Optional limit. Default: 1000, maximum: 10000. |
|
|
111
|
-
| `--offset` | No | Optional offset. Default: 0. |
|
|
112
|
-
| `--timeout_minutes` | No | Query timeout in minutes. If the query exceeds this time, it will be cancelled automatically. |
|
|
113
|
-
|
|
114
|
-
## Decision Rules
|
|
115
|
-
- On the first run, include all required parameters (`--project_id`,`--model_type`,`--qp`,`--request_id`). Generate `--request_id` before starting the query so cancellation can use the same value if the caller stops waiting.
|
|
116
|
-
- Do not call this command with placeholder QP such as `{}`. For non-SQL models, wait for builder `status=generated`; for SQL, build QP from a verified schema/definition first.
|
|
117
|
-
- For builder-supported models, do not run metadata/schema lookup to "help" the builder. The builder is the metadata resolver.
|
|
118
|
-
- For pagination, use `--limit` and `--offset` together. Default limit is 1000, maximum 100000.
|
|
119
|
-
- For `model_type=sql`, use exactly one row limit: either put `LIMIT` in the SQL, or use `--limit`. If both are present they must be equal — `query_adhoc` rejects mismatched values to avoid silently sampled or duplicated results. When the SQL already has a trailing `LIMIT`, you may omit `--limit` and the SQL governs.
|
|
120
|
-
- Use `--fields` to select specific columns for lighter response payloads.
|
|
121
|
-
- Non-SQL models must not manually craft QP with schema-first flow; call the matching builder and use its returned `qp`.
|
|
122
|
-
- For SQL, `qp` must satisfy both schema structure and project metadata constraints.
|
|
123
|
-
- Wrap JSON parameters in single quotes (for example `--qp '<real_qp_json>'`) to avoid shell escaping issues.
|
|
124
|
-
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
125
|
-
- If the user supplied a timezone such as UTC-11, pass `--zone_offset -11` here, not to the builder.
|
|
126
|
-
|
|
127
|
-
## Next Steps on Failure
|
|
128
|
-
- If required parameters are missing, resolve `project_id`, `model_type`, and a real `qp` first. Do not run placeholder calls except explicit `--dry-run` validation.
|
|
129
|
-
- If a builder returns non-`generated` status, stop and ask the user to clarify before calling `query_adhoc`.
|
|
130
|
-
- If `Invalid JSON` appears on legacy manual QP paths, first check schema required fields, then verify whether event/property names come from metadata query results for the same `project_id`.
|
|
131
|
-
- If the query returns `fetch failed`, hits an HTTP timeout, or the caller stops waiting after you preset `--request_id`, immediately call `+cancel_query --request_id <same value> --yes`; the backend query may still be running.
|
|
132
|
-
- If the query times out inside the service and returns `QUERY_TIMEOUT`, use the returned `metadata.requestId` for cancellation if further cleanup is needed, then narrow the time range / grouping dimensions and split subqueries to locate the issue.
|
|
133
|
-
|
|
134
|
-
## Recommended chaining
|
|
135
|
-
- +build_event_analysis_qp -> +query_adhoc
|
|
136
|
-
- +build_retention_analysis_qp -> +query_adhoc
|
|
137
|
-
- +build_funnel_analysis_qp -> +query_adhoc
|
|
138
|
-
- +build_prop_analysis_qp -> +query_adhoc
|
|
139
|
-
- +build_attribution_analysis_qp / +build_distribution_analysis_qp / +build_heat_map_analysis_qp / +build_interval_analysis_qp / +build_path_analysis_qp / +build_rank_list_analysis_qp -> +query_adhoc
|
|
140
|
-
- +get_analysis_query_schema -> +query_adhoc (SQL only)
|
|
141
|
-
- +list_events -> +list_properties -> +query_adhoc -> +drilldown_users -> +drilldown_user_events
|