naftiko: 1.0.0-alpha2 info: label: Workday Integration Workday Talent API — Mentorships description: 'Workday Integration Workday Talent API — Mentorships. 5 operations. Lead operation: Workday Integration Create a mentorship for the current user. Self-contained Naftiko capability covering one Workday Integration business surface.' tags: - Workday Integration - Mentorships created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_INTEGRATION_API_KEY: WORKDAY_INTEGRATION_API_KEY capability: consumes: - type: http namespace: talent-mentorships baseUri: https://{baseUrl}/ccx/api/talent/v1/{tenant} description: Workday Integration Workday Talent API — Mentorships business capability. Self-contained, no shared references. resources: - name: createMentorshipForMe path: /createMentorshipForMe operations: - name: creatementorshipforme method: POST description: Workday Integration Create a mentorship for the current user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: createMentorshipForWorker path: /createMentorshipForWorker operations: - name: creatementorshipforworker method: POST description: Workday Integration Create a mentorship for a worker outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: mentorships path: /mentorships operations: - name: getmentorships method: GET description: Workday Integration Retrieve mentorships outputRawFormat: json outputParameters: - name: result type: object value: $. - name: mentorships-ID-close path: /mentorships/{ID}/close operations: - name: closementorship method: POST description: Workday Integration Close a mentorship outputRawFormat: json outputParameters: - name: result type: object value: $. - name: mentorships-ID-edit path: /mentorships/{ID}/edit operations: - name: editmentorship method: POST description: Workday Integration Edit a mentorship 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.WORKDAY_INTEGRATION_API_KEY}}' exposes: - type: rest namespace: talent-mentorships-rest port: 8080 description: REST adapter for Workday Integration Workday Talent API — Mentorships. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/creatementorshipforme name: creatementorshipforme description: REST surface for createMentorshipForMe. operations: - method: POST name: creatementorshipforme description: Workday Integration Create a mentorship for the current user call: talent-mentorships.creatementorshipforme with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/creatementorshipforworker name: creatementorshipforworker description: REST surface for createMentorshipForWorker. operations: - method: POST name: creatementorshipforworker description: Workday Integration Create a mentorship for a worker call: talent-mentorships.creatementorshipforworker with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/mentorships name: mentorships description: REST surface for mentorships. operations: - method: GET name: getmentorships description: Workday Integration Retrieve mentorships call: talent-mentorships.getmentorships outputParameters: - type: object mapping: $. - path: /v1/mentorships/{id}/close name: mentorships-id-close description: REST surface for mentorships-ID-close. operations: - method: POST name: closementorship description: Workday Integration Close a mentorship call: talent-mentorships.closementorship outputParameters: - type: object mapping: $. - path: /v1/mentorships/{id}/edit name: mentorships-id-edit description: REST surface for mentorships-ID-edit. operations: - method: POST name: editmentorship description: Workday Integration Edit a mentorship call: talent-mentorships.editmentorship with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: talent-mentorships-mcp port: 9090 transport: http description: MCP adapter for Workday Integration Workday Talent API — Mentorships. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-integration-create-mentorship-current description: Workday Integration Create a mentorship for the current user hints: readOnly: false destructive: false idempotent: false call: talent-mentorships.creatementorshipforme with: body: tools.body outputParameters: - type: object mapping: $. - name: workday-integration-create-mentorship-worker description: Workday Integration Create a mentorship for a worker hints: readOnly: false destructive: false idempotent: false call: talent-mentorships.creatementorshipforworker with: body: tools.body outputParameters: - type: object mapping: $. - name: workday-integration-retrieve-mentorships description: Workday Integration Retrieve mentorships hints: readOnly: true destructive: false idempotent: true call: talent-mentorships.getmentorships outputParameters: - type: object mapping: $. - name: workday-integration-close-mentorship description: Workday Integration Close a mentorship hints: readOnly: false destructive: false idempotent: false call: talent-mentorships.closementorship outputParameters: - type: object mapping: $. - name: workday-integration-edit-mentorship description: Workday Integration Edit a mentorship hints: readOnly: false destructive: false idempotent: false call: talent-mentorships.editmentorship with: body: tools.body outputParameters: - type: object mapping: $.