naftiko: 1.0.0-alpha2 info: label: Twilio - Media — MediaRecordings description: 'Twilio - Media — MediaRecordings. 3 operations. Lead operation: MediaRecordings. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - MediaRecordings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: media-mediarecordings baseUri: https://media.twilio.com description: Twilio - Media — MediaRecordings business capability. Self-contained, no shared references. resources: - name: v1-MediaRecordings path: /v1/MediaRecordings operations: - name: listmediarecording method: GET description: Returns a list of MediaRecordings. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Order in: query type: string description: 'The sort order of the list by `date_created`. Can be: `asc` (ascending) or `desc` (descending) with `desc` as the default.' - name: Status in: query type: string description: Status to filter by, with possible values `processing`, `completed`, `deleted`, or `failed`. - name: ProcessorSid in: query type: string description: SID of a MediaProcessor to filter by. - name: SourceSid in: query type: string description: SID of a MediaRecording source to filter by. - 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. - name: v1-MediaRecordings-Sid path: /v1/MediaRecordings/{Sid} operations: - name: deletemediarecording method: DELETE description: Deletes a MediaRecording resource identified by a SID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The SID of the MediaRecording resource to delete. required: true - name: fetchmediarecording method: GET description: Returns a single MediaRecording resource identified by a SID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The SID of the MediaRecording resource to fetch. required: true authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: media-mediarecordings-rest port: 8080 description: REST adapter for Twilio - Media — MediaRecordings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/mediarecordings name: v1-mediarecordings description: REST surface for v1-MediaRecordings. operations: - method: GET name: listmediarecording description: Returns a list of MediaRecordings. call: media-mediarecordings.listmediarecording with: Order: rest.Order Status: rest.Status ProcessorSid: rest.ProcessorSid SourceSid: rest.SourceSid PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/mediarecordings/{sid} name: v1-mediarecordings-sid description: REST surface for v1-MediaRecordings-Sid. operations: - method: DELETE name: deletemediarecording description: Deletes a MediaRecording resource identified by a SID. call: media-mediarecordings.deletemediarecording with: Sid: rest.Sid outputParameters: - type: object mapping: $. - method: GET name: fetchmediarecording description: Returns a single MediaRecording resource identified by a SID. call: media-mediarecordings.fetchmediarecording with: Sid: rest.Sid outputParameters: - type: object mapping: $. - type: mcp namespace: media-mediarecordings-mcp port: 9090 transport: http description: MCP adapter for Twilio - Media — MediaRecordings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: returns-list-mediarecordings description: Returns a list of MediaRecordings. hints: readOnly: true destructive: false idempotent: true call: media-mediarecordings.listmediarecording with: Order: tools.Order Status: tools.Status ProcessorSid: tools.ProcessorSid SourceSid: tools.SourceSid PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: deletes-mediarecording-resource-identified-sid description: Deletes a MediaRecording resource identified by a SID. hints: readOnly: false destructive: true idempotent: true call: media-mediarecordings.deletemediarecording with: Sid: tools.Sid outputParameters: - type: object mapping: $. - name: returns-single-mediarecording-resource-identified description: Returns a single MediaRecording resource identified by a SID. hints: readOnly: true destructive: false idempotent: true call: media-mediarecordings.fetchmediarecording with: Sid: tools.Sid outputParameters: - type: object mapping: $.