naftiko: 1.0.0-alpha2 info: label: Klaviyo API — Tracking Settings description: 'Klaviyo API — Tracking Settings. 3 operations. Lead operation: Get Tracking Settings. Self-contained Naftiko capability covering one Klaviyo business surface.' tags: - Klaviyo - Tracking Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KLAVIYO_API_KEY: KLAVIYO_API_KEY capability: consumes: - type: http namespace: klaviyo-tracking-settings baseUri: https://a.klaviyo.com description: Klaviyo API — Tracking Settings business capability. Self-contained, no shared references. resources: - name: api-tracking-settings path: /api/tracking-settings operations: - name: gettrackingsettings method: GET description: Get Tracking Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields[tracking-setting] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: page[cursor] in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#pagination - name: page[size] in: query type: integer description: 'Default: 1. Min: 1. Max: 1.' - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-tracking-settings-id path: /api/tracking-settings/{id} operations: - name: gettrackingsetting method: GET description: Get Tracking Setting outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The id of the tracking setting (account ID). required: true - name: fields[tracking-setting] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: updatetrackingsetting method: PATCH description: Update Tracking Setting outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The id of the tracking setting (account ID). required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.KLAVIYO_API_KEY}}' placement: header exposes: - type: rest namespace: klaviyo-tracking-settings-rest port: 8080 description: REST adapter for Klaviyo API — Tracking Settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/tracking-settings name: api-tracking-settings description: REST surface for api-tracking-settings. operations: - method: GET name: gettrackingsettings description: Get Tracking Settings call: klaviyo-tracking-settings.gettrackingsettings with: fields[tracking-setting]: rest.fields[tracking-setting] page[cursor]: rest.page[cursor] page[size]: rest.page[size] revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/tracking-settings/{id} name: api-tracking-settings-id description: REST surface for api-tracking-settings-id. operations: - method: GET name: gettrackingsetting description: Get Tracking Setting call: klaviyo-tracking-settings.gettrackingsetting with: id: rest.id fields[tracking-setting]: rest.fields[tracking-setting] revision: rest.revision outputParameters: - type: object mapping: $. - method: PATCH name: updatetrackingsetting description: Update Tracking Setting call: klaviyo-tracking-settings.updatetrackingsetting with: id: rest.id revision: rest.revision body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: klaviyo-tracking-settings-mcp port: 9090 transport: http description: MCP adapter for Klaviyo API — Tracking Settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-tracking-settings description: Get Tracking Settings hints: readOnly: true destructive: false idempotent: true call: klaviyo-tracking-settings.gettrackingsettings with: fields[tracking-setting]: tools.fields[tracking-setting] page[cursor]: tools.page[cursor] page[size]: tools.page[size] revision: tools.revision outputParameters: - type: object mapping: $. - name: get-tracking-setting description: Get Tracking Setting hints: readOnly: true destructive: false idempotent: true call: klaviyo-tracking-settings.gettrackingsetting with: id: tools.id fields[tracking-setting]: tools.fields[tracking-setting] revision: tools.revision outputParameters: - type: object mapping: $. - name: update-tracking-setting description: Update Tracking Setting hints: readOnly: false destructive: false idempotent: true call: klaviyo-tracking-settings.updatetrackingsetting with: id: tools.id revision: tools.revision body: tools.body outputParameters: - type: object mapping: $.