{
    "name": "list-manageable-projects",
    "description": "获取当前用户可管理的飞书项目空间列表",
    "createdAt": "2026-05-09T13:50:38.860Z",
    "variables": [
        {
            "name": "projects",
            "description": "当前用户可管理的空间列表",
            "type": "output",
            "sourceKind": "list",
            "sourceStepIndex": 0,
            "sourcePath": "data.project_list",
            "jsonSchema": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "id": {
                            "type": "string"
                        },
                        "name": {
                            "type": "string"
                        },
                        "simple_name": {
                            "type": "string"
                        },
                        "asset_key": {
                            "type": "string"
                        },
                        "has_auth": {
                            "type": "boolean"
                        },
                        "hidden": {
                            "type": "boolean"
                        },
                        "master_count": {
                            "type": "number"
                        },
                        "project_status": {
                            "type": "string"
                        },
                        "project_Type": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "id",
                        "name"
                    ]
                }
            }
        },
        {
            "name": "total",
            "description": "可管理空间总数",
            "type": "output",
            "sourceStepIndex": 0,
            "sourcePath": "data.page_opts.total"
        },
        {
            "name": "total_page",
            "description": "可管理空间分页总页数",
            "type": "output",
            "sourceStepIndex": 0,
            "sourcePath": "data.page_opts.total_page"
        }
    ],
    "steps": [
        {
            "method": "POST",
            "pathTemplate": "/goapi/v5/cross_project/project/list",
            "bodyContentType": "application/json",
            "bodyTemplate": {
                "fuzzy_name": "",
                "page_size": 40,
                "page_num": 1,
                "has_visit_perm": true,
                "is_master": true
            },
            "pagination": {
                "type": "page_num",
                "pageNumberPath": "page_num",
                "totalPagesPath": "data.page_opts.total_page",
                "dedupeByPath": "id"
            },
            "responseSummary": "获取当前用户可管理的空间列表"
        }
    ]
}
