Postmark · Capability

Postmark API — Statistics

Postmark API — Statistics. 13 operations. Lead operation: Postmark Get outbound overview. Self-contained Naftiko capability covering one Postmark business surface.

Run with Naftiko PostmarkStatistics

What You Can Do

GET
Get — Postmark Get outbound overview
/v1/stats/outbound
GET
Get — Postmark Get bounce counts
/v1/stats/outbound/bounces
GET
Get — Postmark Get click counts
/v1/stats/outbound/clicks
GET
Get — Postmark Get browser usage by family
/v1/stats/outbound/clicks/browserfamilies
GET
Get — Postmark Get clicks by body location
/v1/stats/outbound/clicks/location
GET
Get — Postmark Get browser plaform usage
/v1/stats/outbound/clicks/platforms
GET
Get — Postmark Get email open counts
/v1/stats/outbound/opens
GET
Get — Postmark Get email client usage
/v1/stats/outbound/opens/emailclients
GET
Get — Postmark Get email platform usage
/v1/stats/outbound/opens/platforms
GET
Get — Postmark Get email read times
/v1/stats/outbound/opens/readtimes
GET
Get — Postmark Get sent counts
/v1/stats/outbound/sends
GET
Get — Postmark Get spam complaints
/v1/stats/outbound/spam
GET
Get — Postmark Get tracked email counts
/v1/stats/outbound/tracked

MCP Tools

postmark-get-outbound-overview

Postmark Get outbound overview

read-only idempotent
postmark-get-bounce-counts

Postmark Get bounce counts

read-only idempotent
postmark-get-click-counts

Postmark Get click counts

read-only idempotent
postmark-get-browser-usage-family

Postmark Get browser usage by family

read-only idempotent
postmark-get-clicks-body-location

Postmark Get clicks by body location

read-only idempotent
postmark-get-browser-plaform-usage

Postmark Get browser plaform usage

read-only idempotent
postmark-get-email-open-counts

Postmark Get email open counts

read-only idempotent
postmark-get-email-client-usage

Postmark Get email client usage

read-only idempotent
postmark-get-email-platform-usage

Postmark Get email platform usage

read-only idempotent
postmark-get-email-read-times

Postmark Get email read times

read-only idempotent
postmark-get-sent-counts

Postmark Get sent counts

read-only idempotent
postmark-get-spam-complaints

Postmark Get spam complaints

read-only idempotent
postmark-get-tracked-email-counts

Postmark Get tracked email counts

read-only idempotent

Capability Spec

postmark-statistics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postmark API — Statistics
  description: 'Postmark API — Statistics. 13 operations. Lead operation: Postmark Get outbound overview. Self-contained Naftiko
    capability covering one Postmark business surface.'
  tags:
  - Postmark
  - Statistics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMARK_API_KEY: POSTMARK_API_KEY
capability:
  consumes:
  - type: http
    namespace: postmark-statistics
    baseUri: http://{{baseurl}}
    description: Postmark API — Statistics business capability. Self-contained, no shared references.
    resources:
    - name: stats-outbound
      path: /stats/outbound
      operations:
      - name: get
        method: GET
        description: Postmark Get outbound overview
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-bounces
      path: /stats/outbound/bounces
      operations:
      - name: get
        method: GET
        description: Postmark Get bounce counts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-clicks
      path: /stats/outbound/clicks
      operations:
      - name: get
        method: GET
        description: Postmark Get click counts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-clicks-browserfamilies
      path: /stats/outbound/clicks/browserfamilies
      operations:
      - name: get
        method: GET
        description: Postmark Get browser usage by family
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-clicks-location
      path: /stats/outbound/clicks/location
      operations:
      - name: get
        method: GET
        description: Postmark Get clicks by body location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-clicks-platforms
      path: /stats/outbound/clicks/platforms
      operations:
      - name: get
        method: GET
        description: Postmark Get browser plaform usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-opens
      path: /stats/outbound/opens
      operations:
      - name: get
        method: GET
        description: Postmark Get email open counts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-opens-emailclients
      path: /stats/outbound/opens/emailclients
      operations:
      - name: get
        method: GET
        description: Postmark Get email client usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-opens-platforms
      path: /stats/outbound/opens/platforms
      operations:
      - name: get
        method: GET
        description: Postmark Get email platform usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-opens-readtimes
      path: /stats/outbound/opens/readtimes
      operations:
      - name: get
        method: GET
        description: Postmark Get email read times
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-sends
      path: /stats/outbound/sends
      operations:
      - name: get
        method: GET
        description: Postmark Get sent counts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-spam
      path: /stats/outbound/spam
      operations:
      - name: get
        method: GET
        description: Postmark Get spam complaints
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
    - name: stats-outbound-tracked
      path: /stats/outbound/tracked
      operations:
      - name: get
        method: GET
        description: Postmark Get tracked email counts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tag
          in: query
          type: string
          description: Filter by tag
        - name: fromdate
          in: query
          type: string
          description: Filter messages starting from the date specified. e.g. `2014-02-01`
        - name: todate
          in: query
          type: string
          description: Filter messages up to the date specified. e.g. `2014-02-01`
  exposes:
  - type: rest
    namespace: postmark-statistics-rest
    port: 8080
    description: REST adapter for Postmark API — Statistics. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/stats/outbound
      name: stats-outbound
      description: REST surface for stats-outbound.
      operations:
      - method: GET
        name: get
        description: Postmark Get outbound overview
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/bounces
      name: stats-outbound-bounces
      description: REST surface for stats-outbound-bounces.
      operations:
      - method: GET
        name: get
        description: Postmark Get bounce counts
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/clicks
      name: stats-outbound-clicks
      description: REST surface for stats-outbound-clicks.
      operations:
      - method: GET
        name: get
        description: Postmark Get click counts
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/clicks/browserfamilies
      name: stats-outbound-clicks-browserfamilies
      description: REST surface for stats-outbound-clicks-browserfamilies.
      operations:
      - method: GET
        name: get
        description: Postmark Get browser usage by family
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/clicks/location
      name: stats-outbound-clicks-location
      description: REST surface for stats-outbound-clicks-location.
      operations:
      - method: GET
        name: get
        description: Postmark Get clicks by body location
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/clicks/platforms
      name: stats-outbound-clicks-platforms
      description: REST surface for stats-outbound-clicks-platforms.
      operations:
      - method: GET
        name: get
        description: Postmark Get browser plaform usage
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/opens
      name: stats-outbound-opens
      description: REST surface for stats-outbound-opens.
      operations:
      - method: GET
        name: get
        description: Postmark Get email open counts
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/opens/emailclients
      name: stats-outbound-opens-emailclients
      description: REST surface for stats-outbound-opens-emailclients.
      operations:
      - method: GET
        name: get
        description: Postmark Get email client usage
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/opens/platforms
      name: stats-outbound-opens-platforms
      description: REST surface for stats-outbound-opens-platforms.
      operations:
      - method: GET
        name: get
        description: Postmark Get email platform usage
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/opens/readtimes
      name: stats-outbound-opens-readtimes
      description: REST surface for stats-outbound-opens-readtimes.
      operations:
      - method: GET
        name: get
        description: Postmark Get email read times
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/sends
      name: stats-outbound-sends
      description: REST surface for stats-outbound-sends.
      operations:
      - method: GET
        name: get
        description: Postmark Get sent counts
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/spam
      name: stats-outbound-spam
      description: REST surface for stats-outbound-spam.
      operations:
      - method: GET
        name: get
        description: Postmark Get spam complaints
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stats/outbound/tracked
      name: stats-outbound-tracked
      description: REST surface for stats-outbound-tracked.
      operations:
      - method: GET
        name: get
        description: Postmark Get tracked email counts
        call: postmark-statistics.get
        with:
          tag: rest.tag
          fromdate: rest.fromdate
          todate: rest.todate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: postmark-statistics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postmark API — Statistics. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: postmark-get-outbound-overview
      description: Postmark Get outbound overview
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-bounce-counts
      description: Postmark Get bounce counts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-click-counts
      description: Postmark Get click counts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-browser-usage-family
      description: Postmark Get browser usage by family
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-clicks-body-location
      description: Postmark Get clicks by body location
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-browser-plaform-usage
      description: Postmark Get browser plaform usage
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-email-open-counts
      description: Postmark Get email open counts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-email-client-usage
      description: Postmark Get email client usage
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-email-platform-usage
      description: Postmark Get email platform usage
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-email-read-times
      description: Postmark Get email read times
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-sent-counts
      description: Postmark Get sent counts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-spam-complaints
      description: Postmark Get spam complaints
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-get-tracked-email-counts
      description: Postmark Get tracked email counts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postmark-statistics.get
      with:
        tag: tools.tag
        fromdate: tools.fromdate
        todate: tools.todate
      outputParameters:
      - type: object
        mapping: $.