naftiko: 1.0.0-alpha2 info: label: WHOOP Trusted Partner API — Lab Services description: WHOOP Trusted Partner endpoints for lab requisitions, service requests, status updates, and diagnostic report creation. Uses OAuth 2.0 client-credentials with the `whoop-partner/token` scope. tags: - WHOOP - Partner - Diagnostics - Labs created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: WHOOP_PARTNER_CLIENT_ID: WHOOP_PARTNER_CLIENT_ID WHOOP_PARTNER_CLIENT_SECRET: WHOOP_PARTNER_CLIENT_SECRET WHOOP_PARTNER_TOKEN: WHOOP_PARTNER_TOKEN capability: consumes: - type: http namespace: whoop-partner baseUri: https://api.prod.whoop.com/developer description: WHOOP Trusted Partner business capability — lab requisitions and diagnostic service requests. resources: - name: v2-partner-token path: /v2/partner/token operations: - name: getpartnertoken method: POST description: Exchange partner client credentials for an access token. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: v2-partner-requisition path: /v2/partner/requisition/{id} operations: - name: getrequisition method: GET description: Get a lab requisition by ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: v2-partner-requisition-status path: /v2/partner/requisition/{id}/status operations: - name: updaterequisitionstatus method: PATCH description: Update lab-requisition service-request statuses. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object required: true - name: v2-partner-service-request path: /v2/partner/service-request/{id} operations: - name: getservicerequest method: GET description: Get a service request by ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: v2-partner-service-request-status path: /v2/partner/service-request/{id}/status operations: - name: updateservicerequeststatus method: PATCH description: Update a service request's status. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object required: true - name: v2-partner-service-request-results path: /v2/partner/service-request/{id}/results operations: - name: createservicerequestresults method: POST description: Create diagnostic-report observations / results for a service request. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object required: true authentication: type: bearer value: '{{env.WHOOP_PARTNER_TOKEN}}' placement: header exposes: - type: mcp namespace: whoop-partner-mcp port: 9090 transport: http description: MCP adapter for WHOOP Trusted Partner. tools: - name: whoop-partner-get-requisition description: Get a lab requisition by ID. hints: readOnly: true destructive: false idempotent: true call: whoop-partner.getrequisition with: id: tools.id outputParameters: - type: object mapping: $. - name: whoop-partner-get-service-request description: Get a service request by ID. hints: readOnly: true destructive: false idempotent: true call: whoop-partner.getservicerequest with: id: tools.id outputParameters: - type: object mapping: $. - name: whoop-partner-update-service-request-status description: Update a service request's status. hints: readOnly: false destructive: false idempotent: false call: whoop-partner.updateservicerequeststatus with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: whoop-partner-create-service-request-results description: Create diagnostic-report observations / results for a service request. hints: readOnly: false destructive: false idempotent: false call: whoop-partner.createservicerequestresults with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.