Flashcat API
NightingaleFlashdutyFlashcat
官网
NightingaleFlashdutyFlashcat
官网
  1. 状态快照
  • 介绍
  • FlashAI
    • 获取灭火图 AI 分析结果
      POST
    • 会话审计
      GET
  • 基础能力
    • 数据集成
      • 数据源列表
      • 数据源类型列表
    • 空间管理
      • 空间列表
  • 北极星
    • 业务线管理
      • 业务线配置
        • 新增/修改业务线
        • 业务线配置
        • 删除业务线
        • 业务线列表
      • 图表配置
        • 保存业务线图表配置
        • 获取业务线图表配置
        • 新增/修改图表
        • 图表列表
        • 图表详情
        • 删除图表
      • 事件管理
        • 新增/修改事件
        • 事件详情
        • 事件列表
        • 删除事件
    • 指标管理
      • 指标配置
        • 新增/修改指标
        • 删除指标
        • 指标详情
        • 指标摘要列表
      • 数据查询
        • 查询指标历史曲线
    • 更多
      • 飘红屏蔽
        • 新增/修改北极星飘红屏蔽规则
        • 北极星飘红屏蔽规则列表
        • 北极星飘红屏蔽规则详情
        • 删除北极星飘红屏蔽规则
        • 启用北极星飘红屏蔽规则
        • 禁用北极星飘红屏蔽规则
      • 状态概览
        • 北极星状态页历史
      • 导入导出
        • 导入北极星配置
        • 导出北极星配置
  • 灭火图
    • 树结构管理
      • 层级管理
        • 层级列表
        • 新增/修改层级
        • 删除层级
        • 禁用层级
        • 启用层级
        • 添加首页卡片到层级
      • 首页管理
        • 新增/修改首页卡片
        • 删除首页卡片
        • 首页卡片详情
        • 首页卡片列表
      • 分组管理
        • 新增/修改分组
        • 删除分组
        • 分组列表
        • 分组直属卡片列表
        • 分组详情
        • 添加卡片到分组
        • 从分组移除卡片
      • 卡片池
        • 卡片池卡片列表
    • 卡片管理
      • 详情卡片管理
        • 新增/修改灵活卡片
        • 卡片详情
        • 删除卡片
      • 卡片规则
        • 新增/修改卡片管理规则
        • 卡片管理规则详情
        • 删除卡片管理规则
        • 卡片管理规则列表
        • 导出卡片管理规则
        • 导入卡片管理规则
        • 删除规则生成的卡片
        • 启用卡片管理规则
        • 禁用卡片管理规则
    • 数据查询
      • 时间线
        • 灭火图时间线
      • 状态快照
        • 拓扑快照
          POST
        • 首页树结构快照
          POST
        • 首页卡片状态快照
          POST
        • 卡片分组实时状态快照
          POST
      • 历史曲线
        • 查询卡片历史曲线
    • 更多
      • 模板中心
        • 内置组件列表
        • 内置模板列表
        • 内置模板详情
      • 飘红屏蔽
        • 新增/修改灭火图飘红屏蔽规则
        • 灭火图飘红屏蔽规则详情
        • 灭火图飘红屏蔽规则列表
        • 启用灭火图飘红屏蔽规则
        • 禁用灭火图飘红屏蔽规则
        • 删除灭火图飘红屏蔽规则
      • SLO报表
        • SLO 报告列表与当前状态
        • SLO 报告摘要
        • SLO 卡片摘要
      • 状态概览
        • 灭火图状态页历史
      • 导入导出
        • 导入灭火图配置
        • 导出灭火图配置
  • 事件墙
    • 视图
      • 事件视图详情
      • 事件视图列表
    • 事件查询
      • 事件聚合查询
      • 事件时间线查询
      • 事件明细查询
  • 日志报表
    • 日志维度
      • 日志主题列表
      • 日志报表列表
      • 日志报表查询
  1. 状态快照

首页树结构快照

POST
https://api.flashcat.cloud/api/v2/firemap/business/tree/snapshot
最后修改时间:2026-08-17 01:33:37

请求参数

Header 参数

Body 参数application/json

示例

返回响应

🟢200
application/json
成功
Bodyapplication/json

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.flashcat.cloud/api/v2/firemap/business/tree/snapshot' \
--header 'X-User-Token: YOUR_USER_TOKEN' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjM2ZTRjZjI3LWI4OWYtNDFlZS04ZDhmLWZiMjdhMmZlZGIzOSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc3NTExMTEyMywidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9.IwPWDg92AjjvuUTGplaXgpexmOSsONx73M7Y7pOI_vE' \
--header 'Content-Type: application/json' \
--data '{
    "timestamp": 1735689600,
    "search": [
        "keyword"
    ],
    "status": "all",
    "filter_rule": true,
    "rule_id": 123,
    "rule_released": true,
    "filter_alert": true,
    "alert_rule_id": 123,
    "multi_minutes_mode": true,
    "multi_minutes_start": 1,
    "multi_minutes_end": 1,
    "look_ahead_minutes": 1,
    "look_back_minutes": 1,
    "multi_minutes_values": true,
    "business_id": 123,
    "firemap_type": "function",
    "group_id": 123
}'
响应示例响应示例
{
    "request_id": "0ace0011649b99a4742c592762c584b0",
    "error": null,
    "data": {
        "items": [
            {
                "function_children": [
                    {
                        "id": 123,
                        "workspace_id": 123,
                        "name": "示例名称",
                        "alias": "string",
                        "owners": [
                            "string"
                        ],
                        "calculation": 1,
                        "calc_alias": "string",
                        "created_at": 1,
                        "updated_at": 1,
                        "firemap_type": "function",
                        "writable": true,
                        "order": 1,
                        "uuid": "string",
                        "workspace_name": "string",
                        "related_auto_rules": [
                            {
                                "id": 123,
                                "name": "示例名称",
                                "bind": true
                            }
                        ],
                        "is_group": true,
                        "timestamp": 1735689600,
                        "values": {
                            "key": "value"
                        },
                        "anomaly_score": 99.9,
                        "is_critical": true,
                        "num_of_marked": 1,
                        "num_of_continuous": 1,
                        "data_source_type": "prometheus",
                        "data_source_ids": [
                            123
                        ],
                        "description": "string",
                        "is_null": true,
                        "is_muted": true,
                        "labels": {
                            "key": "value"
                        },
                        "num_of_events": [
                            1
                        ],
                        "has_mute_rule": true,
                        "num_of_risk": 1,
                        "original_series_mode": true,
                        "card_id": 123,
                        "card_name": "示例名称",
                        "group_ids": [
                            123
                        ],
                        "group_names": [
                            "示例名称"
                        ],
                        "group_name_aliases": [
                            "string"
                        ],
                        "group_id": 123,
                        "group_name": "示例名称",
                        "business_id": 123,
                        "business_name": "示例名称",
                        "business_name_alias": "string",
                        "business_group_id": 123,
                        "business_group_name": "string",
                        "num_of_series": 1,
                        "num_of_red_series": 1,
                        "num_of_metric_series": {
                            "key": "value"
                        },
                        "num_of_released": 1,
                        "num_of_conflict": 1,
                        "metric_values": [
                            {
                                "metric": "string",
                                "name": "示例名称",
                                "unit": "string",
                                "aggregation": "string",
                                "value": 99.9,
                                "is_critical": true,
                                "value_mapping": "string"
                            }
                        ],
                        "status_codes": {
                            "key": "value"
                        },
                        "has_child_group": true,
                        "num_of_cards": 1,
                        "num_of_matched_cards": 1,
                        "num_of_red_cards": 1,
                        "num_of_marked_cards": 1,
                        "children": [
                            {
                                "key": "value"
                            }
                        ],
                        "multi_minutes": [
                            {
                                "timestamp": 1735689600,
                                "is_critical": true,
                                "is_null": true,
                                "anomaly_score": 99.9,
                                "values": {
                                    "key": "value"
                                },
                                "metric_values": [
                                    {
                                        "metric": "string",
                                        "name": "示例名称",
                                        "unit": "string",
                                        "aggregation": "string",
                                        "value": 99.9,
                                        "is_critical": true,
                                        "value_mapping": "string"
                                    }
                                ],
                                "num_of_marked": 1
                            }
                        ]
                    }
                ],
                "module_children": [
                    {
                        "id": 123,
                        "workspace_id": 123,
                        "name": "示例名称",
                        "alias": "string",
                        "owners": [
                            "string"
                        ],
                        "calculation": 1,
                        "calc_alias": "string",
                        "created_at": 1,
                        "updated_at": 1,
                        "firemap_type": "function",
                        "writable": true,
                        "order": 1,
                        "uuid": "string",
                        "workspace_name": "string",
                        "related_auto_rules": [
                            {
                                "id": 123,
                                "name": "示例名称",
                                "bind": true
                            }
                        ],
                        "is_group": true,
                        "timestamp": 1735689600,
                        "values": {
                            "key": "value"
                        },
                        "anomaly_score": 99.9,
                        "is_critical": true,
                        "num_of_marked": 1,
                        "num_of_continuous": 1,
                        "data_source_type": "prometheus",
                        "data_source_ids": [
                            123
                        ],
                        "description": "string",
                        "is_null": true,
                        "is_muted": true,
                        "labels": {
                            "key": "value"
                        },
                        "num_of_events": [
                            1
                        ],
                        "has_mute_rule": true,
                        "num_of_risk": 1,
                        "original_series_mode": true,
                        "card_id": 123,
                        "card_name": "示例名称",
                        "group_ids": [
                            123
                        ],
                        "group_names": [
                            "示例名称"
                        ],
                        "group_name_aliases": [
                            "string"
                        ],
                        "group_id": 123,
                        "group_name": "示例名称",
                        "business_id": 123,
                        "business_name": "示例名称",
                        "business_name_alias": "string",
                        "business_group_id": 123,
                        "business_group_name": "string",
                        "num_of_series": 1,
                        "num_of_red_series": 1,
                        "num_of_metric_series": {
                            "key": "value"
                        },
                        "num_of_released": 1,
                        "num_of_conflict": 1,
                        "metric_values": [
                            {
                                "metric": "string",
                                "name": "示例名称",
                                "unit": "string",
                                "aggregation": "string",
                                "value": 99.9,
                                "is_critical": true,
                                "value_mapping": "string"
                            }
                        ],
                        "status_codes": {
                            "key": "value"
                        },
                        "has_child_group": true,
                        "num_of_cards": 1,
                        "num_of_matched_cards": 1,
                        "num_of_red_cards": 1,
                        "num_of_marked_cards": 1,
                        "children": [
                            {
                                "key": "value"
                            }
                        ],
                        "multi_minutes": [
                            {
                                "timestamp": 1735689600,
                                "is_critical": true,
                                "is_null": true,
                                "anomaly_score": 99.9,
                                "values": {
                                    "key": "value"
                                },
                                "metric_values": [
                                    {
                                        "metric": "string",
                                        "name": "示例名称",
                                        "unit": "string",
                                        "aggregation": "string",
                                        "value": 99.9,
                                        "is_critical": true,
                                        "value_mapping": "string"
                                    }
                                ],
                                "num_of_marked": 1
                            }
                        ]
                    }
                ],
                "num_of_matched_function_cards": 1,
                "num_of_matched_module_cards": 1
            }
        ],
        "num_of_cards": 1,
        "num_of_matched_cards": 1,
        "business_groups": [
            {
                "id": 123,
                "num_of_cards": 1,
                "num_of_matched_cards": 1
            }
        ],
        "timestamp_summary": {
            "card_id_by_timestamp": {
                "key": "value"
            }
        }
    }
}
修改于 2026-08-17 01:33:37
上一页
拓扑快照
下一页
首页卡片状态快照
Built with