@thinkingai/ae-cli 6.0.30 → 6.0.32
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 +8 -9
- package/README.zh.md +8 -9
- package/dist/{auth-7TQRGLBC.js → auth-7H3HAAJ3.js} +10 -10
- package/dist/{capability-KVA55RMK.js → capability-QW4AVJHI.js} +49 -10
- package/dist/{capability-LKHLZQPD.js → capability-SCRFGODD.js} +49 -10
- package/dist/{chunk-GWZ5MYWE.js → chunk-6LEYLOV3.js} +25 -4
- package/dist/chunk-7OLGDQQ2.js +71 -0
- package/dist/{chunk-THBBNYXI.js → chunk-DYOS6YY7.js} +100 -62
- package/dist/{chunk-OJR23CIK.js → chunk-I4A62X3N.js} +100 -61
- package/dist/{chunk-7QQ4233A.js → chunk-PKRD2IEM.js} +25 -4
- package/dist/{chunk-CWZUGF2J.js → chunk-PTE56QPL.js} +15 -0
- package/dist/chunk-TBHBYKXZ.js +71 -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 +182 -63
- package/dist/{metadata-6CCFV4K5.js → metadata-BFDL6RUK.js} +6 -43
- package/dist/{metadata-PDOIWH5O.js → metadata-FCLDBXX2.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-PUVF5IF4.js +5736 -0
- package/dist/te-analysis-UJDOKPAN.js +5736 -0
- package/dist/te-common-VUX3VOXZ.js +60 -0
- package/dist/te-common-XLAGWNIV.js +60 -0
- 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-K4AEUPK5.js +3894 -0
- package/dist/te-engage-QBCCME22.js +3894 -0
- package/dist/{te-kb-NT33UHAE.js → te-kb-AYCODNU6.js} +56 -17
- package/dist/{te-meta-PKT27OTN.js → te-meta-ARDIW3YI.js} +4 -237
- package/dist/{te-meta-FADFLTDM.js → te-meta-UUROEODR.js} +4 -237
- 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 +108 -512
- package/skills/ae-analysis/references/adhoc_export.md +68 -0
- package/skills/ae-analysis/references/adhoc_run.md +54 -0
- package/skills/ae-analysis/references/ai_models.md +475 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +101 -0
- package/skills/ae-analysis/references/analysis_drilldown_contract.md +93 -0
- package/skills/ae-analysis/references/analysis_gateway_assets.md +73 -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 +29 -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 +243 -0
- package/skills/ae-analysis/references/create_alert.md +1 -1
- package/skills/ae-analysis/references/create_entity.md +3 -3
- package/skills/ae-analysis/references/create_project_mark_time.md +2 -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_project_mark_times.md +5 -3
- package/skills/ae-analysis/references/delete_track_items.md +4 -3
- package/skills/ae-analysis/references/drilldown_entities_export.md +26 -0
- package/skills/ae-analysis/references/drilldown_entities_run.md +33 -0
- package/skills/ae-analysis/references/drilldown_events_export.md +21 -0
- package/skills/ae-analysis/references/drilldown_events_run.md +23 -0
- package/skills/ae-analysis/references/drilldown_user_events_export.md +23 -0
- package/skills/ae-analysis/references/drilldown_user_events_run.md +34 -0
- package/skills/ae-analysis/references/entity_detail_export.md +33 -0
- package/skills/ae-analysis/references/entity_detail_run.md +57 -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 +33 -0
- package/skills/ae-analysis/references/event_detail_run.md +60 -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 +12 -4
- 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_project_config.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 +4 -3
- 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/load_filters.md +3 -0
- package/skills/ae-analysis/references/metric_create.md +20 -6
- package/skills/ae-analysis/references/metric_delete.md +12 -4
- package/skills/ae-analysis/references/metric_get.md +8 -2
- package/skills/ae-analysis/references/metric_list.md +17 -4
- package/skills/ae-analysis/references/metric_update.md +23 -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_access_detail_get.md +23 -0
- package/skills/ae-analysis/references/project_data_power_delete.md +26 -0
- package/skills/ae-analysis/references/project_data_power_get.md +24 -0
- package/skills/ae-analysis/references/project_data_power_list.md +23 -0
- package/skills/ae-analysis/references/project_data_power_upsert.md +24 -0
- package/skills/ae-analysis/references/project_entity_create.md +27 -0
- package/skills/ae-analysis/references/project_entity_delete.md +25 -0
- package/skills/ae-analysis/references/project_entity_event_list.md +24 -0
- package/skills/ae-analysis/references/project_entity_get.md +24 -0
- package/skills/ae-analysis/references/project_entity_list.md +28 -0
- package/skills/ae-analysis/references/project_entity_update.md +28 -0
- package/skills/ae-analysis/references/project_function_list.md +24 -0
- package/skills/ae-analysis/references/project_info_get.md +23 -0
- package/skills/ae-analysis/references/project_info_list.md +26 -0
- package/skills/ae-analysis/references/project_info_update.md +25 -0
- package/skills/ae-analysis/references/project_mark_time_create.md +27 -0
- package/skills/ae-analysis/references/project_mark_time_delete.md +25 -0
- package/skills/ae-analysis/references/project_mark_time_list.md +28 -0
- package/skills/ae-analysis/references/project_mark_time_update.md +28 -0
- package/skills/ae-analysis/references/project_member_add.md +25 -0
- package/skills/ae-analysis/references/project_member_batch_update.md +24 -0
- package/skills/ae-analysis/references/project_member_candidate_list.md +25 -0
- package/skills/ae-analysis/references/project_member_handover_export.md +27 -0
- package/skills/ae-analysis/references/project_member_handover_run.md +24 -0
- package/skills/ae-analysis/references/project_member_import.md +25 -0
- package/skills/ae-analysis/references/project_member_list.md +23 -0
- package/skills/ae-analysis/references/project_member_receiver_list.md +23 -0
- package/skills/ae-analysis/references/project_member_remove.md +26 -0
- package/skills/ae-analysis/references/project_member_update.md +25 -0
- package/skills/ae-analysis/references/project_owner_update.md +27 -0
- package/skills/ae-analysis/references/project_permission_binding_list.md +24 -0
- package/skills/ae-analysis/references/project_receive_status_update.md +25 -0
- package/skills/ae-analysis/references/project_role_delete.md +25 -0
- package/skills/ae-analysis/references/project_role_function_list.md +27 -0
- package/skills/ae-analysis/references/project_role_get.md +23 -0
- package/skills/ae-analysis/references/project_role_list.md +25 -0
- package/skills/ae-analysis/references/project_role_upsert.md +24 -0
- package/skills/ae-analysis/references/project_role_user_list.md +23 -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/project_timezone_get.md +23 -0
- package/skills/ae-analysis/references/project_timezone_overview.md +23 -0
- package/skills/ae-analysis/references/project_timezone_update.md +25 -0
- package/skills/ae-analysis/references/project_user_id_items_update.md +24 -0
- 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 +21 -6
- 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 +2 -2
- 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 +29 -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 +23 -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_project_mark_time.md +4 -3
- package/skills/ae-analysis/references/user_cluster_create.md +17 -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 +15 -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 +13 -0
- package/skills/ae-analysis/references/user_cluster_update.md +15 -0
- package/skills/ae-analysis/references/user_cluster_update_id.md +15 -0
- package/skills/ae-analysis/references/user_tag_create.md +17 -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 +15 -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 +13 -0
- package/skills/ae-analysis/references/user_tag_update.md +15 -0
- package/skills/ae-analysis/references/user_tag_update_id.md +15 -0
- package/skills/ae-analysis/references/virtual_event_create.md +24 -5
- 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 +34 -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 +233 -10
- package/skills/ae-engage/references/activity-activity-type.md +42 -0
- package/skills/ae-engage/references/activity-activity.md +70 -0
- package/skills/ae-engage/references/activity-approval.md +53 -0
- package/skills/ae-engage/references/activity-task.md +87 -0
- package/skills/ae-engage/references/activity-topic.md +98 -0
- package/skills/ae-engage/references/approval-approver-delete.md +26 -0
- package/skills/ae-engage/references/build-task-save-guide.md +11 -9
- package/skills/ae-engage/references/channel-test-send.md +37 -0
- package/skills/ae-engage/references/channel-touch-limits-batch-update.md +28 -0
- package/skills/ae-engage/references/channel-touch-limits-save.md +37 -0
- package/skills/ae-engage/references/channel-touch-limits-toggle.md +28 -0
- package/skills/ae-engage/references/channel-update-config.md +36 -0
- package/skills/ae-engage/references/channel_touch_limits_list.md +29 -0
- package/skills/ae-engage/references/client-param.md +58 -0
- package/skills/ae-engage/references/common-metric.md +75 -0
- package/skills/ae-engage/references/config-table.md +92 -0
- package/skills/ae-engage/references/engage-scene-config-item.md +69 -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/preset-event.md +42 -0
- package/skills/ae-engage/references/push-language.md +39 -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/scene-config-channel.md +58 -0
- package/skills/ae-engage/references/scene-config-group.md +62 -0
- package/skills/ae-engage/references/scene-config-item.md +68 -0
- package/skills/ae-engage/references/scene-config-metric.md +79 -0
- package/skills/ae-engage/references/scene-config-param.md +72 -0
- package/skills/ae-engage/references/scene-preset-metric.md +45 -0
- package/skills/ae-engage/references/scene-strategy.md +47 -0
- package/skills/ae-engage/references/scene-template.md +71 -0
- package/skills/ae-engage/references/segment-list-query.md +18 -0
- package/skills/ae-engage/references/task-delete.md +14 -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-engage/references/whitelist.md +72 -0
- package/skills/ae-engage/references/workbench-workbench.md +48 -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 +21 -13
- package/skills/ae-generate-tracking-plan/references/te-api.md +2 -1
- package/skills/ae-kb/SKILL.md +33 -7
- package/skills/ae-metadata/SKILL.md +10 -9
- 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_event_get.md +4 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_bind_existing.md +4 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +4 -4
- package/skills/ae-metadata/references/metadata_property_get.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/dist/te-common-CFGQXTFV.js +0 -130
- package/dist/te-common-SDB3O2QG.js +0 -130
- package/dist/te-engage-545HJL6J.js +0 -1525
- package/dist/te-engage-M7JQSJDP.js +0 -1525
- 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_metric.md +0 -62
- 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/create_virtual_event.md +0 -64
- package/skills/ae-analysis/references/create_virtual_property.md +0 -69
- 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_metric.md +0 -27
- 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_metric.md +0 -38
- package/skills/ae-analysis/references/get_report_definition.md +0 -37
- package/skills/ae-analysis/references/get_resource_url.md +0 -32
- 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_events.md +0 -46
- package/skills/ae-analysis/references/list_metrics.md +0 -52
- package/skills/ae-analysis/references/list_properties.md +0 -47
- 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_metric.md +0 -61
- 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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# analysis-governance rule schema
|
|
2
|
+
|
|
3
|
+
Use when the user needs to get asset governance rule field schema through the capability gateway.
|
|
4
|
+
|
|
5
|
+
Do not use it to list saved governance rules; use it before create/update only when the allowed rule fields or operators are unknown.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis-governance rule schema --project-id <project_id>
|
|
11
|
+
ae-cli analysis-governance rule schema --dry-run --project-id <project_id>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: analysis_meta.asset_rule.schema.
|
|
15
|
+
|
|
16
|
+
Input sends project_id, payload. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
|
|
17
|
+
|
|
18
|
+
Output `data` is the project-specific rule column/operator schema consumed by the `rule` object in rule create and update commands.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
| Parameter | Required | Description |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| --project-id | Yes | Numeric project ID. |
|
|
24
|
+
| --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# analysis-governance rule update
|
|
2
|
+
|
|
3
|
+
Use when the user needs to update an asset governance rule through the capability gateway.
|
|
4
|
+
|
|
5
|
+
Do not use it to create a new rule or guess a rule ID; resolve the existing rule with `rule-list` before updating its full definition.
|
|
6
|
+
|
|
7
|
+
Command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis-governance rule update --project-id <project_id> --payload '{}'
|
|
11
|
+
ae-cli analysis-governance rule update --dry-run --project-id <project_id>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Capability id: analysis_meta.asset_rule.update.
|
|
15
|
+
|
|
16
|
+
Input sends project_id, payload, rule_id, rule_name, comment, rule. Payload keys must follow the common-service snake_case input schema; do not send camelCase aliases.
|
|
17
|
+
|
|
18
|
+
Output `data` returns the updated `rule_id` and `updated=true`; a missing rule is an operation failure, not a create fallback.
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
| Parameter | Required | Description |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| --project-id | Yes | Numeric project ID. |
|
|
24
|
+
| --rule-id | No | Rule ID; required unless provided inside payload. |
|
|
25
|
+
| --rule-name | No | Rule name; required unless provided inside payload. |
|
|
26
|
+
| --comment | No | Rule comment. |
|
|
27
|
+
| --rule | No | Governance Filter JSON; required unless provided inside payload. |
|
|
28
|
+
| --payload | No | Optional snake_case object carrying the same fields. Use this for complex governance filters or backend-shaped payloads. |
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# analysis run inspect
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Inspect an async analysis capability-gateway run returned by export commands.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Use for `analysis adhoc export`, `analysis report-data export`, `analysis dashboard-report-data export`, `analysis bi-panel-page-data export`, and other analysis exports that return `run_id`.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Do not use this for MCP `request_id` cancellation or status. MCP query lifecycle uses the specific MCP command contract.
|
|
8
|
+
|
|
9
|
+
Input:
|
|
10
|
+
|
|
11
|
+
- `run_id`: required async run ID returned by the export response.
|
|
12
|
+
|
|
13
|
+
Use the exact `run_id` from the same export response that supplied the artifact; do not substitute a request ID, invocation ID, path segment, or an older run ID.
|
|
8
14
|
|
|
9
15
|
```bash
|
|
10
16
|
ae-cli analysis run inspect --run-id <run_id>
|
|
@@ -12,7 +18,7 @@ ae-cli analysis run inspect --run-id <run_id>
|
|
|
12
18
|
|
|
13
19
|
Input sends `run_id`.
|
|
14
20
|
|
|
15
|
-
Output is the gateway
|
|
21
|
+
Output is the gateway run descriptor with run status, artifact status, and error fields when the run failed. Keep the `run_id` from the same export result; do not invent or reuse it across artifacts.
|
|
16
22
|
|
|
17
23
|
Polling rule:
|
|
18
24
|
|
|
@@ -8,6 +8,9 @@ Domain: **Project Configuration**
|
|
|
8
8
|
- Create/update TRACKING-PLAN metadata only (planned bury items). Do not use this tool to create or edit effective system metadata. If the user intent is production metadata changes, route to MetaPowerTool instead.
|
|
9
9
|
- Create/update TRACKING-PLAN metadata only (planned bury items).
|
|
10
10
|
|
|
11
|
+
## Output
|
|
12
|
+
The response reports persistence of the submitted tracking-plan items. Read the plan back with `+get_track_program` before claiming the saved structure is effective.
|
|
13
|
+
|
|
11
14
|
## Command
|
|
12
15
|
```bash
|
|
13
16
|
ae-cli analysis_meta +save_track_items --project_id <project_id> --track_data '{}'
|
|
@@ -24,7 +27,7 @@ ae-cli analysis_meta +save_track_items --dry-run
|
|
|
24
27
|
- First run should only pass the required parameters (`--project_id`, `--track_data`), and add optional parameters only after the path is confirmed to work.
|
|
25
28
|
- Wrap JSON arguments in single quotes (for example `--track_data '{}'`) to avoid shell escaping issues.
|
|
26
29
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
27
|
-
-
|
|
30
|
+
- This is an ordinary `write` operation and does not require CLI confirmation.
|
|
28
31
|
|
|
29
32
|
## Next Steps After Failure
|
|
30
33
|
- If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id` and `--track_data`).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# analysis sql-table columns
|
|
2
|
+
|
|
3
|
+
List queryable columns for one server-authorized SQL table.
|
|
4
|
+
|
|
5
|
+
First call `analysis sql-table list --project-id <project_id>`, then copy an exact returned `table_ref`. Do not guess table or column names.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ae-cli analysis sql-table columns \
|
|
9
|
+
--project-id <project_id> \
|
|
10
|
+
--table-ref <table_ref> \
|
|
11
|
+
[--usage analysis|tag_cluster]
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
The result identifies the resolved catalog/schema/table and returns its columns with machine names, types, and available descriptions. A unique table-only reference is accepted; ambiguous references fail with candidate tables instead of selecting one arbitrarily.
|
|
15
|
+
|
|
16
|
+
Pass the same `usage` used for `sql-table list`. For SQL tags and SQL clusters this must be `--usage tag_cluster`; the default is `analysis`.
|
|
17
|
+
|
|
18
|
+
When copying returned columns into Trino SQL, delimit identifiers containing `#`, `$`, `@`, spaces, or punctuation with double quotes, for example `"#user_id"` or `"$part_event"`. Single quotes are string literals. The CLI does not auto-rewrite SQL.
|
|
19
|
+
|
|
20
|
+
If the selected table is an event table, the SQL must include a date-partition predicate on the discovered `"$part_date"` column, for example `WHERE "$part_date" BETWEEN '2026-07-01' AND '2026-07-07'`. The backend rejects event-table SQL without this condition. Do not apply this rule to a table whose discovered columns do not include `$part_date`.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# analysis sql-table list
|
|
2
|
+
|
|
3
|
+
List the server-authoritative SQL table references that the current user may query in one project.
|
|
4
|
+
|
|
5
|
+
## Command
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ae-cli analysis sql-table list \
|
|
9
|
+
--project-id <project_id> \
|
|
10
|
+
[--query <keyword>] \
|
|
11
|
+
[--limit <1-200>] \
|
|
12
|
+
[--offset <next_offset>] \
|
|
13
|
+
[--usage analysis|tag_cluster]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Contract
|
|
17
|
+
|
|
18
|
+
- Use this command before writing SQL when the table is not already known. Do not ask the customer to supply the fixed project event/user table name and do not guess `v_event_<id>` or `v_user_<id>`.
|
|
19
|
+
- `table_ref` is the exact server-authorized reference to copy into SQL and into `analysis sql-table columns --table-ref`.
|
|
20
|
+
- Each item also returns `catalog`, `schema`, `table`, `table_type`, and `description`.
|
|
21
|
+
- `usage=analysis` is the default table set for SQL analysis and reports. Use `usage=tag_cluster` for SQL tags or SQL clusters. These server-authorized sets differ, and the same usage must be passed to `sql-table columns`.
|
|
22
|
+
- When `has_more=true`, continue only with the returned `next_offset`. Stop when `has_more=false`.
|
|
23
|
+
- An empty list means the current identity has no queryable SQL tables in that project; do not fabricate a table name.
|
|
24
|
+
|
|
25
|
+
## Example workflow
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
ae-cli analysis sql-table list --project-id 1 --query user
|
|
29
|
+
ae-cli analysis sql-table columns --project-id 1 --table-ref hive.ta.v_user_1
|
|
30
|
+
ae-cli analysis adhoc run --project-id 1 --model-type sql --definition '{"sql":"select * from hive.ta.v_user_1 limit 10"}'
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Use the exact `table_ref` returned by the first command; the example reference is illustrative only.
|
|
@@ -37,7 +37,7 @@ ae-cli analysis +update_alert --dry-run
|
|
|
37
37
|
- On the first run, start with only the required parameters (`--project_id`, `--alert_id`, `--definition`) and add optional parameters after confirming the path works.
|
|
38
38
|
- Wrap JSON parameters in single quotes (for example `--definition '{}'`) to avoid shell escaping issues.
|
|
39
39
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
40
|
-
-
|
|
40
|
+
- This is an ordinary `write` operation and does not require CLI confirmation.
|
|
41
41
|
|
|
42
42
|
## Next Steps on Failure
|
|
43
43
|
- If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`, `--alert_id`, `--definition`).
|
|
@@ -7,6 +7,7 @@ Domain: **Project Configuration**
|
|
|
7
7
|
## Use Cases
|
|
8
8
|
- Update an existing project date marker. Returns the updated marker ID, timestamp, content, and visibility status.
|
|
9
9
|
- Update an existing project date marker.
|
|
10
|
+
- Do not use it to create a marker or change analysis data; use `+create_project_mark_time` for a new marker.
|
|
10
11
|
|
|
11
12
|
## Command
|
|
12
13
|
```bash
|
|
@@ -26,13 +27,13 @@ ae-cli analysis_meta +update_project_mark_time --dry-run
|
|
|
26
27
|
| `--is_visible` | No | Whether the marker is visible. Default: 1 |
|
|
27
28
|
|
|
28
29
|
## Decision Rules
|
|
29
|
-
-
|
|
30
|
+
- The smallest valid request also includes required `--content`; use `--dry-run` with `--mark_time_id`, `--project_id`, `--marked_at`, and `--content` before executing.
|
|
30
31
|
- For date/time ranges, first validate with a short range, then expand the range step by step.
|
|
31
32
|
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
32
|
-
-
|
|
33
|
+
- This is an ordinary `write` operation and does not require CLI confirmation.
|
|
33
34
|
|
|
34
35
|
## Next Steps After Failure
|
|
35
|
-
- If required parameters are missing,
|
|
36
|
+
- If required parameters are missing, supply `--mark_time_id`, `--project_id`, `--marked_at`, and `--content` before retrying.
|
|
36
37
|
- If the result after writing is not as expected, immediately read back the corresponding list/get interface for a before-and-after comparison.
|
|
37
38
|
|
|
38
39
|
## Recommended Chaining
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis user-cluster create
|
|
2
|
+
|
|
3
|
+
Create a condition or SQL user cluster directly from an AI-facing definition request.
|
|
4
|
+
|
|
5
|
+
Do not use it for uploaded-ID clusters or result-derived clusters; use `user-cluster create-id` or `query create-result-cluster`. A successful create automatically starts the initial computation; it does not mean the result is already complete. Do not call `user-cluster refresh` afterward. Poll `user-cluster get` until `progress=100` and `refresh_end_time` is not older than `update_time` before using `users_num` or querying members.
|
|
6
|
+
|
|
7
|
+
The response reports this directly: `computation.triggered_automatically=true`, `computation.status=submitted`, and `result_freshness.is_stale=true`. Follow `next_action`; when it is `poll_get`, invoke `next_capability_id` with the exact `next_input` returned by the command.
|
|
8
|
+
|
|
9
|
+
Flags: `--project-id`, `--cluster-name`, `--display-name`, `--definition-request` required. Optional: `--authenticated-only`, `--zone-offset`, `--entity-id`. The cluster type comes from `definition_request.type`.
|
|
10
|
+
|
|
11
|
+
Read `user_cluster_models.md` before constructing `--definition-request`. Create does not accept `--remark`; set it later with `user-cluster update` when needed.
|
|
12
|
+
|
|
13
|
+
The backend validates and compiles the definition inside the create operation; if metadata is ambiguous or missing, creation fails without creating the cluster. Condition clusters are saved as mixed-condition clusters (`clusterType=CONDITION`, `clusterSubType=MIX_CONDITION`).
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ae-cli analysis user-cluster create --project-id <project_id> --cluster-name retained_users --display-name "Retained Users" --definition-request '{"type":"condition","conditions":{"relation":"and","items":[{"type":"user","field":{"name":"country","type":"user_property"},"operator":"eq","values":["US"]}]}}'
|
|
17
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-cluster create-id
|
|
2
|
+
|
|
3
|
+
Create a cluster by mapping imported values to an analysis entity.
|
|
4
|
+
|
|
5
|
+
Flags: `--project-id`, `--display-name`, and `--entity-id` are required. Prefer `--input-file <local_csv>`; the CLI uploads it automatically. `--input-file-id` resumes from an existing upload, while `--file-content` is only for small local tests. Exactly one of the three is allowed. Optional: `--cluster-name`, `--remarks`, and conditional `--association-property`.
|
|
6
|
+
|
|
7
|
+
Use `--input-file` for real local files; use `--input-file-id` only when resuming from an existing upload. Do not inline large ID lists.
|
|
8
|
+
|
|
9
|
+
Run `analysis entity id-import-options` first. For the primary user entity, pass an allowed `--association-property` and put its real values in the single CSV column; `#user_id` is forbidden. For a non-primary entity, omit the flag and put that entity's own IDs in the single column. Every row must be non-empty.
|
|
10
|
+
|
|
11
|
+
Create returns `operation_status=PROCESSING` and `match_summary_status=PENDING`; it does not report submission-time counters as final matching results. Poll `user-cluster get` until progress is 100 for the final `match_summary`.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis user-cluster create-id --project-id <project_id> --display-name "VIP IDs" --entity-id <entity_id> --association-property email --input-file /tmp/vip.csv --cluster-name vip_ids
|
|
15
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# analysis user-cluster delete
|
|
2
|
+
|
|
3
|
+
Delete a user cluster after dependency/influence review.
|
|
4
|
+
|
|
5
|
+
Do not use it to clear members, stop computation, or hide a cluster. Output confirms deletion of the exact `cluster_name`; verify it is absent from `user-cluster list`.
|
|
6
|
+
|
|
7
|
+
Flags: `--project-id`, `--cluster-name` required. Add `--confirmed` and `--yes` only after the user accepts the dry-run impact.
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis user-cluster delete --project-id <project_id> --cluster-name old_cluster --dry-run
|
|
11
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
12
|
+
ae-cli analysis user-cluster delete --project-id <project_id> --cluster-name old_cluster --confirmed --yes
|
|
13
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-cluster get
|
|
2
|
+
|
|
3
|
+
Get exact user cluster details after discovery.
|
|
4
|
+
|
|
5
|
+
Do not use it for fuzzy discovery or member data. Output contains saved cluster metadata/definition for the requested names.
|
|
6
|
+
|
|
7
|
+
After `user-cluster create` or an update containing `--definition-request`, use this command to observe the automatically started computation; do not trigger `user-cluster refresh`. Until `progress=100` and `refresh_end_time` is not older than `update_time`, `users_num` and member queries may still reflect the previous successful computation. Treat that state as stale data, not as evidence that the new definition was compiled or calculated incorrectly.
|
|
8
|
+
|
|
9
|
+
The raw backend value is returned under `result`. The response also provides aggregate and per-cluster `computation`, `result_freshness`, and `next_action`. `poll_get` includes an exact capability/input pair; `none` means the latest result is usable. `potentially_stale` with `is_stale=null` means `refresh_end_time` predates `update_time`, but the update may have changed metadata only; inspect the latest update instead of refreshing automatically.
|
|
10
|
+
|
|
11
|
+
Flags: `--project-id`, `--cluster-names` JSON array.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis user-cluster get --project-id <project_id> --cluster-names '["retained_users"]'
|
|
15
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-cluster list
|
|
2
|
+
|
|
3
|
+
List accessible user clusters for discovery. Use this before any get/update/delete/member command; do not invent `cluster_name`.
|
|
4
|
+
|
|
5
|
+
Flags: `--project-id` required. Optional: `--query`, `--fields`, `--limit`, `--offset`, `--authenticated-only`.
|
|
6
|
+
|
|
7
|
+
`--offset` is only for stable asset browsing. It is not a member-data pagination strategy.
|
|
8
|
+
When `has_more=true`, continue only with the returned `next_offset`; do not calculate the next page locally.
|
|
9
|
+
|
|
10
|
+
Output is a paged cluster inventory, not cluster members or definition-build results.
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
ae-cli analysis user-cluster list --project-id <project_id> --query retained --limit 50
|
|
14
|
+
ae-cli analysis user-cluster list --project-id <project_id> --fields '["cluster_name","display_name","users_num"]' --limit 50 --offset 0
|
|
15
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-cluster-member export
|
|
2
|
+
|
|
3
|
+
Export cluster members as an async jsonl artifact. Read `analysis_data_retrieval.md` first.
|
|
4
|
+
|
|
5
|
+
Flags: `--project-id`, `--cluster-name` required. Optional: `--property-names`, `--fields`, `--query`, `--use-cache`, `--request-id`, `--artifact-format jsonl`, `--timeout-seconds`.
|
|
6
|
+
|
|
7
|
+
If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you need to correlate logs or cancel a known running query.
|
|
8
|
+
|
|
9
|
+
Export does not accept `--offset`. Common streams backend pages until `has_more=false` and writes a final metadata line with the exported row count. Do not claim a fixed 10000-row cap and do not collect full data through repeated list calls.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis user-cluster-member export --project-id <project_id> --cluster-name retained_users --artifact-format jsonl
|
|
13
|
+
ae-cli analysis run inspect --run-id <run_id>
|
|
14
|
+
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output members.jsonl.gz
|
|
15
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# analysis user-cluster-member list
|
|
2
|
+
|
|
3
|
+
Run a bounded inline cluster member query. Read `analysis_data_retrieval.md` before choosing list vs export.
|
|
4
|
+
|
|
5
|
+
Do not use it for complete/unknown-size membership retrieval or cluster metadata. Output contains at most the requested inline limit and has no caller pagination contract.
|
|
6
|
+
|
|
7
|
+
Flags: `--project-id`, `--cluster-name` required. Optional: `--property-names`, `--fields`, `--query`, `--use-cache`, `--request-id`, `--limit`, `--timeout-seconds`.
|
|
8
|
+
|
|
9
|
+
When `--fields` is omitted, each member row returns `#user_id`, `#account_id`, and `#distinct_id`. Cluster members do not expose tag-only fields such as `tag_value` or `tag_date`. The sync timeout defaults to 120 seconds and accepts an explicit value up to 180 seconds.
|
|
10
|
+
The inline member limit defaults to 50 and accepts 1..200.
|
|
11
|
+
|
|
12
|
+
If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you need to correlate logs or cancel a known running query.
|
|
13
|
+
|
|
14
|
+
For full or unknown-size member data, use `user-cluster-member export`; the list command has no next-page contract.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli analysis user-cluster-member list --project-id <project_id> --cluster-name retained_users --limit 100
|
|
18
|
+
ae-cli analysis user-cluster-member list --project-id <project_id> --cluster-name retained_users --property-names '["country"]' --fields '["#user_id","#account_id","#distinct_id","country"]' --query US --limit 50
|
|
19
|
+
```
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# User cluster definition models
|
|
2
|
+
|
|
3
|
+
This is the canonical `--definition-request` contract for direct user-cluster create/update. Shared operators, properties, time ranges, and filters are defined in [`audience_models.md`](audience_models.md).
|
|
4
|
+
|
|
5
|
+
Top-level variants:
|
|
6
|
+
|
|
7
|
+
- condition: `{"type":"condition","conditions":{"relation":"and|or","items":[...]}}`
|
|
8
|
+
- SQL: `{"type":"sql","sql":"...","params":[{"name":"partdate","type":"part_date","recent_day":"1-7"}]}`
|
|
9
|
+
|
|
10
|
+
For SQL clusters, quote Trino special identifiers with double quotes, for example `{"type":"sql","sql":"SELECT \"#user_id\" FROM v_user_1 WHERE vip_level >= 3"}`. This applies to identifiers containing `#`, `$`, `@`, spaces, or punctuation; single quotes are string literals.
|
|
11
|
+
|
|
12
|
+
If a SQL cluster reads an event table, include a predicate on the quoted `"$part_date"` date-partition column; the backend rejects event-table SQL without it. This does not apply to the user-table example above.
|
|
13
|
+
|
|
14
|
+
SQL clusters support only `${PartDate:name}` dynamic placeholders. Each placeholder requires a matching `params` item with `type=part_date` and either `recent_day` or `start_time` plus `end_time`. General SQL parameter types (`text`, `number`, `variable`, `time`, and `selector`) are rejected for SQL clusters.
|
|
15
|
+
For `recent_day`, `0-7` means 最近7天 and includes today; `1-7` means 过去7天 and excludes today.
|
|
16
|
+
|
|
17
|
+
Discover tables with `analysis sql-table list --project-id <project_id> --usage tag_cluster`, then inspect columns with the same `--usage tag_cluster`. This table set is server-authorized specifically for SQL tags/clusters and differs from the default analysis SQL set.
|
|
18
|
+
|
|
19
|
+
Optional `include_filter` and `exclude_filter` use the shared filter-group shape.
|
|
20
|
+
|
|
21
|
+
## Event node
|
|
22
|
+
|
|
23
|
+
Required: `type=event`, `event`. Defaults: `operator=eq`, `value=1`, `aggregation=count`.
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"type":"event",
|
|
28
|
+
"event":"pay",
|
|
29
|
+
"operator":"gte",
|
|
30
|
+
"value":2,
|
|
31
|
+
"aggregation":"count",
|
|
32
|
+
"property":"amount",
|
|
33
|
+
"time_range":{"mode":"recent","unit":"day","value":7},
|
|
34
|
+
"filters":{"relation":"and","items":[{"field":"platform","operator":"eq","values":["ios"]}]}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## User-property node
|
|
39
|
+
|
|
40
|
+
Required: `type=user`, `field`, `operator`. `values`, `time_relative`, and `time_unit` are optional.
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{"type":"user","field":"vip_level","operator":"gte","values":[3]}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Tag or cluster membership node
|
|
47
|
+
|
|
48
|
+
Required: `type=tag|cluster`, `field`. `operator` defaults to `in_cluster`; optional fields are `values`, `cluster_date_policy`, and `specified_cluster_date`.
|
|
49
|
+
|
|
50
|
+
```json
|
|
51
|
+
{"type":"tag","field":"user_level","operator":"eq","values":["vip"]}
|
|
52
|
+
{"type":"cluster","field":"payer_users","operator":"in_cluster"}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Compound node
|
|
56
|
+
|
|
57
|
+
`group` is another `{relation,items}` condition group.
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{"type":"compound","group":{"relation":"or","items":[{"type":"user","field":"country","operator":"eq","values":["US"]},{"type":"cluster","field":"payer_users","operator":"in_cluster"}]}}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Behavior-sequence node
|
|
64
|
+
|
|
65
|
+
Required: `type=behavior_sequence`, `completed`, `steps`. Each step requires `event`; optional step fields are `completed`, `filters`, `relative_to_first`, and `window`. The sequence also accepts `time_range` and `window`.
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"type":"behavior_sequence",
|
|
70
|
+
"completed":true,
|
|
71
|
+
"steps":[{"event":"view_item","completed":true},{"event":"pay","completed":true,"window":{"value":7,"unit":"day"}}],
|
|
72
|
+
"time_range":{"mode":"recent","unit":"day","value":30},
|
|
73
|
+
"window":{"value":7,"unit":"day"}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Complete condition request
|
|
78
|
+
|
|
79
|
+
```json
|
|
80
|
+
{
|
|
81
|
+
"type":"condition",
|
|
82
|
+
"conditions":{"relation":"and","items":[
|
|
83
|
+
{"type":"event","event":"pay","operator":"gte","value":2,"aggregation":"count","time_range":{"mode":"recent","unit":"day","value":7}},
|
|
84
|
+
{"type":"user","field":"country","operator":"eq","values":["US"]}
|
|
85
|
+
]}
|
|
86
|
+
}
|
|
87
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# analysis user-cluster refresh
|
|
2
|
+
|
|
3
|
+
Explicitly recompute an existing user cluster by exact `cluster_name` without changing its definition.
|
|
4
|
+
|
|
5
|
+
Use this only when an unchanged definition must be run again, such as an explicit retry or a recomputation against changed source data. Do not call it after `user-cluster create` or an update containing `--definition-request`; those commands already start computation automatically. Output means recomputation was submitted, not completed. Poll `user-cluster get` and verify the new computation before using `users_num` or querying members.
|
|
6
|
+
|
|
7
|
+
The response marks this as an explicit trigger: `computation.triggered_by_command=true`, `computation.triggered_automatically=false`, `computation.status=submitted`, and `result_freshness.is_stale=true`. Follow the returned `next_action`, `next_capability_id`, and `next_input` to poll.
|
|
8
|
+
|
|
9
|
+
Flags: `--project-id`, `--cluster-name` required.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis user-cluster refresh --project-id <project_id> --cluster-name retained_users
|
|
13
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-cluster update
|
|
2
|
+
|
|
3
|
+
Update a condition or SQL user cluster. Discover the exact `cluster_name` first.
|
|
4
|
+
|
|
5
|
+
Do not use it for ID-file membership replacement or to create a missing cluster. Supplying `--definition-request` automatically starts recomputation after the definition is updated; do not call `user-cluster refresh` afterward. Updating only `--display-name` or `--remark` does not recompute. A successful update means the definition was saved, not that the new result is complete. Poll `user-cluster get` until `progress=100` and `refresh_end_time` is not older than `update_time` before using `users_num` or querying members.
|
|
6
|
+
|
|
7
|
+
The response distinguishes both paths. A definition update returns `computation.triggered_automatically=true`, `result_freshness.is_stale=true`, and normally `next_action=poll_get` with an exact capability/input pair. A display-name/remark-only update returns `computation.status=not_triggered`, `result_freshness.status=fresh`, and `next_action=none`.
|
|
8
|
+
|
|
9
|
+
Flags: `--project-id`, `--cluster-name` required. Optional: `--display-name`, `--definition-request`, `--authenticated-only`, `--remark`, `--zone-offset`. The cluster type comes from `definition_request.type` when the definition changes.
|
|
10
|
+
|
|
11
|
+
Read `user_cluster_models.md` before changing the definition. The backend validates and compiles `definition_request` inside update and refuses to modify the cluster if clarification is required. Condition definitions are saved as mixed-condition clusters.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis user-cluster update --project-id <project_id> --cluster-name retained_users --display-name "Retained Users v2"
|
|
15
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-cluster update-id
|
|
2
|
+
|
|
3
|
+
Update a cluster by remapping imported values to its analysis entity.
|
|
4
|
+
|
|
5
|
+
Do not use it for a condition/SQL cluster. The existing entity binding cannot be changed by this command.
|
|
6
|
+
|
|
7
|
+
Flags: `--project-id`, `--cluster-name` required. Provide exactly one of local `--input-file`, reusable `--input-file-id`, or small-test `--file-content`. Optional: `--display-name`, `--remarks`, conditional `--association-property`.
|
|
8
|
+
|
|
9
|
+
Use `analysis entity id-import-options` for the bound entity. CSV is headerless UTF-8 with exactly one non-empty column per row. Pass `--association-property` only for the primary user entity.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis user-cluster update-id --project-id <project_id> --cluster-name vip_ids --input-file-id <input_file_id>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The response reports `operation_status=PROCESSING` and a pending match summary. Read the cluster again until processing completes to obtain final uploaded, matched, and unmatched counts.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis user-tag create
|
|
2
|
+
|
|
3
|
+
Create a user tag directly from an AI-facing definition request.
|
|
4
|
+
|
|
5
|
+
Do not use it for uploaded-ID tags; use `user-tag create-id`. A successful create automatically starts the initial computation; it does not mean the result is already complete. Do not call `user-tag refresh` afterward. Poll `user-tag get` until `progress=100` and `refresh_time` is present before using `users_num` or querying members.
|
|
6
|
+
|
|
7
|
+
The response reports this directly: `computation.triggered_automatically=true`, `computation.status=submitted`, and `result_freshness.is_stale=true`. Follow `next_action`; when it is `poll_get`, invoke `next_capability_id` with the exact `next_input` returned by the command.
|
|
8
|
+
|
|
9
|
+
Flags: `--project-id`, `--tag-name`, `--display-name`, `--definition-request` required. Optional: `--authenticated-only`, `--zone-offset`, `--entity-id`. The tag type comes from `definition_request.type`.
|
|
10
|
+
|
|
11
|
+
Read `user_tag_models.md` before constructing `--definition-request`. Create does not accept `--remark`; set it later with `user-tag update` when needed.
|
|
12
|
+
|
|
13
|
+
The backend validates and compiles the definition inside the create operation; if metadata is ambiguous or missing, creation fails without creating the tag.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ae-cli analysis user-tag create --project-id <project_id> --tag-name high_value --display-name "High Value" --definition-request '{"type":"condition","condition_values":[{"value":"high","events":[{"event":"pay","operator":"gte","value":3,"aggregation":"count","time_range":{"mode":"recent","unit":"day","value":30}}]}]}'
|
|
17
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-tag create-id
|
|
2
|
+
|
|
3
|
+
Create a tag by mapping imported values to an analysis entity.
|
|
4
|
+
|
|
5
|
+
Flags: `--project-id`, `--display-name`, and `--entity-id` are required. Prefer `--input-file <local_csv>`; the CLI uploads it automatically. `--input-file-id` resumes from an existing upload, while `--file-content` is only for small local tests. Exactly one of the three is allowed. Optional: `--tag-name`, `--remarks`, and conditional `--association-property`.
|
|
6
|
+
|
|
7
|
+
Use `--input-file` for real local files; use `--input-file-id` only when resuming from an existing upload. Do not inline large ID lists.
|
|
8
|
+
|
|
9
|
+
Run `analysis entity id-import-options` first. For the primary user entity, column 1 is a real value of the selected `--association-property`; for a non-primary entity, it is that entity's own ID. Column 2 is `tag_value`. The headerless UTF-8 CSV must contain exactly two non-empty columns in every row.
|
|
10
|
+
|
|
11
|
+
Create returns `operation_status=PROCESSING` and `match_summary_status=PENDING`; poll `user-tag get` until progress is 100 for the final `match_summary`.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis user-tag create-id --project-id <project_id> --display-name "VIP Tag" --entity-id <entity_id> --association-property email --input-file /tmp/id-tag.csv --tag-name vip_tag
|
|
15
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# analysis user-tag delete
|
|
2
|
+
|
|
3
|
+
Delete a user tag after dependency/influence review.
|
|
4
|
+
|
|
5
|
+
Do not use it to clear history snapshots or hide a tag. Output confirms deletion of the exact `tag_name`; verify it is absent from `user-tag list`.
|
|
6
|
+
|
|
7
|
+
Flags: `--project-id`, `--tag-name` required. Add `--confirmed` and `--yes` only after the user accepts the dry-run impact.
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ae-cli analysis user-tag delete --project-id <project_id> --tag-name old_tag --dry-run
|
|
11
|
+
# Summarize the target and impact, then wait for explicit user confirmation.
|
|
12
|
+
ae-cli analysis user-tag delete --project-id <project_id> --tag-name old_tag --confirmed --yes
|
|
13
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-tag get
|
|
2
|
+
|
|
3
|
+
Get exact user tag details after discovery.
|
|
4
|
+
|
|
5
|
+
Do not use it for fuzzy discovery, member data, or history statistics. Output contains saved tag metadata/definition for the requested names.
|
|
6
|
+
|
|
7
|
+
After `user-tag create` or an update containing `--definition-request`, use this command to observe the automatically started computation; do not trigger `user-tag refresh`. For create, wait until `progress=100` and `refresh_time` is present. For a definition update, record the previous `refresh_time` first and wait until `progress=100` and `refresh_time` advances. Until then, `users_num` and member queries may still reflect the previous successful computation; treat that as stale data, not as evidence that the new definition was compiled or calculated incorrectly.
|
|
8
|
+
|
|
9
|
+
The raw backend value is returned under `result`. The response also provides aggregate and per-tag `computation`, `result_freshness`, and `next_action`. `poll_get` includes an exact capability/input pair; `none` means the latest result is usable. `potentially_stale` with `is_stale=null` means `refresh_time` predates `update_time`, but the update may have changed metadata only; inspect the latest update instead of refreshing automatically.
|
|
10
|
+
|
|
11
|
+
Flags: `--project-id`, `--tag-names` JSON array.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis user-tag get --project-id <project_id> --tag-names '["user_level"]'
|
|
15
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# analysis user-tag list
|
|
2
|
+
|
|
3
|
+
List accessible user tags for discovery. Use this before get/update/delete/member/history-tag commands; do not invent `tag_name`.
|
|
4
|
+
|
|
5
|
+
Flags: `--project-id` required. Optional: `--query`, `--fields`, `--limit`, `--offset`, `--authenticated-only`.
|
|
6
|
+
|
|
7
|
+
`--offset` is only for stable asset browsing. It is not a tag-member pagination strategy.
|
|
8
|
+
When `has_more=true`, continue only with the returned `next_offset`; do not calculate the next page locally.
|
|
9
|
+
|
|
10
|
+
Output is a paged tag inventory whose identifier is `tag_name`, the same field consumed by get/update/delete/member/history-tag commands. It is not tag members, history snapshots, or definition-build results.
|
|
11
|
+
|
|
12
|
+
Tags never accept `cluster_name`; that field belongs only to user clusters. Do not retry a tag command by substituting one identifier for the other.
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
ae-cli analysis user-tag list --project-id <project_id> --query level --limit 50
|
|
16
|
+
ae-cli analysis user-tag list --project-id <project_id> --fields '["tag_name","display_name","users_num"]' --limit 50 --offset 0
|
|
17
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# analysis user-tag-member export
|
|
2
|
+
|
|
3
|
+
Export tag members as an async jsonl artifact. Read `analysis_data_retrieval.md` first.
|
|
4
|
+
|
|
5
|
+
Flags: `--project-id`, `--tag-name` required. Optional: `--snapshot-date`, `--property-names`, `--fields`, `--query`, `--use-cache`, `--request-id`, `--artifact-format jsonl`, `--timeout-seconds`.
|
|
6
|
+
|
|
7
|
+
If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you need to correlate logs or cancel a known running query.
|
|
8
|
+
|
|
9
|
+
Export does not accept `--offset`. Common streams backend pages until `has_more=false` and writes a final metadata line with the exported row count. Do not claim a fixed 10000-row cap and do not collect full data through repeated list calls.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis user-tag-member export --project-id <project_id> --tag-name user_level --artifact-format jsonl
|
|
13
|
+
ae-cli analysis run inspect --run-id <run_id>
|
|
14
|
+
ae-cli analysis artifact download --run-id <run_id> --artifact-id <artifact_id> --output tag-members.jsonl.gz
|
|
15
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# analysis user-tag-member list
|
|
2
|
+
|
|
3
|
+
Run a bounded inline tag member query. Read `analysis_data_retrieval.md` before choosing list vs export.
|
|
4
|
+
|
|
5
|
+
Do not use it for complete/unknown-size membership retrieval or history statistics. Output contains at most the requested inline limit and has no caller pagination contract.
|
|
6
|
+
|
|
7
|
+
Flags: `--project-id`, `--tag-name` required. Optional: `--snapshot-date`, `--property-names`, `--fields`, `--query`, `--use-cache`, `--request-id`, `--limit`, `--timeout-seconds`.
|
|
8
|
+
|
|
9
|
+
When `--fields` is omitted, each member row returns `#user_id`, `#account_id`, `#distinct_id`, and the stable logical `tag_value`. Internal calculated tag column names are never part of the public response. The sync timeout defaults to 120 seconds and accepts an explicit value up to 180 seconds.
|
|
10
|
+
The inline member limit defaults to 50 and accepts 1..200.
|
|
11
|
+
|
|
12
|
+
If you provide `--request-id`, use `cli_<32 lowercase hex>`. Omit it unless you need to correlate logs or cancel a known running query.
|
|
13
|
+
|
|
14
|
+
For full or unknown-size member data, use `user-tag-member export`; the list command has no next-page contract.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli analysis user-tag-member list --project-id <project_id> --tag-name user_level --limit 100
|
|
18
|
+
ae-cli analysis user-tag-member list --project-id <project_id> --tag-name user_level --snapshot-date 2026-07-01 --property-names '["country"]' --fields '["#user_id","#account_id","#distinct_id","tag_value","country"]' --limit 50
|
|
19
|
+
```
|