naftiko: 1.0.0-alpha2 info: label: Amplitude Taxonomy API — Event Categories description: 'Amplitude Taxonomy API — Event Categories. 5 operations. Lead operation: Amplitude List All Event Categories. Self-contained Naftiko capability covering one Amplitude business surface.' tags: - Amplitude - Event Categories created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMPLITUDE_API_KEY: AMPLITUDE_API_KEY capability: consumes: - type: http namespace: taxonomy-event-categories baseUri: https://amplitude.com description: Amplitude Taxonomy API — Event Categories business capability. Self-contained, no shared references. resources: - name: api-2-taxonomy-category path: /api/2/taxonomy/category operations: - name: listeventcategories method: GET description: Amplitude List All Event Categories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createeventcategory method: POST description: Amplitude Create an Event Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2-taxonomy-category-category_id path: /api/2/taxonomy/category/{category_id} operations: - name: geteventcategory method: GET description: Amplitude Get an Event Category outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateeventcategory method: PUT description: Amplitude Update an Event Category outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteeventcategory method: DELETE description: Amplitude Delete an Event Category outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.AMPLITUDE_USER}}' password: '{{env.AMPLITUDE_PASS}}' exposes: - type: rest namespace: taxonomy-event-categories-rest port: 8080 description: REST adapter for Amplitude Taxonomy API — Event Categories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2/taxonomy/category name: api-2-taxonomy-category description: REST surface for api-2-taxonomy-category. operations: - method: GET name: listeventcategories description: Amplitude List All Event Categories call: taxonomy-event-categories.listeventcategories outputParameters: - type: object mapping: $. - method: POST name: createeventcategory description: Amplitude Create an Event Category call: taxonomy-event-categories.createeventcategory with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2/taxonomy/category/{category-id} name: api-2-taxonomy-category-category-id description: REST surface for api-2-taxonomy-category-category_id. operations: - method: GET name: geteventcategory description: Amplitude Get an Event Category call: taxonomy-event-categories.geteventcategory outputParameters: - type: object mapping: $. - method: PUT name: updateeventcategory description: Amplitude Update an Event Category call: taxonomy-event-categories.updateeventcategory with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteeventcategory description: Amplitude Delete an Event Category call: taxonomy-event-categories.deleteeventcategory outputParameters: - type: object mapping: $. - type: mcp namespace: taxonomy-event-categories-mcp port: 9090 transport: http description: MCP adapter for Amplitude Taxonomy API — Event Categories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amplitude-list-all-event-categories description: Amplitude List All Event Categories hints: readOnly: true destructive: false idempotent: true call: taxonomy-event-categories.listeventcategories outputParameters: - type: object mapping: $. - name: amplitude-create-event-category description: Amplitude Create an Event Category hints: readOnly: false destructive: false idempotent: false call: taxonomy-event-categories.createeventcategory with: body: tools.body outputParameters: - type: object mapping: $. - name: amplitude-get-event-category description: Amplitude Get an Event Category hints: readOnly: true destructive: false idempotent: true call: taxonomy-event-categories.geteventcategory outputParameters: - type: object mapping: $. - name: amplitude-update-event-category description: Amplitude Update an Event Category hints: readOnly: false destructive: false idempotent: true call: taxonomy-event-categories.updateeventcategory with: body: tools.body outputParameters: - type: object mapping: $. - name: amplitude-delete-event-category description: Amplitude Delete an Event Category hints: readOnly: false destructive: true idempotent: true call: taxonomy-event-categories.deleteeventcategory outputParameters: - type: object mapping: $.