naftiko: 1.0.0-alpha2 info: label: Seismic User Management API — Users description: 'Seismic User Management API — Users. 7 operations. Lead operation: List Users. Self-contained Naftiko capability covering one Seismic business surface.' tags: - Seismic - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SEISMIC_API_KEY: SEISMIC_API_KEY capability: consumes: - type: http namespace: user-management-users baseUri: https://api.seismic.com/integration/v2 description: Seismic User Management API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: listusers method: GET description: List Users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string description: Search query to filter users by name or email. - name: groupId in: query type: string description: Filter users by group membership. - name: roleId in: query type: string description: Filter users by assigned role. - name: teamId in: query type: string description: Filter users by team membership. - name: status in: query type: string description: Filter users by account status. - name: sortBy in: query type: string description: Field to sort results by. - name: sortOrder in: query type: string description: Sort order direction. - name: offset in: query type: integer description: Number of items to skip for pagination. - name: limit in: query type: integer description: Maximum number of items to return. - name: createuser method: POST description: Create a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-userId path: /users/{userId} operations: - name: getuser method: GET description: Get a User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PATCH description: Update a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Delete a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: reassignTo in: query type: string description: ID of the user to reassign content to. - name: users-userId-groups path: /users/{userId}/groups operations: - name: getusergroups method: GET description: Get User Groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setusergroups method: PUT description: Set User Group Memberships outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SEISMIC_API_KEY}}' exposes: - type: rest namespace: user-management-users-rest port: 8080 description: REST adapter for Seismic User Management API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: listusers description: List Users call: user-management-users.listusers with: query: rest.query groupId: rest.groupId roleId: rest.roleId teamId: rest.teamId status: rest.status sortBy: rest.sortBy sortOrder: rest.sortOrder offset: rest.offset limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: createuser description: Create a User call: user-management-users.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{userid} name: users-userid description: REST surface for users-userId. operations: - method: GET name: getuser description: Get a User call: user-management-users.getuser outputParameters: - type: object mapping: $. - method: PATCH name: updateuser description: Update a User call: user-management-users.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Delete a User call: user-management-users.deleteuser with: reassignTo: rest.reassignTo outputParameters: - type: object mapping: $. - path: /v1/users/{userid}/groups name: users-userid-groups description: REST surface for users-userId-groups. operations: - method: GET name: getusergroups description: Get User Groups call: user-management-users.getusergroups outputParameters: - type: object mapping: $. - method: PUT name: setusergroups description: Set User Group Memberships call: user-management-users.setusergroups with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: user-management-users-mcp port: 9090 transport: http description: MCP adapter for Seismic User Management API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-users description: List Users hints: readOnly: true destructive: false idempotent: true call: user-management-users.listusers with: query: tools.query groupId: tools.groupId roleId: tools.roleId teamId: tools.teamId status: tools.status sortBy: tools.sortBy sortOrder: tools.sortOrder offset: tools.offset limit: tools.limit outputParameters: - type: object mapping: $. - name: create-user description: Create a User hints: readOnly: false destructive: false idempotent: false call: user-management-users.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: get-user description: Get a User hints: readOnly: true destructive: false idempotent: true call: user-management-users.getuser outputParameters: - type: object mapping: $. - name: update-user description: Update a User hints: readOnly: false destructive: false idempotent: true call: user-management-users.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-user description: Delete a User hints: readOnly: false destructive: true idempotent: true call: user-management-users.deleteuser with: reassignTo: tools.reassignTo outputParameters: - type: object mapping: $. - name: get-user-groups description: Get User Groups hints: readOnly: true destructive: false idempotent: true call: user-management-users.getusergroups outputParameters: - type: object mapping: $. - name: set-user-group-memberships description: Set User Group Memberships hints: readOnly: false destructive: false idempotent: true call: user-management-users.setusergroups with: body: tools.body outputParameters: - type: object mapping: $.