Productiv · Capability

Productiv Developer API — Audit Events

Productiv Developer API — Audit Events. 1 operations. Lead operation: Productiv Get Audit Events. Self-contained Naftiko capability covering one Productiv business surface.

Run with Naftiko ProductivAudit Events

What You Can Do

GET
Getauditevents — Productiv Get Audit Events
/v1/services/export/v1/customer/audit-events

MCP Tools

productiv-get-audit-events

Productiv Get Audit Events

read-only idempotent

Capability Spec

developer-audit-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Productiv Developer API — Audit Events
  description: 'Productiv Developer API — Audit Events. 1 operations. Lead operation: Productiv Get Audit Events. Self-contained
    Naftiko capability covering one Productiv business surface.'
  tags:
  - Productiv
  - Audit Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PRODUCTIV_API_KEY: PRODUCTIV_API_KEY
capability:
  consumes:
  - type: http
    namespace: developer-audit-events
    baseUri: https://public-api.productiv.com
    description: Productiv Developer API — Audit Events business capability. Self-contained, no shared references.
    resources:
    - name: services-export-v1-customer-audit-events
      path: /services/export/v1/customer/audit-events
      operations:
      - name: getauditevents
        method: GET
        description: Productiv Get Audit Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: startTime
          in: query
          type: string
          description: Start time for the query range.
        - name: endTime
          in: query
          type: string
          description: End time for the query range.
        - name: nextPageToken
          in: query
          type: string
          description: Token for fetching the next page of results, obtained from a previous response.
    authentication:
      type: bearer
      token: '{{env.PRODUCTIV_API_KEY}}'
  exposes:
  - type: rest
    namespace: developer-audit-events-rest
    port: 8080
    description: REST adapter for Productiv Developer API — Audit Events. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/services/export/v1/customer/audit-events
      name: services-export-v1-customer-audit-events
      description: REST surface for services-export-v1-customer-audit-events.
      operations:
      - method: GET
        name: getauditevents
        description: Productiv Get Audit Events
        call: developer-audit-events.getauditevents
        with:
          startTime: rest.startTime
          endTime: rest.endTime
          nextPageToken: rest.nextPageToken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: developer-audit-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for Productiv Developer API — Audit Events. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: productiv-get-audit-events
      description: Productiv Get Audit Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: developer-audit-events.getauditevents
      with:
        startTime: tools.startTime
        endTime: tools.endTime
        nextPageToken: tools.nextPageToken
      outputParameters:
      - type: object
        mapping: $.