@thinkingai/ae-cli 6.0.30 → 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-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 +1 -1
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +2 -2
- package/skills/ae-generate-tracking-plan/SKILL.md +17 -12
- 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
|
@@ -5,28 +5,25 @@
|
|
|
5
5
|
Domain: **Metadata Query**
|
|
6
6
|
|
|
7
7
|
## Use Cases
|
|
8
|
-
- Preliminary step: call `+get_filter_schema` to get the structure, then call this tool.
|
|
9
8
|
- When constructing real `events` / `filter`, you must first obtain the project's available event and property metadata.
|
|
10
9
|
- Create a virtual event that combines multiple events with filters.
|
|
11
10
|
- A virtual event is a composite event defined by combining multiple real events with optional filters.
|
|
12
11
|
- Key parameters:
|
|
13
12
|
- eventName: Unique name for the virtual event (must start with 'ta@'); the name after 'ta@' must start with a letter, and it can contain letters, numbers, and underscores, with a maximum of 60 characters.
|
|
14
13
|
- eventDesc: Display name/description
|
|
15
|
-
- events: JSON array of real events to combine, each with eventName and optional filter.
|
|
14
|
+
- events: JSON array of real events to combine, each with eventName and optional filter.
|
|
16
15
|
|
|
17
16
|
## MUST Prerequisites
|
|
18
17
|
- Before constructing `--events` / `--filter`, you must first read and follow these reference documents:
|
|
19
|
-
- [`./get_filter_schema.md`](./get_filter_schema.md)
|
|
20
18
|
- [`./list_events.md`](./list_events.md)
|
|
21
19
|
- [`./list_properties.md`](./list_properties.md)
|
|
22
20
|
- Do not generate the final `events` / `filter` until the document review and prerequisite command calls above are complete.
|
|
23
21
|
|
|
24
22
|
## Prerequisite Call Chain (Required for Constructing events/filter)
|
|
25
|
-
1. Read `
|
|
26
|
-
2. Read `
|
|
27
|
-
3.
|
|
28
|
-
4.
|
|
29
|
-
5. Example events JSON: `[{"eventName":"purchase"},{"eventName":"add_to_cart"}]`
|
|
23
|
+
1. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>` to get available events.
|
|
24
|
+
2. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>` to get properties available for filtering.
|
|
25
|
+
3. Build `events` / `filter` from the command payload shape and verified metadata, then call `+create_virtual_event`.
|
|
26
|
+
4. Example events JSON: `[{"eventName":"purchase"},{"eventName":"add_to_cart"}]`
|
|
30
27
|
|
|
31
28
|
## Commands
|
|
32
29
|
```bash
|
|
@@ -42,23 +39,22 @@ ae-cli analysis_meta +create_virtual_event --dry-run
|
|
|
42
39
|
| `--event_name` | Yes | Unique name for the virtual event (must start with 'ta@') |
|
|
43
40
|
| `--event_desc` | Yes | Display name/description |
|
|
44
41
|
| `--remark` | No | Optional remarks |
|
|
45
|
-
| `--events` | Yes | JSON array of events to combine.
|
|
46
|
-
| `--filter` | No | Optional global filter JSON for all events. If provided,
|
|
42
|
+
| `--events` | Yes | JSON array of events to combine. Event/property fields must come from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
|
|
43
|
+
| `--filter` | No | Optional global filter JSON for all events. If provided, referenced fields must come from `analysis_meta +list_properties`. |
|
|
47
44
|
| `--override` | No | Whether to override if event already exists. Default: false |
|
|
48
45
|
|
|
49
46
|
## Decision Rules
|
|
50
|
-
- `events` / `filter` must not be handwritten by intuition alone: they must satisfy
|
|
47
|
+
- `events` / `filter` must not be handwritten by intuition alone: they must satisfy the command payload shape and the project's real metadata constraints.
|
|
51
48
|
- Before calling `list_events` / `list_properties`, you must first study the corresponding reference documents.
|
|
52
49
|
- For the first run, pass only the required parameters (`--project_id`, `--event_name`, `--event_desc`, `--events`) to confirm the path works, then add optional parameters.
|
|
53
50
|
- Wrap JSON parameters in single quotes (for example `--events '{}'` and `--filter '{}'`) to avoid shell escaping issues.
|
|
54
51
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
55
|
-
-
|
|
52
|
+
- This is an ordinary `write` operation and does not require CLI confirmation.
|
|
56
53
|
|
|
57
54
|
## Next Steps After Failure
|
|
58
55
|
- If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`, `--event_name`, and `--event_desc`).
|
|
59
|
-
- If `Invalid JSON` appears, first check
|
|
56
|
+
- If `Invalid JSON` appears, first check required fields, then verify whether the event and property names come from metadata query results in the same `project_id`.
|
|
60
57
|
- If the result after writing does not match expectations, immediately reread the corresponding list/get interfaces for before-and-after comparison.
|
|
61
58
|
|
|
62
59
|
## Recommended Chaining
|
|
63
|
-
- +get_filter_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_virtual_event
|
|
64
60
|
- +list_events -> +create_virtual_event
|
|
@@ -56,7 +56,7 @@ ae-cli analysis_meta +create_virtual_property --dry-run
|
|
|
56
56
|
- First run should only pass required parameters (`--project_id`, `--property_name`, `--table_type`, `--select_type`, `--sql_expression`, `--sql_event_relation_type`), and add optional parameters only after the path is confirmed to work.
|
|
57
57
|
- Wrap JSON arguments in single quotes (for example `--related_events '{}'`) to avoid shell escaping issues.
|
|
58
58
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
59
|
-
-
|
|
59
|
+
- This is an ordinary `write` operation and does not require CLI confirmation.
|
|
60
60
|
|
|
61
61
|
## Next Steps After Failure
|
|
62
62
|
- If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`, `--property_name`, and `--table_type`).
|
|
@@ -9,7 +9,7 @@ If both `--to-space-id` and `--to-folder-id` are omitted, the gateway copies to
|
|
|
9
9
|
Command:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
ae-cli analysis dashboard copy --project-id <project_id> --dashboard-id <source_dashboard_id> --dashboard-name <new_name> [--report-copy true] [--to-space-id <space_id>] [--to-folder-id <folder_id>]
|
|
12
|
+
ae-cli analysis dashboard copy --project-id <project_id> --dashboard-id <source_dashboard_id> --dashboard-name <new_name> [--report-copy true] [--to-space-id <space_id>] [--to-folder-id <folder_id>]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Input sends `project_id`, `dashboard_id`, `dashboard_name`, `report_copy` defaulting to false, and optional `to_space_id`, `to_folder_id`.
|
|
@@ -7,7 +7,7 @@ Do not use to copy an existing dashboard. Use `dashboard copy` for copy workflow
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard create --project-id <project_id> --dashboard-name <name> [--space-id <space_id>] [--folder-id <folder_id>] [--initial-report-id <report_id>] [--payload '{...}']
|
|
10
|
+
ae-cli analysis dashboard create --project-id <project_id> --dashboard-name <name> [--space-id <space_id>] [--folder-id <folder_id>] [--initial-report-id <report_id>] [--payload '{...}']
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Input sends `project_id`, `dashboard_name`, and optional `space_id`, `folder_id`, `initial_report_id`, `payload`.
|
|
@@ -7,7 +7,7 @@ Do not use for configuration changes. Use `dashboard-daily-report update`.
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard-daily-report send --project-id <project_id> --dashboard-id <dashboard_id> [--need-csv true] [--host-url <url>] [--payload '{...}']
|
|
10
|
+
ae-cli analysis dashboard-daily-report send --project-id <project_id> --dashboard-id <dashboard_id> [--need-csv true] [--host-url <url>] [--payload '{...}']
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Input sends `project_id`, `dashboard_id`, and optional daily report fields or `payload`.
|
|
@@ -7,7 +7,7 @@ Do not use to send immediately. Use `dashboard-daily-report send`.
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard-daily-report update --project-id <project_id> --dashboard-id <dashboard_id> [--enable-send true] [--send-time <time>] [--send-title <title>] [--send-content <content>] [--payload '{...}']
|
|
10
|
+
ae-cli analysis dashboard-daily-report update --project-id <project_id> --dashboard-id <dashboard_id> [--enable-send true] [--send-time <time>] [--send-title <title>] [--send-content <content>] [--payload '{...}']
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Input sends `project_id`, `dashboard_id`, and optional daily report fields or `payload`.
|
|
@@ -7,7 +7,7 @@ Do not use a separate pre-check command; validation is part of this import comma
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard-definition import --project-id <project_id> --definition '{...}' [--validate-only true] [--dashboard-name-conflict-policy <policy>] [--space-dashboard-policy <policy>] [--payload '{...}']
|
|
10
|
+
ae-cli analysis dashboard-definition import --project-id <project_id> --definition '{...}' [--validate-only true] [--dashboard-name-conflict-policy <policy>] [--space-dashboard-policy <policy>] [--payload '{...}']
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Input sends `project_id`, `definition`, and optional validation/import policies and `payload`.
|
|
@@ -7,6 +7,8 @@ Do not use for soft archival or hiding unless the gateway contract defines that
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
+
ae-cli analysis dashboard delete --project-id <project_id> --dashboard-ids '[1001,1002]' --dry-run
|
|
11
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
10
12
|
ae-cli analysis dashboard delete --project-id <project_id> --dashboard-ids '[1001,1002]' --yes
|
|
11
13
|
```
|
|
12
14
|
|
|
@@ -7,7 +7,7 @@ Do not use for dashboard lock/version operations; those are intentionally not CL
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard freeze --project-id <project_id> --dashboard-ids '[1001,1002]' [--freeze true]
|
|
10
|
+
ae-cli analysis dashboard freeze --project-id <project_id> --dashboard-ids '[1001,1002]' [--freeze true]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Input sends `project_id`, `dashboard_ids`, and optional `freeze`.
|
|
@@ -7,7 +7,7 @@ Do not use to share dashboards without ownership transfer. Use `dashboard share`
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard handover --project-id <project_id> --dashboard-ids '[1001,1002]' --to-user-id <user_id>
|
|
10
|
+
ae-cli analysis dashboard handover --project-id <project_id> --dashboard-ids '[1001,1002]' --to-user-id <user_id>
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Input sends `project_id`, `dashboard_ids`, and `to_user_id`.
|
|
@@ -7,9 +7,11 @@ Do not use for dashboard report data. Use `dashboard-report-data run` or `dashbo
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard list --project-id <project_id> [--query <keyword>] [--fields '["
|
|
10
|
+
ae-cli analysis dashboard list --project-id <project_id> [--query <keyword>] [--fields '["dashboard_id","dashboard_name"]'] [--limit 50] [--offset 0]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Input uses `project_id` plus optional `query`, `fields`, `limit`, `offset`.
|
|
13
|
+
Input uses `project_id` plus optional `query`, `fields`, `limit`, `offset`. `--fields` accepts only `dashboard_id`, `dashboard_name`, and `remark`. Input and output both use snake_case; do not use `dashboardId`, `dashboardName`, generic `id`, or generic `name`.
|
|
14
|
+
|
|
15
|
+
When `has_more=true`, continue only with the returned `next_offset`; do not calculate the next page locally.
|
|
14
16
|
|
|
15
17
|
Output is the gateway envelope. `data` contains dashboard summaries and paging metadata when returned by the gateway.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis dashboard-report add
|
|
2
|
+
|
|
3
|
+
Use when the user explicitly wants to add existing saved reports to a dashboard.
|
|
4
|
+
|
|
5
|
+
Do not use for creating reports or dashboards. Create those assets first, then call this command with exact IDs.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis dashboard-report add --project-id <project_id> --dashboard-id <dashboard_id> --report-ids '[1001,1002]'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and `report_ids`.
|
|
14
|
+
|
|
15
|
+
Output is the gateway envelope. `data` contains `dashboard_id`, requested `report_ids`, and `added_count`.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# analysis dashboard-report-data export
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Submit dashboard report data as a downloadable async artifact. Dashboard report data follows report-data model coverage: the 12 analysis report models from `ai_models.md` plus tag report data.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Routing: read [`analysis_data_retrieval.md`](analysis_data_retrieval.md) before choosing this `export` command instead of `dashboard-report-data run`.
|
|
6
|
+
|
|
7
|
+
Do not use this command for bounded inline previews; use `dashboard-report-data run` when the requested result fits the sync data retrieval rule.
|
|
6
8
|
|
|
7
9
|
Command:
|
|
8
10
|
|
|
@@ -10,15 +12,21 @@ Command:
|
|
|
10
12
|
ae-cli analysis dashboard-report-data export --project-id <project_id> --dashboard-id <dashboard_id> [--report-ids '[1,2]'] [--filters '{...}'] [--start-time <time>] [--end-time <time>] [--artifact-format jsonl]
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `format`. Use CLI flag `--artifact-format` for the gateway `format` input; `--format` is the CLI output formatter.
|
|
15
|
+
Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `format`. Use CLI flag `--artifact-format` for the gateway `format` input; `--format` is the CLI output formatter. Async export has no inline row limit. Runtime defaults to and is capped at 21600 seconds (6 hours); cancel earlier with `analysis query cancel --run-id <run_id>`. The routing rule lives in [`analysis_data_retrieval.md`](analysis_data_retrieval.md).
|
|
14
16
|
|
|
15
|
-
`--filters`
|
|
17
|
+
`--filters` uses the same AI-facing filter model as report data. The gateway resolves fields and compiles it to the dashboard backend filter. Do not pass a dashboard UI control dump or raw QP filter. Minimal shape:
|
|
16
18
|
|
|
17
19
|
```json
|
|
18
|
-
{"relation":"and","
|
|
20
|
+
{"relation":"and","items":[{"field":{"name":"country","type":"user_property"},"operator":"eq","values":["US"]}]}
|
|
19
21
|
```
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
Dashboard `filters`, `start_time`, and `end_time` do not apply to SQL reports. Export still completes with SQL report data; the JSONL result object includes `warnings[]` with `OVERRIDE_IGNORED_FOR_MODEL`, affected SQL `report_ids`, and `ignored_fields`. Query SQL reports directly with report-data `--sql-params` when SQL conditions must change.
|
|
24
|
+
|
|
25
|
+
Output is the gateway envelope. `data` contains an async export descriptor with `run_id`, `artifact_id`, status fields, expiration fields, and `query_context_id` / `query_context_expires_at` when Redis context creation succeeds. It does not expose inspect/download API paths; use the CLI commands below.
|
|
26
|
+
|
|
27
|
+
An empty artifact is successful and means the requested time range has no data. The run reaches `FAILED` only when every returned dashboard report entry contains an explicit execution error. Mixed dashboard exports retain successful data and explicit per-report failure entries.
|
|
28
|
+
|
|
29
|
+
Use the submit response `query_context_id` immediately with `analysis drilldown-users run` or `analysis query create-result-cluster` when present. After the run completes, the downloaded artifact's first metadata line repeats the query context for file consumers. Do not pass raw QP.
|
|
22
30
|
|
|
23
31
|
Follow-up workflow:
|
|
24
32
|
|
|
@@ -26,6 +34,6 @@ Follow-up workflow:
|
|
|
26
34
|
2. Poll status with `ae-cli analysis run inspect --run-id <run_id>`.
|
|
27
35
|
3. Continue polling while status is running or pending. Treat `COMPLETED` or `SUCCEEDED` as success, and `FAILED`, `CANCELED`, or `CANCELLED` as terminal failure.
|
|
28
36
|
4. On success, download with `ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output <file>`.
|
|
29
|
-
5. If the export is no longer needed, cancel with `ae-cli analysis query cancel --run-id <run_id
|
|
37
|
+
5. If the export is no longer needed, cancel with `ae-cli analysis query cancel --run-id <run_id>`.
|
|
30
38
|
|
|
31
39
|
Do not write custom Python/curl for polling or download unless the CLI command itself is unavailable.
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
# analysis dashboard-report-data run
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Execute bounded inline dashboard report data queries. Dashboard report data follows report-data model coverage: the 12 analysis report models from `ai_models.md` plus tag report data.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Routing: read [`analysis_data_retrieval.md`](analysis_data_retrieval.md) before choosing this `run` command instead of `dashboard-report-data export`.
|
|
6
|
+
|
|
7
|
+
Do not use this command for full, unknown-size, larger than 1000-row, or long-running dashboard report data; use `dashboard-report-data export`.
|
|
6
8
|
|
|
7
9
|
Command:
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
|
-
ae-cli analysis dashboard-report-data run --project-id <project_id> --dashboard-id <dashboard_id> [--report-ids '[1,2]'] [--filters '{...}'] [--start-time <time>] [--end-time <time>] [--limit 100] [--timeout-seconds
|
|
12
|
+
ae-cli analysis dashboard-report-data run --project-id <project_id> --dashboard-id <dashboard_id> [--report-ids '[1,2]'] [--filters '{...}'] [--start-time <time>] [--end-time <time>] [--limit 100] [--timeout-seconds 180]
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `limit`.
|
|
15
|
+
Input sends `project_id`, `dashboard_id`, and optional `report_ids`, `filters`, `start_time`, `end_time`, `use_cache`, `request_id`, `timeout_seconds`, `limit`. Control defaults: `--limit` default 100 / max 1000, `--timeout-seconds` default and max 180. An explicitly supplied lower timeout still wins. The routing rule lives in [`analysis_data_retrieval.md`](analysis_data_retrieval.md).
|
|
14
16
|
|
|
15
|
-
`--filters`
|
|
17
|
+
`--filters` uses the same AI-facing filter model as report data. The gateway resolves fields and compiles it to the dashboard backend filter. Do not pass a dashboard UI control dump or raw QP filter. Minimal shape:
|
|
16
18
|
|
|
17
19
|
```json
|
|
18
|
-
{"relation":"and","
|
|
20
|
+
{"relation":"and","items":[{"field":{"name":"country","type":"user_property"},"operator":"eq","values":["US"]}]}
|
|
19
21
|
```
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
Dashboard `filters`, `start_time`, and `end_time` do not apply to SQL reports. The query still succeeds and returns those SQL report results. Inspect `data.warnings[]`; `OVERRIDE_IGNORED_FOR_MODEL` contains the affected SQL `report_ids` and `ignored_fields`. To change SQL conditions, query the SQL report directly with `analysis report-data run` and saved `definition.params` through `--sql-params`.
|
|
24
|
+
|
|
25
|
+
Output is the gateway envelope. `data` contains bounded inline report data, optional structured `warnings`, plus `query_context_id`, `drilldown_available`, and `result_cluster_available` when a context can be created.
|
|
26
|
+
|
|
27
|
+
An empty dashboard batch or report result with no rows is a successful query: it means the requested time range has no data. The command fails only when every returned report entry contains an explicit execution error. Mixed dashboard batches keep successful data and return `meta.partial`, counts, and per-report `meta.failures`.
|
|
28
|
+
|
|
29
|
+
Use `query_context_id` with `analysis drilldown-users run` or `analysis query create-result-cluster`. Do not pass raw QP.
|
|
@@ -7,9 +7,18 @@ Do not use to read sharing only. Use `dashboard share-info`.
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard share --project-id <project_id> --dashboard-id <dashboard_id>
|
|
10
|
+
ae-cli analysis dashboard share --project-id <project_id> --dashboard-id <dashboard_id> --member-authorities '{"10001":"READ","10002":"EDIT"}'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Input sends `project_id`, `dashboard_id`, and either `member_authorities` or a
|
|
13
|
+
Input sends `project_id`, `dashboard_id`, and either `member_authorities` or a documented snake_case `payload`.
|
|
14
|
+
|
|
15
|
+
`member_authorities` is the complete directly shared user map, not an incremental patch:
|
|
16
|
+
|
|
17
|
+
- each key is a numeric user ID encoded as a JSON object key;
|
|
18
|
+
- each value is `READ`, `EDIT`, `CREATOR`, or `MAINTAIN`;
|
|
19
|
+
- users omitted from the map are removed from direct sharing;
|
|
20
|
+
- `{}` removes all directly shared users.
|
|
21
|
+
|
|
22
|
+
Call `analysis dashboard share-info` first when the user intends to preserve existing members while adding or changing only some entries.
|
|
14
23
|
|
|
15
24
|
Output is the gateway envelope. `data` contains the share update result.
|
|
@@ -7,10 +7,19 @@ Do not use for moving/copying dashboards. Use `dashboard copy`, `dashboard hando
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
ae-cli analysis dashboard update --project-id <project_id> --operation settings --dashboard-ids '[1001,1002]' [--zone-offset 8] [--payload '{...}']
|
|
11
|
-
ae-cli analysis dashboard update --project-id <project_id> --operation
|
|
10
|
+
ae-cli analysis dashboard update --project-id <project_id> --operation settings --dashboard-ids '[1001,1002]' [--zone-offset 8] [--payload '{...}']
|
|
11
|
+
ae-cli analysis dashboard update --project-id <project_id> --operation settings --dashboard-id <dashboard_id> --refresh-type 1 --dashboard-status normal --payload '{"dashboard_job_schedule":"0 0 8 * * ?","time_config_open":true,"time_config":{},"cache_config":{},"schedule_ui_config":{}}'
|
|
12
|
+
ae-cli analysis dashboard update --project-id <project_id> --operation note-upsert --dashboard-id <dashboard_id> [--note-id <note_id>] [--note-title <title>] [--description <text>]
|
|
12
13
|
```
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
For `operation=settings`:
|
|
16
|
+
|
|
17
|
+
- identify one dashboard with `dashboard_id`, or a batch with `dashboard_ids`;
|
|
18
|
+
- `refresh_type` is integer `0` (real-time) or `1` (scheduled);
|
|
19
|
+
- `dashboard_status` is string `normal` or `freeze`;
|
|
20
|
+
- `zone_offset` is an integer hour offset from `-12` to `14`;
|
|
21
|
+
- complex settings belong in snake_case `payload`: `reports_version` string, `dashboard_job_schedule` string, `time_config_open` boolean, and object fields `time_config`, `cache_config`, `schedule_ui_config`; `ui_config` may be a string or object.
|
|
22
|
+
|
|
23
|
+
For `operation=note-upsert`, pass `dashboard_id`; omit `note_id` to create a note or pass it to update an existing note. Do not mix note fields with batch settings fields.
|
|
15
24
|
|
|
16
25
|
Output is the gateway envelope. `data` contains the update result.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use when the user needs to get columns for a project table reference.
|
|
4
4
|
|
|
5
|
-
Do not use
|
|
5
|
+
Do not use it to read table rows or infer a table reference; discover the exact table first and use a data query for row values.
|
|
6
6
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Capability id: `metadata.data_table.columns_get`.
|
|
|
15
15
|
|
|
16
16
|
Input sends `project_id`, `table_ref`.
|
|
17
17
|
|
|
18
|
-
Output
|
|
18
|
+
Output contains resolved `data.table_ref` and `data.columns[]` from SQL IDE metadata.
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
21
21
|
| Parameter | Required | Description |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use when the user needs to list metadata and assets affected by data table deletion or column changes.
|
|
4
4
|
|
|
5
|
-
Do not use
|
|
5
|
+
Do not use it as a delete command. It is a read-only dependency check before table/column mutation.
|
|
6
6
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Capability id: `metadata.data_table.influence_list`.
|
|
|
15
15
|
|
|
16
16
|
Input sends `project_id`, `datatable_id`.
|
|
17
17
|
|
|
18
|
-
Output
|
|
18
|
+
Output includes `data.resources[]`, `data.continuable`, and `data.project_info` for the proposed table operation.
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
21
21
|
| Parameter | Required | Description |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use when the user needs to get data table version detail.
|
|
4
4
|
|
|
5
|
-
Do not use
|
|
5
|
+
Do not use it for the current table definition without a verified version ID; list versions first.
|
|
6
6
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Capability id: `metadata.data_table_version.get`.
|
|
|
15
15
|
|
|
16
16
|
Input sends `project_id`, `version_id`.
|
|
17
17
|
|
|
18
|
-
Output
|
|
18
|
+
Output `data.version` contains the selected historical version detail.
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
21
21
|
| Parameter | Required | Description |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use when the user needs to list data table historical versions.
|
|
4
4
|
|
|
5
|
-
Do not use
|
|
5
|
+
Do not use it for one version's full definition or table row history; use `datatable version-get` for the selected metadata version.
|
|
6
6
|
|
|
7
7
|
Command:
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Capability id: `metadata.data_table_version.list`.
|
|
|
15
15
|
|
|
16
16
|
Input sends `project_id`, `datatable_id`.
|
|
17
17
|
|
|
18
|
-
Output
|
|
18
|
+
Output `data.versions[]` contains historical metadata versions for the data table.
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
21
21
|
| Parameter | Required | Description |
|
|
@@ -6,11 +6,16 @@ Domain: **Alert Management**
|
|
|
6
6
|
|
|
7
7
|
## Use Cases
|
|
8
8
|
- Permanently delete an alert by its ID.
|
|
9
|
+
- Do not use this command to disable or edit an alert; use `+update_alert` when the alert must remain.
|
|
10
|
+
|
|
11
|
+
## Output
|
|
12
|
+
Success confirms that the specified alert was deleted. The command does not return alert data; use `+list_alerts` to verify it is absent.
|
|
9
13
|
|
|
10
14
|
## Commands
|
|
11
15
|
```bash
|
|
12
|
-
ae-cli analysis +delete_alert --project_id <project_id> --alert_id <alert_id>
|
|
13
|
-
|
|
16
|
+
ae-cli analysis +delete_alert --project_id <project_id> --alert_id <alert_id> --dry-run
|
|
17
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
18
|
+
ae-cli analysis +delete_alert --project_id <project_id> --alert_id <alert_id> --yes
|
|
14
19
|
```
|
|
15
20
|
|
|
16
21
|
## Parameters
|
|
@@ -21,7 +26,7 @@ ae-cli analysis +delete_alert --dry-run
|
|
|
21
26
|
|
|
22
27
|
## Decision Rules
|
|
23
28
|
- Use `+list_alerts` first to confirm the alert ID before deleting.
|
|
24
|
-
- This is
|
|
29
|
+
- This is `high-risk-write`: inspect the dry-run, summarize the target and impact, and wait for explicit user confirmation before the `--yes` execution.
|
|
25
30
|
|
|
26
31
|
## Recommended Chain
|
|
27
32
|
- `+list_alerts` -> `+delete_alert`
|
|
@@ -6,11 +6,16 @@ Domain: **Metric Management**
|
|
|
6
6
|
|
|
7
7
|
## Use Cases
|
|
8
8
|
- Permanently delete a metric by its ID.
|
|
9
|
+
- Do not use it when the metric should be retained with a corrected definition; use `+update_metric` instead.
|
|
10
|
+
|
|
11
|
+
## Output
|
|
12
|
+
Success confirms deletion of the specified metric. The command does not return a metric definition; verify absence with `+list_metrics`.
|
|
9
13
|
|
|
10
14
|
## Commands
|
|
11
15
|
```bash
|
|
12
|
-
ae-cli analysis_meta +delete_metric --project_id <project_id> --metric_id <metric_id>
|
|
13
|
-
|
|
16
|
+
ae-cli analysis_meta +delete_metric --project_id <project_id> --metric_id <metric_id> --dry-run
|
|
17
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
18
|
+
ae-cli analysis_meta +delete_metric --project_id <project_id> --metric_id <metric_id> --yes
|
|
14
19
|
```
|
|
15
20
|
|
|
16
21
|
## Parameters
|
|
@@ -21,7 +26,7 @@ ae-cli analysis_meta +delete_metric --dry-run
|
|
|
21
26
|
|
|
22
27
|
## Decision Rules
|
|
23
28
|
- Use `+list_metrics` first to confirm the metric ID before deleting.
|
|
24
|
-
- This is
|
|
29
|
+
- This is `high-risk-write`: inspect the dry-run, summarize the target and impact, and wait for explicit user confirmation before the `--yes` execution.
|
|
25
30
|
|
|
26
31
|
## Recommended Chain
|
|
27
32
|
- `+list_metrics` -> `+delete_metric`
|
|
@@ -6,11 +6,13 @@ Domain: **Project Configuration**
|
|
|
6
6
|
|
|
7
7
|
## Use Cases
|
|
8
8
|
- Delete one or more project date markers.
|
|
9
|
+
- Do not use it to hide or edit a marker; use `+update_project_mark_time` when the marker should remain.
|
|
9
10
|
|
|
10
11
|
## Commands
|
|
11
12
|
```bash
|
|
12
|
-
ae-cli analysis_meta +delete_project_mark_times --project_id <project_id> --mark_time_ids '[]'
|
|
13
|
-
|
|
13
|
+
ae-cli analysis_meta +delete_project_mark_times --project_id <project_id> --mark_time_ids '[]' --dry-run
|
|
14
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
15
|
+
ae-cli analysis_meta +delete_project_mark_times --project_id <project_id> --mark_time_ids '[]' --yes
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
## Parameters
|
|
@@ -23,7 +25,7 @@ ae-cli analysis_meta +delete_project_mark_times --dry-run
|
|
|
23
25
|
- For the first run, pass only the required parameters (`--project_id` and `--mark_time_ids`) to confirm the path works, then add optional parameters.
|
|
24
26
|
- Wrap JSON parameters in single quotes (for example `--mark_time_ids '{}'`) to avoid shell escaping issues.
|
|
25
27
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
26
|
-
-
|
|
28
|
+
- This is `high-risk-write`: inspect the dry-run, summarize the target and impact, and wait for explicit user confirmation before the `--yes` execution.
|
|
27
29
|
|
|
28
30
|
## Next Steps After Failure
|
|
29
31
|
- If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id` and `--mark_time_ids`).
|
|
@@ -10,8 +10,9 @@ Domain: **Project Configuration**
|
|
|
10
10
|
|
|
11
11
|
## Command
|
|
12
12
|
```bash
|
|
13
|
-
ae-cli analysis_meta +delete_track_items --project_id <project_id> --delete_data '{}'
|
|
14
|
-
|
|
13
|
+
ae-cli analysis_meta +delete_track_items --project_id <project_id> --delete_data '{}' --dry-run
|
|
14
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
15
|
+
ae-cli analysis_meta +delete_track_items --project_id <project_id> --delete_data '{}' --yes
|
|
15
16
|
```
|
|
16
17
|
|
|
17
18
|
## Parameters
|
|
@@ -24,7 +25,7 @@ ae-cli analysis_meta +delete_track_items --dry-run
|
|
|
24
25
|
- First run should only pass required parameters (`--project_id`, `--delete_data`), and add optional parameters only after the path is confirmed to work.
|
|
25
26
|
- Wrap JSON arguments in single quotes (for example `--delete_data '{}'`) to avoid shell escaping issues.
|
|
26
27
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
27
|
-
-
|
|
28
|
+
- This is `high-risk-write`: inspect the dry-run, summarize the target and impact, and wait for explicit user confirmation before the `--yes` execution.
|
|
28
29
|
|
|
29
30
|
## Next Steps After Failure
|
|
30
31
|
- If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id` and `--delete_data`).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# analysis drilldown-user-events export
|
|
2
|
+
|
|
3
|
+
Export the complete event sequence for one user from a drilldown context. Do not pass raw QP.
|
|
4
|
+
|
|
5
|
+
## Command
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ae-cli analysis drilldown-user-events export \
|
|
9
|
+
--drilldown-context-id <drilldown_context_id> \
|
|
10
|
+
--user-id <user_id> \
|
|
11
|
+
[--sort-order desc] \
|
|
12
|
+
[--artifact-format jsonl] \
|
|
13
|
+
[--timeout-seconds 21600]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Use identifiers returned by `analysis drilldown-users run` or its export artifact. Export does not accept `--limit`, `--page-num`, or `--page-size`; Common advances backend pages internally and writes one JSONL artifact.
|
|
17
|
+
|
|
18
|
+
Inspect the returned `run_id` with `analysis run inspect`, then download the completed artifact with `analysis artifact download`.
|
|
19
|
+
|
|
20
|
+
Output is an async run/artifact descriptor. The complete event rows exist only in the downloaded artifact.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# analysis drilldown-user-events run
|
|
2
|
+
|
|
3
|
+
Query event sequence details for one user after `analysis drilldown-users run`.
|
|
4
|
+
|
|
5
|
+
Use this only after `analysis drilldown-users run` returns a `drilldown_context_id`.
|
|
6
|
+
|
|
7
|
+
Do not pass raw QP.
|
|
8
|
+
|
|
9
|
+
## Command
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis drilldown-user-events run \
|
|
13
|
+
--drilldown-context-id <drilldown_context_id> \
|
|
14
|
+
--user-id <user_id> \
|
|
15
|
+
[--sort-order desc] \
|
|
16
|
+
[--limit 100] \
|
|
17
|
+
[--timeout-seconds 120]
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Input
|
|
21
|
+
|
|
22
|
+
- `--drilldown-context-id`: returned by `analysis drilldown-users run`.
|
|
23
|
+
- `--user-id`: user id returned by `analysis drilldown-users run`.
|
|
24
|
+
- `--properties`: optional backend property request object array. Omit this in normal agent calls and use the default returned columns. Do not pass string-name arrays such as `["event_time"]`.
|
|
25
|
+
- `--sort-order`: `asc` or `desc`.
|
|
26
|
+
- `--event-name-filter`, `--time-filter`, `--time-filter-before-nums`, `--time-filter-after-nums`: optional event sequence filters.
|
|
27
|
+
|
|
28
|
+
Do not use raw QP, `query_context_id`, or guessed user IDs for this command.
|
|
29
|
+
|
|
30
|
+
The `drilldown_context_id` must come from a `drilldown-users` target that includes date context, such as `drilldown_date` or `target_dates`. A context created from `include_total` alone can list users, but may fail event-sequence lookup with `TARGET_DATES_REQUIRED`.
|
|
31
|
+
|
|
32
|
+
## Output
|
|
33
|
+
|
|
34
|
+
The response contains at most `limit` event rows. When `truncated=true`, use `analysis drilldown-user-events export`; do not attempt to fetch another page.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis drilldown-users export
|
|
2
|
+
|
|
3
|
+
Export all users for a selected result target from a previous analysis query context. Do not pass raw QP.
|
|
4
|
+
|
|
5
|
+
## Command
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ae-cli analysis drilldown-users export \
|
|
9
|
+
--query-context-id <query_context_id> \
|
|
10
|
+
--target '<json>' \
|
|
11
|
+
[--artifact-format jsonl] \
|
|
12
|
+
[--timeout-seconds 21600]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use the same `query_context_id`, `target`, and optional `properties` contract as `analysis drilldown-users run`. Export does not accept `--limit` or `--offset`; Common reads backend batches internally and writes one JSONL artifact.
|
|
16
|
+
|
|
17
|
+
Inspect the returned `run_id` with `analysis run inspect`, then download the completed artifact with `analysis artifact download`. The final metadata line includes `rows`, `total`, and `drilldown_context_id`.
|