naftiko: 1.0.0-alpha2 info: label: Gainsight CS CTA API — CTA Configuration description: 'Gainsight CS CTA API — CTA Configuration. 4 operations. Lead operation: Gainsight Get CTA priorities. Self-contained Naftiko capability covering one Gainsight business surface.' tags: - Gainsight - CTA Configuration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GAINSIGHT_API_KEY: GAINSIGHT_API_KEY capability: consumes: - type: http namespace: cs-cta-cta-configuration baseUri: https://{domain}.gainsightcloud.com/v1 description: Gainsight CS CTA API — CTA Configuration business capability. Self-contained, no shared references. resources: - name: ctas-config-priorities path: /ctas/config/priorities operations: - name: getctapriorities method: GET description: Gainsight Get CTA priorities outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ctas-config-reasons path: /ctas/config/reasons operations: - name: getctareasons method: GET description: Gainsight Get CTA reasons outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: typeId in: query type: string description: Filter reasons by CTA type ID - name: ctas-config-statuses path: /ctas/config/statuses operations: - name: getctastatuses method: GET description: Gainsight Get CTA statuses outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ctas-config-types path: /ctas/config/types operations: - name: getctatypes method: GET description: Gainsight Get CTA types outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: accessKey value: '{{env.GAINSIGHT_API_KEY}}' placement: header exposes: - type: rest namespace: cs-cta-cta-configuration-rest port: 8080 description: REST adapter for Gainsight CS CTA API — CTA Configuration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ctas/config/priorities name: ctas-config-priorities description: REST surface for ctas-config-priorities. operations: - method: GET name: getctapriorities description: Gainsight Get CTA priorities call: cs-cta-cta-configuration.getctapriorities outputParameters: - type: object mapping: $. - path: /v1/ctas/config/reasons name: ctas-config-reasons description: REST surface for ctas-config-reasons. operations: - method: GET name: getctareasons description: Gainsight Get CTA reasons call: cs-cta-cta-configuration.getctareasons with: typeId: rest.typeId outputParameters: - type: object mapping: $. - path: /v1/ctas/config/statuses name: ctas-config-statuses description: REST surface for ctas-config-statuses. operations: - method: GET name: getctastatuses description: Gainsight Get CTA statuses call: cs-cta-cta-configuration.getctastatuses outputParameters: - type: object mapping: $. - path: /v1/ctas/config/types name: ctas-config-types description: REST surface for ctas-config-types. operations: - method: GET name: getctatypes description: Gainsight Get CTA types call: cs-cta-cta-configuration.getctatypes outputParameters: - type: object mapping: $. - type: mcp namespace: cs-cta-cta-configuration-mcp port: 9090 transport: http description: MCP adapter for Gainsight CS CTA API — CTA Configuration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gainsight-get-cta-priorities description: Gainsight Get CTA priorities hints: readOnly: true destructive: false idempotent: true call: cs-cta-cta-configuration.getctapriorities outputParameters: - type: object mapping: $. - name: gainsight-get-cta-reasons description: Gainsight Get CTA reasons hints: readOnly: true destructive: false idempotent: true call: cs-cta-cta-configuration.getctareasons with: typeId: tools.typeId outputParameters: - type: object mapping: $. - name: gainsight-get-cta-statuses description: Gainsight Get CTA statuses hints: readOnly: true destructive: false idempotent: true call: cs-cta-cta-configuration.getctastatuses outputParameters: - type: object mapping: $. - name: gainsight-get-cta-types description: Gainsight Get CTA types hints: readOnly: true destructive: false idempotent: true call: cs-cta-cta-configuration.getctatypes outputParameters: - type: object mapping: $.