> ## 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 Provider



## OpenAPI

````yaml /specs/bp-agent-ecosystem.openapi.json get /api/ecosystem/providers/{provider_id}
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/providers/{provider_id}:
    get:
      tags:
        - 生态资源 / Ecosystem
      summary: Get Provider
      operationId: get_provider_api_ecosystem_providers__provider_id__get
      parameters:
        - name: provider_id
          in: path
          required: true
          schema:
            type: string
            title: Provider Id
        - 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_EcosystemProviderResponse_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SuccessResponse_EcosystemProviderResponse_:
      properties:
        code:
          type: integer
          title: Code
          description: 响应码，成功时为0
          default: 0
        message:
          type: string
          title: Message
          description: 成功消息
          default: 操作成功
        data:
          $ref: '#/components/schemas/EcosystemProviderResponse'
          description: 响应数据
        timestamp:
          anyOf:
            - type: integer
            - type: 'null'
          title: Timestamp
          description: 响应时间戳（可选）
      type: object
      title: SuccessResponse[EcosystemProviderResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EcosystemProviderResponse:
      properties:
        id:
          type: string
          title: Id
        tenant_id:
          type: string
          title: Tenant Id
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        provider_type:
          $ref: '#/components/schemas/EcosystemServiceType'
        provider_type_label:
          type: string
          title: Provider Type Label
        source_name:
          type: string
          title: Source Name
        joined_at:
          type: string
          format: date
          title: Joined At
        contact_person:
          type: string
          title: Contact Person
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        office_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Office Address
        founded_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Founded Date
        credit_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Credit Code
        business_scope:
          anyOf:
            - type: string
            - type: 'null'
          title: Business Scope
        legal_representative:
          anyOf:
            - type: string
            - type: 'null'
          title: Legal Representative
        registered_capital:
          anyOf:
            - type: string
            - type: 'null'
          title: Registered Capital
        industry_region:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry Region
        listing_status:
          $ref: '#/components/schemas/EcosystemProviderListingStatus'
        documents:
          items:
            $ref: '#/components/schemas/EcosystemProviderDocumentResponse'
          type: array
          title: Documents
        members:
          items:
            $ref: '#/components/schemas/EcosystemProviderMember'
          type: array
          title: Members
        services:
          items:
            $ref: '#/components/schemas/EcosystemProviderOffering'
          type: array
          title: Services
        reviews:
          items:
            $ref: '#/components/schemas/EcosystemProviderReview'
          type: array
          title: Reviews
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - tenant_id
        - code
        - name
        - provider_type
        - provider_type_label
        - source_name
        - joined_at
        - contact_person
        - listing_status
        - created_at
        - updated_at
      title: EcosystemProviderResponse
    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
    EcosystemServiceType:
      type: string
      enum:
        - legal
        - finance_tax
        - policy
        - intellectual
        - order_match
        - fa_consultant
        - brand_pr
        - talent
        - data
        - cloud
      title: EcosystemServiceType
      description: 生态服务类型枚举。
    EcosystemProviderListingStatus:
      type: string
      enum:
        - listed
        - unlisted
      title: EcosystemProviderListingStatus
      description: 服务商上架状态。
    EcosystemProviderDocumentResponse:
      properties:
        category:
          type: string
          enum:
            - honor
            - qualification
          title: Category
          description: 文档分类
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
          description: 展示名称
        issuer:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Issuer
          description: 发证/来源单位
        number:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Number
          description: 文档编号
        uploaded_at:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Uploaded At
          description: 登记日期
        id:
          type: string
          title: Id
        file_name:
          anyOf:
            - type: string
            - type: 'null'
          title: File Name
        content_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Type
        size_bytes:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Size Bytes
        download_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Download Url
      type: object
      required:
        - category
        - name
        - id
      title: EcosystemProviderDocumentResponse
    EcosystemProviderMember:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        name:
          type: string
          maxLength: 100
          minLength: 1
          title: Name
        description:
          type: string
          maxLength: 1000
          minLength: 1
          title: Description
      type: object
      required:
        - name
        - description
      title: EcosystemProviderMember
    EcosystemProviderOffering:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        category:
          type: string
          maxLength: 50
          minLength: 1
          title: Category
        name:
          type: string
          maxLength: 100
          minLength: 1
          title: Name
        price_type:
          type: string
          enum:
            - fixed
            - range
          title: Price Type
        price_min:
          type: integer
          minimum: 0
          title: Price Min
          description: 价格下限（分）
        price_max:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Price Max
          description: 区间价上限（分）
        description:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
          title: Description
      type: object
      required:
        - category
        - name
        - price_type
        - price_min
      title: EcosystemProviderOffering
    EcosystemProviderReview:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        nickname:
          type: string
          maxLength: 100
          minLength: 1
          title: Nickname
        service_category:
          type: string
          maxLength: 50
          minLength: 1
          title: Service Category
        rating:
          type: string
          enum:
            - excellent
            - good
            - poor
          title: Rating
        reviewed_at:
          type: string
          format: date-time
          title: Reviewed At
      type: object
      required:
        - nickname
        - service_category
        - rating
        - reviewed_at
      title: EcosystemProviderReview
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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