Windsurf · Capability

Windsurf Enterprise API — teams

Windsurf Enterprise API — teams. 1 operations. Lead operation: Get User Page Analytics. Self-contained Naftiko capability covering one Windsurfrules business surface.

Run with Naftiko Windsurfrulesteams

What You Can Do

POST
Getuserpageanalytics — Get User Page Analytics
/v1/userpageanalytics

MCP Tools

get-user-page-analytics

Get User Page Analytics

read-only

Capability Spec

windsurf-enterprise-teams.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Windsurf Enterprise API — teams
  description: 'Windsurf Enterprise API — teams. 1 operations. Lead operation: Get User Page Analytics. Self-contained Naftiko
    capability covering one Windsurfrules business surface.'
  tags:
  - Windsurfrules
  - teams
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WINDSURFRULES_API_KEY: WINDSURFRULES_API_KEY
capability:
  consumes:
  - type: http
    namespace: windsurf-enterprise-teams
    baseUri: https://server.codeium.com/api/v1
    description: Windsurf Enterprise API — teams business capability. Self-contained, no shared references.
    resources:
    - name: UserPageAnalytics
      path: /UserPageAnalytics
      operations:
      - name: getuserpageanalytics
        method: POST
        description: Get User Page Analytics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: windsurf-enterprise-teams-rest
    port: 8080
    description: REST adapter for Windsurf Enterprise API — teams. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/userpageanalytics
      name: userpageanalytics
      description: REST surface for UserPageAnalytics.
      operations:
      - method: POST
        name: getuserpageanalytics
        description: Get User Page Analytics
        call: windsurf-enterprise-teams.getuserpageanalytics
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: windsurf-enterprise-teams-mcp
    port: 9090
    transport: http
    description: MCP adapter for Windsurf Enterprise API — teams. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-user-page-analytics
      description: Get User Page Analytics
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: windsurf-enterprise-teams.getuserpageanalytics
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.