naftiko: 1.0.0-alpha2 info: label: Seismic Analytics API — Delivery Analytics description: 'Seismic Analytics API — Delivery Analytics. 1 operations. Lead operation: Get Delivery Analytics. Self-contained Naftiko capability covering one Seismic business surface.' tags: - Seismic - Delivery Analytics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SEISMIC_API_KEY: SEISMIC_API_KEY capability: consumes: - type: http namespace: analytics-delivery-analytics baseUri: https://api.seismic.com/integration/v2 description: Seismic Analytics API — Delivery Analytics business capability. Self-contained, no shared references. resources: - name: analytics-deliveries path: /analytics/deliveries operations: - name: getdeliveryanalytics method: GET description: Get Delivery Analytics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: query type: string description: Filter deliveries by sender user ID. - name: contentId in: query type: string description: Filter deliveries by content item. - name: startDate in: query type: string description: Start date for the analytics period. - name: endDate in: query type: string description: End date for the analytics period. - name: offset in: query type: integer description: Number of items to skip for pagination. - name: limit in: query type: integer description: Maximum number of items to return. authentication: type: bearer token: '{{env.SEISMIC_API_KEY}}' exposes: - type: rest namespace: analytics-delivery-analytics-rest port: 8080 description: REST adapter for Seismic Analytics API — Delivery Analytics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/analytics/deliveries name: analytics-deliveries description: REST surface for analytics-deliveries. operations: - method: GET name: getdeliveryanalytics description: Get Delivery Analytics call: analytics-delivery-analytics.getdeliveryanalytics with: userId: rest.userId contentId: rest.contentId startDate: rest.startDate endDate: rest.endDate offset: rest.offset limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: analytics-delivery-analytics-mcp port: 9090 transport: http description: MCP adapter for Seismic Analytics API — Delivery Analytics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-delivery-analytics description: Get Delivery Analytics hints: readOnly: true destructive: false idempotent: true call: analytics-delivery-analytics.getdeliveryanalytics with: userId: tools.userId contentId: tools.contentId startDate: tools.startDate endDate: tools.endDate offset: tools.offset limit: tools.limit outputParameters: - type: object mapping: $.