Twilio · Capability

Twilio - Wireless — UsageRecords

Twilio - Wireless — UsageRecords. 1 operations. Lead operation: UsageRecords. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioUsageRecords

What You Can Do

GET
Listaccountusagerecord — listaccountusagerecord
/v1/v1/usagerecords

MCP Tools

listaccountusagerecord

listaccountusagerecord

read-only idempotent

Capability Spec

wireless-usagerecords.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Wireless — UsageRecords
  description: 'Twilio - Wireless — UsageRecords. 1 operations. Lead operation: UsageRecords. Self-contained Naftiko capability
    covering one Twilio business surface.'
  tags:
  - Twilio
  - UsageRecords
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: wireless-usagerecords
    baseUri: https://wireless.twilio.com
    description: Twilio - Wireless — UsageRecords business capability. Self-contained, no shared references.
    resources:
    - name: v1-UsageRecords
      path: /v1/UsageRecords
      operations:
      - name: listaccountusagerecord
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: End
          in: query
          type: string
          description: Only include usage that has occurred on or before this date. Format is [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).
        - name: Start
          in: query
          type: string
          description: Only include usage that has occurred on or after this date. Format is [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).
        - name: Granularity
          in: query
          type: string
          description: 'How to summarize the usage by time. Can be: `daily`, `hourly`, or `all`. A value of `all` returns
            one Usage Record that describes the usage for the entire perio'
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: wireless-usagerecords-rest
    port: 8080
    description: REST adapter for Twilio - Wireless — UsageRecords. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/usagerecords
      name: v1-usagerecords
      description: REST surface for v1-UsageRecords.
      operations:
      - method: GET
        name: listaccountusagerecord
        description: listaccountusagerecord
        call: wireless-usagerecords.listaccountusagerecord
        with:
          End: rest.End
          Start: rest.Start
          Granularity: rest.Granularity
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: wireless-usagerecords-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Wireless — UsageRecords. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: listaccountusagerecord
      description: listaccountusagerecord
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wireless-usagerecords.listaccountusagerecord
      with:
        End: tools.End
        Start: tools.Start
        Granularity: tools.Granularity
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.