> ## Documentation Index
> Fetch the complete documentation index at: https://docs.acturehub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Ecosystem Dashboard



## OpenAPI

````yaml /specs/bp-agent-ecosystem.openapi.json get /api/ecosystem/dashboard
openapi: 3.1.0
info:
  title: BP-Agent Ecosystem API
  description: BP-Agent 账号态生态服务接口：生态对接需求、服务商档案、上架状态、成员、服务、评价与资料文件。接口使用账号 JWT 鉴权，并按租户隔离。
  contact:
    name: BP Agent 开发团队
    email: support@bpagent.com
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
  version: 1.0.0
servers:
  - url: https://bptest.mapleai.cc
    description: 测试环境（仅 relay 上传）
  - url: https://project.mapleai.cc
    description: 生产环境（OSS；STS 直传需服务端启用）
security: []
paths:
  /api/ecosystem/dashboard:
    get:
      tags:
        - 生态资源 / Ecosystem
      summary: Get Ecosystem Dashboard
      operationId: get_ecosystem_dashboard_api_ecosystem_dashboard_get
      parameters:
        - name: tenant_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: 管理员可选租户范围
            title: Tenant Id
          description: 管理员可选租户范围
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/SuccessResponse_EcosystemDashboardResponse_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SuccessResponse_EcosystemDashboardResponse_:
      properties:
        code:
          type: integer
          title: Code
          description: 响应码，成功时为0
          default: 0
        message:
          type: string
          title: Message
          description: 成功消息
          default: 操作成功
        data:
          $ref: '#/components/schemas/EcosystemDashboardResponse'
          description: 响应数据
        timestamp:
          anyOf:
            - type: integer
            - type: 'null'
          title: Timestamp
          description: 响应时间戳（可选）
      type: object
      title: SuccessResponse[EcosystemDashboardResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EcosystemDashboardResponse:
      properties:
        total_needs:
          type: integer
          minimum: 0
          title: Total Needs
          description: 需求总数
          default: 0
        status_summary:
          items:
            $ref: '#/components/schemas/EcosystemDashboardMetricItem'
          type: array
          title: Status Summary
          description: 状态分布
        service_type_summary:
          items:
            $ref: '#/components/schemas/EcosystemDashboardMetricItem'
          type: array
          title: Service Type Summary
          description: 服务类型分布
        partner_summary:
          $ref: '#/components/schemas/EcosystemPartnerSummaryResponse'
          description: 资源方统计
      type: object
      title: EcosystemDashboardResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    EcosystemDashboardMetricItem:
      properties:
        code:
          type: string
          title: Code
          description: 指标代码
        name:
          type: string
          title: Name
          description: 中文名称
        count:
          type: integer
          minimum: 0
          title: Count
          description: 数量
        color_hex:
          anyOf:
            - type: string
            - type: 'null'
          title: Color Hex
          description: 图表颜色
        color_class:
          anyOf:
            - type: string
            - type: 'null'
          title: Color Class
          description: Tailwind 颜色类
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: 指标说明
      type: object
      required:
        - code
        - name
        - count
      title: EcosystemDashboardMetricItem
    EcosystemPartnerSummaryResponse:
      properties:
        total_count:
          type: integer
          minimum: 0
          title: Total Count
          description: 资源方总数
          default: 0
        active_count:
          type: integer
          minimum: 0
          title: Active Count
          description: 活跃资源方
          default: 0
        inactive_count:
          type: integer
          minimum: 0
          title: Inactive Count
          description: 不活跃资源方
          default: 0
        total_profit:
          type: integer
          minimum: 0
          title: Total Profit
          description: 累计分润（分）
          default: 0
      type: object
      title: EcosystemPartnerSummaryResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.