naftiko: 1.0.0-alpha2 info: label: Amplitude User Profile API — Profiles description: 'Amplitude User Profile API — Profiles. 1 operations. Lead operation: Amplitude Get a User Profile. Self-contained Naftiko capability covering one Amplitude business surface.' tags: - Amplitude - Profiles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMPLITUDE_API_KEY: AMPLITUDE_API_KEY capability: consumes: - type: http namespace: user-profile-profiles baseUri: https://profile-api.amplitude.com description: Amplitude User Profile API — Profiles business capability. Self-contained, no shared references. resources: - name: v1-userprofile path: /v1/userprofile operations: - name: getuserprofile method: GET description: Amplitude Get a User Profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: user_id in: query type: string description: The user_id of the user whose profile to retrieve. required: true - name: comp_id in: query type: integer description: The computed property ID or recommendation ID to retrieve specific computed results for the user. - name: get_recs in: query type: boolean description: When true, include personalized recommendations in the response. - name: rec_id in: query type: string description: The recommendation model ID to retrieve specific recommendation results. - name: rec_type in: query type: string description: The type of recommendation to retrieve. - name: limit in: query type: integer description: The maximum number of recommendation results to return. authentication: type: apikey key: Authorization value: '{{env.AMPLITUDE_API_KEY}}' placement: header exposes: - type: rest namespace: user-profile-profiles-rest port: 8080 description: REST adapter for Amplitude User Profile API — Profiles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/userprofile name: v1-userprofile description: REST surface for v1-userprofile. operations: - method: GET name: getuserprofile description: Amplitude Get a User Profile call: user-profile-profiles.getuserprofile with: user_id: rest.user_id comp_id: rest.comp_id get_recs: rest.get_recs rec_id: rest.rec_id rec_type: rest.rec_type limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: user-profile-profiles-mcp port: 9090 transport: http description: MCP adapter for Amplitude User Profile API — Profiles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amplitude-get-user-profile description: Amplitude Get a User Profile hints: readOnly: true destructive: false idempotent: true call: user-profile-profiles.getuserprofile with: user_id: tools.user_id comp_id: tools.comp_id get_recs: tools.get_recs rec_id: tools.rec_id rec_type: tools.rec_type limit: tools.limit outputParameters: - type: object mapping: $.