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