Atlassian · Capability

Atlassian Confluence Audit API — Audit

Atlassian Confluence Audit API — Audit. 2 operations. Lead operation: Atlassian Export Audit Records. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianAudit

What You Can Do

GET
Exportauditrecords — Atlassian Export Audit Records
/v1/wiki/rest/api/audit/export
GET
Getauditrecordsfortimeperiod — Atlassian Get Audit Records for Time Period
/v1/wiki/rest/api/audit/since

MCP Tools

atlassian-export-audit-records

Atlassian Export Audit Records

read-only idempotent
atlassian-get-audit-records-time

Atlassian Get Audit Records for Time Period

read-only idempotent

Capability Spec

confluence-audit-audit.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Audit API — Audit
  description: 'Atlassian Confluence Audit API — Audit. 2 operations. Lead operation: Atlassian Export Audit Records. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Audit
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-audit-audit
    baseUri: ''
    description: Atlassian Confluence Audit API — Audit business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-audit-export
      path: /wiki/rest/api/audit/export
      operations:
      - name: exportauditrecords
        method: GET
        description: Atlassian Export Audit Records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: startDate
          in: query
          type: string
          description: Filters the exported results to the records on or after the `startDate`.
        - name: endDate
          in: query
          type: string
          description: Filters the exported results to the records on or before the `endDate`.
        - name: searchString
          in: query
          type: string
          description: Filters the exported results to records that have string property values
        - name: format
          in: query
          type: string
          description: The format of the export file for the audit records.
    - name: wiki-rest-api-audit-since
      path: /wiki/rest/api/audit/since
      operations:
      - name: getauditrecordsfortimeperiod
        method: GET
        description: Atlassian Get Audit Records for Time Period
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: number
          in: query
          type: integer
          description: The number of units for the time period.
        - name: units
          in: query
          type: string
          description: The unit of time that the time period is measured in.
        - name: searchString
          in: query
          type: string
          description: Filters the results to records that have string property values
        - name: start
          in: query
          type: integer
          description: The starting index of the returned records.
        - name: limit
          in: query
          type: integer
          description: The maximum number of records to return per page.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-audit-audit-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Audit API — Audit. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/audit/export
      name: wiki-rest-api-audit-export
      description: REST surface for wiki-rest-api-audit-export.
      operations:
      - method: GET
        name: exportauditrecords
        description: Atlassian Export Audit Records
        call: confluence-audit-audit.exportauditrecords
        with:
          startDate: rest.startDate
          endDate: rest.endDate
          searchString: rest.searchString
          format: rest.format
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/audit/since
      name: wiki-rest-api-audit-since
      description: REST surface for wiki-rest-api-audit-since.
      operations:
      - method: GET
        name: getauditrecordsfortimeperiod
        description: Atlassian Get Audit Records for Time Period
        call: confluence-audit-audit.getauditrecordsfortimeperiod
        with:
          number: rest.number
          units: rest.units
          searchString: rest.searchString
          start: rest.start
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-audit-audit-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Audit API — Audit. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-export-audit-records
      description: Atlassian Export Audit Records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-audit-audit.exportauditrecords
      with:
        startDate: tools.startDate
        endDate: tools.endDate
        searchString: tools.searchString
        format: tools.format
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-audit-records-time
      description: Atlassian Get Audit Records for Time Period
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-audit-audit.getauditrecordsfortimeperiod
      with:
        number: tools.number
        units: tools.units
        searchString: tools.searchString
        start: tools.start
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.