Atlassian · Capability

Atlassian Confluence Analytics API — Get

Atlassian Confluence Analytics API — Get. 2 operations. Lead operation: Atlassian Get Viewers. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianGet

What You Can Do

GET
Getviewers — Atlassian Get Viewers
/v1/wiki/rest/api/analytics/content/{contentid}/viewers
GET
Getviews — Atlassian Get Views
/v1/wiki/rest/api/analytics/content/{contentid}/views

MCP Tools

atlassian-get-viewers

Atlassian Get Viewers

read-only idempotent
atlassian-get-views

Atlassian Get Views

read-only idempotent

Capability Spec

confluence-analytics-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Analytics API — Get
  description: 'Atlassian Confluence Analytics API — Get. 2 operations. Lead operation: Atlassian Get Viewers. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Get
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-analytics-get
    baseUri: ''
    description: Atlassian Confluence Analytics API — Get business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-analytics-content-contentId-viewers
      path: /wiki/rest/api/analytics/content/{contentId}/viewers
      operations:
      - name: getviewers
        method: GET
        description: Atlassian Get Viewers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contentId
          in: path
          type: string
          description: The ID of the content to get the viewers for.
          required: true
        - name: fromDate
          in: query
          type: string
          description: The number of views for the content since the date.
    - name: wiki-rest-api-analytics-content-contentId-views
      path: /wiki/rest/api/analytics/content/{contentId}/views
      operations:
      - name: getviews
        method: GET
        description: Atlassian Get Views
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contentId
          in: path
          type: string
          description: The ID of the content to get the views for.
          required: true
        - name: fromDate
          in: query
          type: string
          description: The number of views for the content since the date.
  exposes:
  - type: rest
    namespace: confluence-analytics-get-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Analytics API — Get. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/analytics/content/{contentid}/viewers
      name: wiki-rest-api-analytics-content-contentid-viewers
      description: REST surface for wiki-rest-api-analytics-content-contentId-viewers.
      operations:
      - method: GET
        name: getviewers
        description: Atlassian Get Viewers
        call: confluence-analytics-get.getviewers
        with:
          contentId: rest.contentId
          fromDate: rest.fromDate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/analytics/content/{contentid}/views
      name: wiki-rest-api-analytics-content-contentid-views
      description: REST surface for wiki-rest-api-analytics-content-contentId-views.
      operations:
      - method: GET
        name: getviews
        description: Atlassian Get Views
        call: confluence-analytics-get.getviews
        with:
          contentId: rest.contentId
          fromDate: rest.fromDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-analytics-get-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Analytics API — Get. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-viewers
      description: Atlassian Get Viewers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-analytics-get.getviewers
      with:
        contentId: tools.contentId
        fromDate: tools.fromDate
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-views
      description: Atlassian Get Views
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-analytics-get.getviews
      with:
        contentId: tools.contentId
        fromDate: tools.fromDate
      outputParameters:
      - type: object
        mapping: $.