Telnyx · Capability

Telnyx API — MDR Detailed Reports

Telnyx API — MDR Detailed Reports. 4 operations. Lead operation: Get all MDR detailed report requests. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxMDR Detailed Reports

What You Can Do

GET
Getmdrrequests — Get all MDR detailed report requests
/v1/legacy/reporting/batch-detail-records/messaging
POST
Submitmdrrequest — Create a new MDR detailed report request
/v1/legacy/reporting/batch-detail-records/messaging
DELETE
Deletemdrrequest — Delete a MDR detailed report request
/v1/legacy/reporting/batch-detail-records/messaging/{id}
GET
Getmdrrequest — Get a specific MDR detailed report request
/v1/legacy/reporting/batch-detail-records/messaging/{id}

MCP Tools

get-all-mdr-detailed-report

Get all MDR detailed report requests

read-only idempotent
create-new-mdr-detailed-report

Create a new MDR detailed report request

delete-mdr-detailed-report-request

Delete a MDR detailed report request

idempotent
get-specific-mdr-detailed-report

Get a specific MDR detailed report request

read-only idempotent

Capability Spec

telnyx-mdr-detailed-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — MDR Detailed Reports
  description: 'Telnyx API — MDR Detailed Reports. 4 operations. Lead operation: Get all MDR detailed report requests. Self-contained
    Naftiko capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - MDR Detailed 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-mdr-detailed-reports
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — MDR Detailed Reports business capability. Self-contained, no shared references.
    resources:
    - name: legacy-reporting-batch_detail_records-messaging
      path: /legacy/reporting/batch_detail_records/messaging
      operations:
      - name: getmdrrequests
        method: GET
        description: Get all MDR detailed report requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: submitmdrrequest
        method: POST
        description: Create a new MDR detailed report request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: legacy-reporting-batch_detail_records-messaging-id
      path: /legacy/reporting/batch_detail_records/messaging/{id}
      operations:
      - name: deletemdrrequest
        method: DELETE
        description: Delete a MDR detailed report request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
      - name: getmdrrequest
        method: GET
        description: Get a specific MDR detailed report request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-mdr-detailed-reports-rest
    port: 8080
    description: REST adapter for Telnyx API — MDR Detailed Reports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/legacy/reporting/batch-detail-records/messaging
      name: legacy-reporting-batch-detail-records-messaging
      description: REST surface for legacy-reporting-batch_detail_records-messaging.
      operations:
      - method: GET
        name: getmdrrequests
        description: Get all MDR detailed report requests
        call: telnyx-mdr-detailed-reports.getmdrrequests
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: submitmdrrequest
        description: Create a new MDR detailed report request
        call: telnyx-mdr-detailed-reports.submitmdrrequest
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/legacy/reporting/batch-detail-records/messaging/{id}
      name: legacy-reporting-batch-detail-records-messaging-id
      description: REST surface for legacy-reporting-batch_detail_records-messaging-id.
      operations:
      - method: DELETE
        name: deletemdrrequest
        description: Delete a MDR detailed report request
        call: telnyx-mdr-detailed-reports.deletemdrrequest
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmdrrequest
        description: Get a specific MDR detailed report request
        call: telnyx-mdr-detailed-reports.getmdrrequest
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-mdr-detailed-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — MDR Detailed Reports. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-all-mdr-detailed-report
      description: Get all MDR detailed report requests
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-mdr-detailed-reports.getmdrrequests
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-mdr-detailed-report
      description: Create a new MDR detailed report request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-mdr-detailed-reports.submitmdrrequest
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-mdr-detailed-report-request
      description: Delete a MDR detailed report request
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: telnyx-mdr-detailed-reports.deletemdrrequest
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-mdr-detailed-report
      description: Get a specific MDR detailed report request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-mdr-detailed-reports.getmdrrequest
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.