Kong · Capability

Konnect API - Go SDK — Portal Audit Logs

Konnect API - Go SDK — Portal Audit Logs. 6 operations. Lead operation: Update Portal Audit Log Replay Job. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongPortal Audit Logs

What You Can Do

PUT
Updateportalauditlogreplayjob — Update Portal Audit Log Replay Job
/v1/v3/portals/{portalid}/audit-log-replay-job
GET
Getportalauditlogreplayjob — Get Portal Audit Log Replay Job
/v1/v3/portals/{portalid}/audit-log-replay-job
PATCH
Updateportalauditlogwebhook — Update Portal Audit Log Webhook
/v1/v3/portals/{portalid}/audit-log-webhook
GET
Getportalauditlogwebhook — Get Portal Audit Log Webhook
/v1/v3/portals/{portalid}/audit-log-webhook
DELETE
Deleteportalauditlogwebhook — Delete Portal Audit Log Webhook
/v1/v3/portals/{portalid}/audit-log-webhook
GET
Getportalauditlogwebhookstatus — Get Portal Audit Log Webhook Status
/v1/v3/portals/{portalid}/audit-log-webhook/status

MCP Tools

update-portal-audit-log-replay

Update Portal Audit Log Replay Job

idempotent
get-portal-audit-log-replay

Get Portal Audit Log Replay Job

read-only idempotent
update-portal-audit-log-webhook

Update Portal Audit Log Webhook

idempotent
get-portal-audit-log-webhook

Get Portal Audit Log Webhook

read-only idempotent
delete-portal-audit-log-webhook

Delete Portal Audit Log Webhook

idempotent
get-portal-audit-log-webhook-2

Get Portal Audit Log Webhook Status

read-only idempotent

Capability Spec

konnect-platform-portal-audit-logs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Portal Audit Logs
  description: 'Konnect API - Go SDK — Portal Audit Logs. 6 operations. Lead operation: Update Portal Audit Log Replay Job.
    Self-contained Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - Portal Audit Logs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: konnect-platform-portal-audit-logs
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Portal Audit Logs business capability. Self-contained, no shared references.
    resources:
    - name: v3-portals-portalId-audit-log-replay-job
      path: /v3/portals/{portalId}/audit-log-replay-job
      operations:
      - name: updateportalauditlogreplayjob
        method: PUT
        description: Update Portal Audit Log Replay Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: getportalauditlogreplayjob
        method: GET
        description: Get Portal Audit Log Replay Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v3-portals-portalId-audit-log-webhook
      path: /v3/portals/{portalId}/audit-log-webhook
      operations:
      - name: updateportalauditlogwebhook
        method: PATCH
        description: Update Portal Audit Log Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: getportalauditlogwebhook
        method: GET
        description: Get Portal Audit Log Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteportalauditlogwebhook
        method: DELETE
        description: Delete Portal Audit Log Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v3-portals-portalId-audit-log-webhook-status
      path: /v3/portals/{portalId}/audit-log-webhook/status
      operations:
      - name: getportalauditlogwebhookstatus
        method: GET
        description: Get Portal Audit Log Webhook Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-portal-audit-logs-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Portal Audit Logs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/portals/{portalid}/audit-log-replay-job
      name: v3-portals-portalid-audit-log-replay-job
      description: REST surface for v3-portals-portalId-audit-log-replay-job.
      operations:
      - method: PUT
        name: updateportalauditlogreplayjob
        description: Update Portal Audit Log Replay Job
        call: konnect-platform-portal-audit-logs.updateportalauditlogreplayjob
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getportalauditlogreplayjob
        description: Get Portal Audit Log Replay Job
        call: konnect-platform-portal-audit-logs.getportalauditlogreplayjob
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/portals/{portalid}/audit-log-webhook
      name: v3-portals-portalid-audit-log-webhook
      description: REST surface for v3-portals-portalId-audit-log-webhook.
      operations:
      - method: PATCH
        name: updateportalauditlogwebhook
        description: Update Portal Audit Log Webhook
        call: konnect-platform-portal-audit-logs.updateportalauditlogwebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getportalauditlogwebhook
        description: Get Portal Audit Log Webhook
        call: konnect-platform-portal-audit-logs.getportalauditlogwebhook
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteportalauditlogwebhook
        description: Delete Portal Audit Log Webhook
        call: konnect-platform-portal-audit-logs.deleteportalauditlogwebhook
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/portals/{portalid}/audit-log-webhook/status
      name: v3-portals-portalid-audit-log-webhook-status
      description: REST surface for v3-portals-portalId-audit-log-webhook-status.
      operations:
      - method: GET
        name: getportalauditlogwebhookstatus
        description: Get Portal Audit Log Webhook Status
        call: konnect-platform-portal-audit-logs.getportalauditlogwebhookstatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-portal-audit-logs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Portal Audit Logs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: update-portal-audit-log-replay
      description: Update Portal Audit Log Replay Job
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-portal-audit-logs.updateportalauditlogreplayjob
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-portal-audit-log-replay
      description: Get Portal Audit Log Replay Job
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portal-audit-logs.getportalauditlogreplayjob
      outputParameters:
      - type: object
        mapping: $.
    - name: update-portal-audit-log-webhook
      description: Update Portal Audit Log Webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-portal-audit-logs.updateportalauditlogwebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-portal-audit-log-webhook
      description: Get Portal Audit Log Webhook
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portal-audit-logs.getportalauditlogwebhook
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-portal-audit-log-webhook
      description: Delete Portal Audit Log Webhook
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-portal-audit-logs.deleteportalauditlogwebhook
      outputParameters:
      - type: object
        mapping: $.
    - name: get-portal-audit-log-webhook-2
      description: Get Portal Audit Log Webhook Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portal-audit-logs.getportalauditlogwebhookstatus
      outputParameters:
      - type: object
        mapping: $.