Telnyx · Capability

Telnyx API — WDR Detail Reports

Telnyx API — WDR Detail Reports. 1 operations. Lead operation: Fetches all Wdr records. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxWDR Detail Reports

What You Can Do

GET
Getpaginatedwdrs — Fetches all Wdr records
/v1/reports/wdrs

MCP Tools

fetches-all-wdr-records

Fetches all Wdr records

read-only idempotent

Capability Spec

telnyx-wdr-detail-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — WDR Detail Reports
  description: 'Telnyx API — WDR Detail Reports. 1 operations. Lead operation: Fetches all Wdr records. Self-contained Naftiko
    capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - WDR Detail Reports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-wdr-detail-reports
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — WDR Detail Reports business capability. Self-contained, no shared references.
    resources:
    - name: reports-wdrs
      path: /reports/wdrs
      operations:
      - name: getpaginatedwdrs
        method: GET
        description: Fetches all Wdr records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_date
          in: query
          type: string
          description: Start date
        - name: end_date
          in: query
          type: string
          description: End date
        - name: id
          in: query
          type: string
        - name: mcc
          in: query
          type: string
        - name: mnc
          in: query
          type: string
        - name: imsi
          in: query
          type: string
        - name: sim_group_name
          in: query
          type: string
        - name: sim_group_id
          in: query
          type: string
        - name: sim_card_id
          in: query
          type: string
        - name: phone_number
          in: query
          type: string
        - name: sort
          in: query
          type: array
        - name: page
          in: query
          type: object
          description: 'Consolidated page parameter (deepObject style). Originally: page[number], page[size]'
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-wdr-detail-reports-rest
    port: 8080
    description: REST adapter for Telnyx API — WDR Detail Reports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reports/wdrs
      name: reports-wdrs
      description: REST surface for reports-wdrs.
      operations:
      - method: GET
        name: getpaginatedwdrs
        description: Fetches all Wdr records
        call: telnyx-wdr-detail-reports.getpaginatedwdrs
        with:
          start_date: rest.start_date
          end_date: rest.end_date
          id: rest.id
          mcc: rest.mcc
          mnc: rest.mnc
          imsi: rest.imsi
          sim_group_name: rest.sim_group_name
          sim_group_id: rest.sim_group_id
          sim_card_id: rest.sim_card_id
          phone_number: rest.phone_number
          sort: rest.sort
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-wdr-detail-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — WDR Detail Reports. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: fetches-all-wdr-records
      description: Fetches all Wdr records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-wdr-detail-reports.getpaginatedwdrs
      with:
        start_date: tools.start_date
        end_date: tools.end_date
        id: tools.id
        mcc: tools.mcc
        mnc: tools.mnc
        imsi: tools.imsi
        sim_group_name: tools.sim_group_name
        sim_group_id: tools.sim_group_id
        sim_card_id: tools.sim_card_id
        phone_number: tools.phone_number
        sort: tools.sort
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.