naftiko: 1.0.0-alpha2 info: label: Telnyx API — Data Migration description: 'Telnyx API — Data Migration. 9 operations. Lead operation: List Migration Source coverage. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Data Migration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-data-migration baseUri: https://api.telnyx.com/v2 description: Telnyx API — Data Migration business capability. Self-contained, no shared references. resources: - name: storage-migration_source_coverage path: /storage/migration_source_coverage operations: - name: listmigrationsourcecoverage method: GET description: List Migration Source coverage outputRawFormat: json outputParameters: - name: result type: object value: $. - name: storage-migration_sources path: /storage/migration_sources operations: - name: listmigrationsources method: GET description: List all Migration Sources outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createmigrationsource method: POST description: Create a Migration Source outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: storage-migration_sources-id path: /storage/migration_sources/{id} operations: - name: deletemigrationsource method: DELETE description: Delete a Migration Source outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier for the data migration source. required: true - name: getmigrationsource method: GET description: Get a Migration Source outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier for the data migration source. required: true - name: storage-migrations path: /storage/migrations operations: - name: listmigrations method: GET description: List all Migrations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createmigration method: POST description: Create a Migration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: storage-migrations-id path: /storage/migrations/{id} operations: - name: getmigration method: GET description: Get a Migration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier for the data migration. required: true - name: storage-migrations-id-actions-stop path: /storage/migrations/{id}/actions/stop operations: - name: stopmigration method: POST description: Stop a Migration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier for the data migration. required: true authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-data-migration-rest port: 8080 description: REST adapter for Telnyx API — Data Migration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/storage/migration-source-coverage name: storage-migration-source-coverage description: REST surface for storage-migration_source_coverage. operations: - method: GET name: listmigrationsourcecoverage description: List Migration Source coverage call: telnyx-data-migration.listmigrationsourcecoverage outputParameters: - type: object mapping: $. - path: /v1/storage/migration-sources name: storage-migration-sources description: REST surface for storage-migration_sources. operations: - method: GET name: listmigrationsources description: List all Migration Sources call: telnyx-data-migration.listmigrationsources outputParameters: - type: object mapping: $. - method: POST name: createmigrationsource description: Create a Migration Source call: telnyx-data-migration.createmigrationsource with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/storage/migration-sources/{id} name: storage-migration-sources-id description: REST surface for storage-migration_sources-id. operations: - method: DELETE name: deletemigrationsource description: Delete a Migration Source call: telnyx-data-migration.deletemigrationsource with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getmigrationsource description: Get a Migration Source call: telnyx-data-migration.getmigrationsource with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/storage/migrations name: storage-migrations description: REST surface for storage-migrations. operations: - method: GET name: listmigrations description: List all Migrations call: telnyx-data-migration.listmigrations outputParameters: - type: object mapping: $. - method: POST name: createmigration description: Create a Migration call: telnyx-data-migration.createmigration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/storage/migrations/{id} name: storage-migrations-id description: REST surface for storage-migrations-id. operations: - method: GET name: getmigration description: Get a Migration call: telnyx-data-migration.getmigration with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/storage/migrations/{id}/actions/stop name: storage-migrations-id-actions-stop description: REST surface for storage-migrations-id-actions-stop. operations: - method: POST name: stopmigration description: Stop a Migration call: telnyx-data-migration.stopmigration with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-data-migration-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Data Migration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-migration-source-coverage description: List Migration Source coverage hints: readOnly: true destructive: false idempotent: true call: telnyx-data-migration.listmigrationsourcecoverage outputParameters: - type: object mapping: $. - name: list-all-migration-sources description: List all Migration Sources hints: readOnly: true destructive: false idempotent: true call: telnyx-data-migration.listmigrationsources outputParameters: - type: object mapping: $. - name: create-migration-source description: Create a Migration Source hints: readOnly: false destructive: false idempotent: false call: telnyx-data-migration.createmigrationsource with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-migration-source description: Delete a Migration Source hints: readOnly: false destructive: true idempotent: true call: telnyx-data-migration.deletemigrationsource with: id: tools.id outputParameters: - type: object mapping: $. - name: get-migration-source description: Get a Migration Source hints: readOnly: true destructive: false idempotent: true call: telnyx-data-migration.getmigrationsource with: id: tools.id outputParameters: - type: object mapping: $. - name: list-all-migrations description: List all Migrations hints: readOnly: true destructive: false idempotent: true call: telnyx-data-migration.listmigrations outputParameters: - type: object mapping: $. - name: create-migration description: Create a Migration hints: readOnly: false destructive: false idempotent: false call: telnyx-data-migration.createmigration with: body: tools.body outputParameters: - type: object mapping: $. - name: get-migration description: Get a Migration hints: readOnly: true destructive: false idempotent: true call: telnyx-data-migration.getmigration with: id: tools.id outputParameters: - type: object mapping: $. - name: stop-migration description: Stop a Migration hints: readOnly: false destructive: false idempotent: false call: telnyx-data-migration.stopmigration with: id: tools.id outputParameters: - type: object mapping: $.