naftiko: 1.0.0-alpha2 info: label: airbyte-api — public_permissions description: 'airbyte-api — public_permissions. 5 operations. Lead operation: Airbyte List Permissions by User Id. Self-contained Naftiko capability covering one Airbyte business surface.' tags: - Airbyte - public_permissions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AIRBYTE_API_KEY: AIRBYTE_API_KEY capability: consumes: - type: http namespace: airbyte-public-permissions baseUri: https://api.airbyte.com/v1 description: airbyte-api — public_permissions business capability. Self-contained, no shared references. resources: - name: permissions path: /permissions operations: - name: listpermissions method: GET description: Airbyte List Permissions by User Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: query type: string description: User Id in permission. - name: organizationId in: query type: string description: This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. - name: createpermission method: POST description: Airbyte Create a Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: permissions-permissionId path: /permissions/{permissionId} operations: - name: getpermission method: GET description: Airbyte Get Permission Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatepermission method: PATCH description: Airbyte Update a Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletepermission method: DELETE description: Airbyte Delete a Permission outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: airbyte-public-permissions-rest port: 8080 description: REST adapter for airbyte-api — public_permissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/permissions name: permissions description: REST surface for permissions. operations: - method: GET name: listpermissions description: Airbyte List Permissions by User Id call: airbyte-public-permissions.listpermissions with: userId: rest.userId organizationId: rest.organizationId outputParameters: - type: object mapping: $. - method: POST name: createpermission description: Airbyte Create a Permission call: airbyte-public-permissions.createpermission with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/permissions/{permissionid} name: permissions-permissionid description: REST surface for permissions-permissionId. operations: - method: GET name: getpermission description: Airbyte Get Permission Details call: airbyte-public-permissions.getpermission outputParameters: - type: object mapping: $. - method: PATCH name: updatepermission description: Airbyte Update a Permission call: airbyte-public-permissions.updatepermission with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepermission description: Airbyte Delete a Permission call: airbyte-public-permissions.deletepermission outputParameters: - type: object mapping: $. - type: mcp namespace: airbyte-public-permissions-mcp port: 9090 transport: http description: MCP adapter for airbyte-api — public_permissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: airbyte-list-permissions-user-id description: Airbyte List Permissions by User Id hints: readOnly: true destructive: false idempotent: true call: airbyte-public-permissions.listpermissions with: userId: tools.userId organizationId: tools.organizationId outputParameters: - type: object mapping: $. - name: airbyte-create-permission description: Airbyte Create a Permission hints: readOnly: false destructive: false idempotent: false call: airbyte-public-permissions.createpermission with: body: tools.body outputParameters: - type: object mapping: $. - name: airbyte-get-permission-details description: Airbyte Get Permission Details hints: readOnly: true destructive: false idempotent: true call: airbyte-public-permissions.getpermission outputParameters: - type: object mapping: $. - name: airbyte-update-permission description: Airbyte Update a Permission hints: readOnly: false destructive: false idempotent: true call: airbyte-public-permissions.updatepermission with: body: tools.body outputParameters: - type: object mapping: $. - name: airbyte-delete-permission description: Airbyte Delete a Permission hints: readOnly: false destructive: true idempotent: true call: airbyte-public-permissions.deletepermission outputParameters: - type: object mapping: $.